use python lint in Sublime Text

1. install SublimeLinter

2. install SublimeLinter-PEP8

3. install pep8 on your system:

pip install pep8


4. configure SublimeLinter, add “pep8” path of your system

        "python_paths": {
            "linux": [],
            "osx": [],
            "windows": [

5. configure other lint option, such as ignore E501

        "linters": {
            "pep8": {
                "@disable": false,
                "args": [],
                "excludes": [],
                "ignore": "E501",
                "max-line-length": null,
                "select": ""


Print Friendly

Leave a Comment

NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>