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
Hi,
If blanket noqa is used on a file level, cat test.py:
noqa
cat test.py
# ruff: noqa print("Hello Astral!")
ruff will not complain about it:
ruff check --select=PGH004 test.py All checks passed!
but probably it should, because in any case better to disable exact rules, not everything. Same for # flake8: noqa which is also supported by ruff.
# flake8: noqa
ruff --version ruff 0.4.4
The text was updated successfully, but these errors were encountered:
Seems reasonable to me? May need to be added in preview since it's an increase in the scope of the rule.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Hi,
If blanket
noqa
is used on a file level,cat test.py
:ruff will not complain about it:
but probably it should, because in any case better to disable exact rules, not everything.
Same for
# flake8: noqa
which is also supported by ruff.The text was updated successfully, but these errors were encountered: