-
Notifications
You must be signed in to change notification settings - Fork 71
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
Use ruff to auto-format code and sort imports. #566
Conversation
e6ec82e
to
82f6897
Compare
877de8f
to
d54b585
Compare
Ready for review, except for the failing 3.8 |
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.
Nice
In addition to the comment about formatting generated protos, I also wonder if ruff can help us detect unused imports (haven't researched). I know imports have side-effects but surely there's some comment we can put around the false positives. |
Use
ruff
to auto-format code and sort imports. This PR does not switch to using ruff as a general Python linter.After merge, we could add the commit to https://git-scm.com/docs/git-blame#Documentation/git-blame.txt-blameignoreRevsFile