- TAB size is 4, not 8 (vim:ts=4)
- TABs are not expanded to spaces (vim:noexpandtab)
- Use only TAB as leading whitespace in a line
- Don't mix TABs and Spaces
My project, my PyCharm settings. 😉 This includes a hard line wrap at column 120. Just ask me for my settings and I'll share them with you.