-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Switch linting to ruff, use f-strings, fix lint errors and possible bugs #3126
Conversation
7f6a4d5
to
15bd6e0
Compare
68a2d51
to
6fb7e6f
Compare
Signed-off-by: Aarni Koskela <[email protected]>
Signed-off-by: Aarni Koskela <[email protected]>
Signed-off-by: Aarni Koskela <[email protected]>
Signed-off-by: Aarni Koskela <[email protected]>
Signed-off-by: Aarni Koskela <[email protected]>
Signed-off-by: Aarni Koskela <[email protected]>
Signed-off-by: Aarni Koskela <[email protected]>
Signed-off-by: Aarni Koskela <[email protected]>
Signed-off-by: Aarni Koskela <[email protected]>
Signed-off-by: Aarni Koskela <[email protected]>
Signed-off-by: Aarni Koskela <[email protected]>
Signed-off-by: Aarni Koskela <[email protected]>
Signed-off-by: Aarni Koskela <[email protected]>
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.
Thanks! I appreciate how methodical you were here.
Manually merging docker#3126.
FYI the integration test failure was because the test was broken [before this PR] - it was missing (Also apologies for noise to anyone watching this repo, it appears my Git pushes might have caused a bunch of notification emails 😬) |
This PR is a bit on the big side, but it should be pretty straightforward to review commit by commit. A net line reduction
too!
It:
.format
and%
string formatting with the more succinct and performant f-strings wherever possible (this was half powered byflynt
, half manual work)flake8
linter with the much faster, more capable ruff linterruff
. See each commit's message for details.