-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Request: allowlist of codes for RUF100
not to autoremove
#8153
Comments
I guess a workaround is, for each |
I think we have a setting for this: https://docs.astral.sh/ruff/settings/#external. Codes marked as external won’t be removed and flagged by RUF100 (or at least, they shouldn’t be). Mind giving that a try? |
Thanks for the response! I am using
This leads me to a few requests:
Let me know what you think |
Thank you! Interested in hearing what you think of moving |
I think matching prefixes is pretty reasonable. |
Some tools like to use
flake8
as a vehicle for config files and ignores:However,
RUF100
inruff==0.1.1
is removing the# noqa
's I add for those tools.Any chance we can a new config option for
ruff
that is basically an allowlist override for RUF100?The text was updated successfully, but these errors were encountered: