Last Updated: August 12, 2019
· charlesroper

Python PEP8 linting in Sublime Text 2

In Sublime Text 2 you can enjoy as-you-type PEP8 linting by using the SublimeLinter plugin:

What's more, you can control which of the PEP8 errors to ignore (not that you'd want to ignore any, of course!) Take a look in the SublimeLinter.sublime-settings file for the "pep8_ignore" declaration. Here's a snippet of the relevant section:

// Set this to false to turn pep8 checking off completely
"pep8": true,

    A list of pep8 error numbers to ignore. By default "line too long" errors are ignored.
    The list of error codes is in this file:
    Search for "Ennn:", where nnn is a 3-digit number.

2 Responses
Add your response

Note that the project moved to

over 1 year ago ·

Great, but now comes default in SublimeLinter.

over 1 year ago ·