Replies: 2 comments 5 replies
-
I haven't tested it but https://docs.astral.sh/ruff/settings/#lint_external might work for your use case. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Or you might be able to ignore that the one rule where you want noqa comments to be allowed when checking with |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So my problem is basically that I really don't want any developer/contributor of my package make unnecessary use of the
#noqa
inline feature. However, we encountered one false positive, for which we could not find a workaround.Therefore, we would ask if it is possible to call ruff check
--ignore-noqa
but keep the#noqa
for one specific rule?Beta Was this translation helpful? Give feedback.
All reactions