Reputation: 6949
Every time I save my code in Sublime Text 2, all of the lines end up highlighted as seen below. It's pretty annoying, and I would love to disable it, but I'm not sure what triggered it in the first place or what to Google. Any ideas?
Upvotes: 3
Views: 1440
Reputation: 83348
The cause is SublimeLinter plug-in and its PEP-8 filter
https://github.com/SublimeLinter/SublimeLinter
Your code does not conform PEP-8 style guide:
http://www.python.org/dev/peps/pep-0008/
Writing code that matches the PEP-8 style guide is generally a good idea as it has been well-vetted by the community as being a generally productive and efficient coding style. You may find that following it allows others to comprehend your code better. Of course, any code that parses and runs correctly might be 'good enough' for your purposes.
Upvotes: 5