-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
RUF025 is remapped to C420 but now it's also a new rule #15255
Comments
Argh, thanks. This is such a foot gun, especially with the many holes in the Ruff code section. I assumed that the redirects are at least visible in the |
I think it was possible to use the rule using the Thank you @InSyncWithFoo for volunteering to fix this issue so quickly! I also want to make clear that this was entirely my fault and by no means yours, just because we skipped a few rule codes. |
• #12533 remapped the rule
RUF025
asC420
.• #15104 added a different new rule under the code
RUF025
.The immediate issue is that even though RUF025 has just appeared in documentation, if you enable it, the rule doesn't actually work, and you just get the following warning:
So I suppose (luckily?) the new rule was not actually added yet because it's impossible to use it, it only appears in docs and in the codebase.
Rule codes that were remapped from are supposed to remain reserved forever, right?
The text was updated successfully, but these errors were encountered: