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
I wanted to ask if you'd consider adding a code for all the rules specified in Conflicting lint ruleshere.
The reason I'm asking is because I'm assuming many folks (here/here/here), myself included, use ruff to take advantage of the 700+ built-in rules. This motivates me to set ALL in my select setting and selectively disable what I don't want.
However, when adding the formatter into the mix, we have to manually ignore all the rules that conflict with the linter (14 as of now) and make sure to update this in the future in upgrades.
And this «ALL_CONFLICTING_LINTER_FORMATTER_RULES» (or a better name) would be the list of 14 conflicting rules that is maintained by the library. What do you think? 😊
The text was updated successfully, but these errors were encountered:
Thanks for this suggestion. We're currently considering the following options
Category with all conflicting rules as you're proposing
A new option to disable the warnings
Changing the semantics of all / recategorising the rules: Have fewer categories like correctness, style, suspicious, format (includes all conflicting rules) that allows easier opt-in/opt-out rather than listing plenty of rules or rule-groups.
Our preferred option for now is to re-categorise the rules because we don't recommend using all ALL rules because we believe that many rules in ALL are too opinionated in and don't necessary help catch issues / improve productivity. But we understand that many use it because Ruff lacks a better default set.
These options are not strictly exclusive. E.g. some users want to use the conflicting lint rules together with the formatter because they haven't run into any problems in practice.
I'll close this issue and you can see our progress in #8175
Hello!
Thanks again for this 😊
I wanted to ask if you'd consider adding a code for all the rules specified in
Conflicting lint rules
here.The reason I'm asking is because I'm assuming many folks (here/here/here), myself included, use ruff to take advantage of the 700+ built-in rules. This motivates me to set
ALL
in myselect
setting and selectively disable what I don't want.However, when adding the formatter into the mix, we have to manually ignore all the rules that conflict with the linter (14 as of now) and make sure to update this in the future in upgrades.
Now, my config looks like this:
I think it'd be much better and concise if I could just do this:
And this «ALL_CONFLICTING_LINTER_FORMATTER_RULES» (or a better name) would be the list of 14 conflicting rules that is maintained by the library. What do you think? 😊
The text was updated successfully, but these errors were encountered: