pythonwarningssublimetext3syntax-checking

Sublime Text 3 - Disable Python Checker warning "indentation contains tabs"


I didn't find an answer to this question on the web, so I'll say it up front; this is NOT a question about SublimeLinter, and I do NOT want to format my python code according to the PEP8 standards.

How to disable the warning "Indentation contains tabs" in the Python Checker package?


Solution

  • The project uses the standard pycodestyle (formerly pep8) configuration files; just add an ignore line:

    [pycodestyle]
    ignore = W191
    

    where W191 is the error code for indentation contains tabs.