This has been stumping me for a while and I can't figure out what parameters needs to be changed or if it is a bug (sure does look like one).
As you can see in the screenshot below, I've set the codestyle to use tab character but in some scenario PyCharm is indenting with a mix of tabs and space which of course cause python to complain.
It's driving me insane, I'm spending more time fixing indentation error than actually writing any code so any help will be greatly appreciated.
link to picture: http://i.imgur.com/bXdpe.png
PS: I like tab, don't tell me about switching to space. I'd switch my development environment before I do that. :-)