Closed craigds closed 6 years ago
These settings have been removed (last week/two weeks ago?). You have to use args now.
Should that be in some documentation somewhere? I was unable to find anything about it.
Also presumably the sample config needs to be updated.
Happy to take a PR for the README
ah, thanks! this had me confused, too...
The following now works for me:
{
"folders": [...],
"SublimeLinter": {
"linters": {
"flake8": {
"args": [
"--max-line-length=120",
"--exclude=.git,__pycache__,.direnv,node_modules",
]
}
}
},
}
Linter settings: http://sublimelinter.readthedocs.org/en/latest/linter_settings.html
Note that SublimeLinter has also an excludes
setting which would be more efficient here to use. (Bc then we don't run the linter at all for such files.)
The
max-line-length
for flake8 seems to no longer work.Here are my settings:
These were copied and populated from the commented-out sample config in the Default settings file when I upgraded to 4.0.0. So either the plugin is broken, or the config has changed and the sample config is wrong.
I'm fairly sure this was working before 4.0.0, with these settings: