-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warnings about incompatible rules with --select ALL
#8470
Comments
--select ALL
--select ALL
--select ALL
--select ALL
If you don't want the warnings, I'd recommend explicitly ignoring two of those rules (whichever you do not want). In general, we do not recommend usage of |
Yeah, these are intended, because the rules are legitimately in conflict. Ideally, we will resolve this when do recategorize the rules in the future. At present, the only other option I see is to straight-up omit those two specific rules ( |
(We could also consider removing those rules.) |
It makes sense. However, newcomers who start with
|
They might be tempted to use option |
It could make sense to remove |
@MichaReiser I think that may make sense after recategorization |
What's your motivation for waiting until after recatogorization? I'm only proposing to remove it from the help text to promote it less. It may also be the case that we won't have a way to run all rules after recategorization (without listing all categories) |
@MichaReiser I see the presence of sensible categories as essential to replace |
I don't think we should remove it from help, etc., until we have a reasonable alternative. |
I do think we could consider removing these rules from |
I don't have a strong preference on removal from I'd rather close in favor of #1774 |
It's weird, but so is the behavior here, and I do dislike that it's so common to run into these warnings when the rules themselves are so uncommon. |
We have over a million lines of code and currently use I think many of the formatters and linters (maybe to a lesser extent) are going to be somewhat opinionated. I'm ok with that provided there is a reasonable amount of flexibility to alter the behavior to suit my projects. Maybe in addition to |
You would have to enable all categories that aren't enabled by default, which should only be a few (<10). The categories we're thinking about are similar to clippy's but with a few additional ones (e.g. |
I'd rather not see warnings about incompatible rules with
--select ALL
. Do the folowing warnings about incompatible rules appear by default on purpose with--select ALL
?"""Documentation."""
The text was updated successfully, but these errors were encountered: