Reputation: 1
I set specific errors ("D", "E123", "E126") to ignore in default Flake8Lint.sublime-settings:
{
"python_interpreter": "auto",
"builtins": [],
"pyflakes": true,
"pep8": true,
"pydocstyle": true,
"naming": true,
"import-order": true,
"import-order-style": "google",
"complexity": -1,
"pep8_max_line_length": 79,
"select": [],
"ignore": ["D", "E123", "E126"],
"ignore_files": []
}
But those errors are still detected and displayed. Does anyone know how to fix it? Thank you!
Upvotes: 0
Views: 1067
Reputation: 2452
I have two suggestions:
If you don't want to install Sublime Linter, you can see if any of these changes work:
"ignore": "D,E123,E126",
or replace the "ignore" key with:
"args": "--ignore D,E123,E126",
I know flake8 changed the way rules are ignored earlier this year (there is an issue about it here) and I'm guessing the package you are using hasn't been updated to facilitate this change.
Upvotes: 1