You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flake8 --select=E,E50 --ignore=E5,E501 (select all E??? rules, except E5?? which are ignored, except E50? which are selected, except E501 which is ignored)
It might be nice to support this or something similar.
The text was updated successfully, but these errors were encountered:
Yeah that's nice. If implemented, we should try to retain the strict-checking nature of the CLI (such that we error if you provide --ignore=G, and no codes match G???).
I'm also wondering if there are other linters (even from other ecosystems) that do something more intuitive or ergonomic than the prefix-based selection.
Flake8 supports options like
flake8 --ignore=E
(ignore allE???
rules)flake8 --select=E5
(enable allE5??
rules)flake8 --select=E,E50 --ignore=E5,E501
(select allE???
rules, exceptE5??
which are ignored, exceptE50?
which are selected, exceptE501
which is ignored)It might be nice to support this or something similar.
The text was updated successfully, but these errors were encountered: