I installed SublimeLinter - it's pretty cool! It uses pyflakes and pep8 to verify your Python source formatting:

However, the blank line requirements according to PEP 8 are different from those of the Twisted Coding Standard. So I monkey-patched pep8 (you can just dump the monkey-patching script into the Sublime Text Packages/User directory).
So 3 blank lines between class definitions, and 2 between class method definitions:


0 comments:
Post a Comment