-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Ruff: Add and fix N999 #11647
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
Ruff: Add and fix N999 #11647
Conversation
DryRun Security SummaryA patch updates linting configuration by adding a new linter rule and a comment to suppress a specific naming convention warning in two files, with no security issues identified. Expand for full summarySummary: A patch modifies linting configuration in two files, adding a new linter rule and a corresponding comment to suppress a specific naming convention warning. Security Findings:
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
@kiblik this one feels a little too radical form my taste. I think we should ignore this rule for now, and revisit in the future, if applicable |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
There is likely a good chance that we do not revisit this one. Renaming For now, I think just ignoring the rule in the ruff toml would be the best approach forward here |
In that case, I will rename only integration test and set noqa for settings.dist.py |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
@kiblik I think you suggestion is sound - I missed your last message in my inbox |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved
@kiblik This one is good to go except for the merge conflicts. 👍 |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
Add rule invalid-module-name (N999) and fix following violations:
This is a bit of radical change as it is renaming a globally used and known setting file. I will be happy for any feedback.