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
Incorrect ignore logic #4916
Comments
If we change it to
(Your final cell included |
I want to ignore the T rules though, not the T20 rules as well. |
I've double checked, with |
If you want to ignore the TODO rules, I'd recommend As an aside, I'll likely reindex |
Ruff version
ruff 0.0.271
.pyproject.toml:
test.py:
Command run:
ruff .
in project directory.Output seen:
This is fine. Now we add
ignore = ["T20"]
to the toml file. Output seen:This is also fine. But if we change it to
ignore = ["T"]
, we see:Instead we should be seeing:
Ruff is confusing T and T20.
The text was updated successfully, but these errors were encountered: