-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Remove redundant ruff ignores for generated ASF modules #13355
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
Conversation
|
Aha, this PR will – of course – need to wait until after the weekly regeneration of the ASF modules. Until then, linting will continue to fail because the existing generated modules are not compliant with these stricter rules. |
alexrashed
left a comment
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.
The changes are looking good! As soon as #13359 is merged and this PR is rebased upon the updated main, the linting / preflight step in the CI should get 💚 and we can merge this one! Thanks for the cleanup! 🧹 💯
As of #13347, the type annotations in those modules are modern and will not upset ruff.
bc85328 to
d0fcd74
Compare
|
Rebased. |
|
Merging now, since the lint step passes. |
Motivation
As of #13347, the type annotations in those modules are modern and will not upset ruff.
Changes
Remove per-file ignores for the ASF modules, since they are redundant.
Tests
Running
make format,make lintwithout those ignores present is successful.Related
Mentioned by @giograno in #13347 (comment).