Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 219
Jonathan H Avatar asked Apr 30 '14 08:04

Jonathan H


1 Answers

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.

like image 177
Martijn Pieters Avatar answered Oct 05 '22 20:10

Martijn Pieters