I am using Sublime Text 3 and I am trying to configure SublimeLinter-pep8 outside the global (user settings) level. I have a file with a lot of tabs, so error W191 shows up a lot. As a test, I want to ignore this error. If I add "ignore": "W191" to the SublimeLinter.sublime-settings file, the error will be ignored. If I add it somewhere above the user level to the settings stack , the error will not be ignored.
This is part of the lens of my SublimeLinter.sublime-settings file. If I add "W191" to the "ignore" section, this is the only time the error will be ignored by linter. Also, I noticed that "max-line-length": null , but I still get errors of the maximum line length, so there might be something other than what I ask in this question.
"lint_mode": "background", "linters": { "pep8": { "@disable": false, "args": [], "excludes": [], "ignore": "", "max-line-length": null, "select": "" } },
This is all the contents of my .sublimelinterrc file. I have it in the parent folder of my .py file (I also tried putting it in the same folder). He does not do anything.
{ "SublimeLinter": { "@python": 2.7, "linters": { "pep8": { "ignore": "W191" } } } }
I also tried adding this inline operator at the beginning of the .py file. He also does nothing. # [SublimeLinter pep8-ignore:+W191]
I also talked with Project settings, but I'm not sure how projects work in Sublime Text, so I'm not sure that I see the same problem, or just installed it incorrectly.
The debug mode does not show any warnings or errors about pep8, and it reliably repeats every time I modify any of these files. I would like to use .sublimelinterrc for this, if possible, so I mainly focus. What am I missing? Are there any settings that I skip? Am I putting the file in the wrong directory or something like that?