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

Jonathan H picture Jonathan H · Apr 30, 2014 · Viewed 19.9k times · Source

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?

Answer

Martijn Pieters picture Martijn Pieters · Apr 30, 2014

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.