We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Command:
ruff check --isolated --select RUF100,SIM114 foo.py
foo.py:
if foo: # noqa: SIM114 do_something() elif bar: do_something()
Ruff reports:
RUF100 [*] Unused `noqa` directive (unused: `SIM114`)
If I remove noqa directive, it reports:
SIM114 Combine `if` branches using logical `or` operator
ruff version: 0.0.280
I think the problem appeared in 0.0.279, 0.0.278 doesn't have this problem.
The text was updated successfully, but these errors were encountered:
I believe this is fixed by #6031.
Sorry, something went wrong.
No branches or pull requests
Command:
foo.py:
Ruff reports:
If I remove noqa directive, it reports:
ruff version: 0.0.280
I think the problem appeared in 0.0.279, 0.0.278 doesn't have this problem.
The text was updated successfully, but these errors were encountered: