-
-
Notifications
You must be signed in to change notification settings - Fork 155
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
chore: add more Ruff checks and fixes #893
Conversation
@@ -278,6 +280,7 @@ def install_and_run_script( | |||
silent=silent, | |||
success_codes=success_codes, | |||
external=None, | |||
log=log, |
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.
This is a bug fix caught by the linting rules, it wasn't being passed through.
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.
Any chance this could affect the behavior?
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.
If it was passed, it was ignored before, now it will work as intended. It just affects logging, so it shouldn't break anyone. And this is a very new method, it was added last release.
e73fb12
to
0677321
Compare
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.
Wow! A huge fix!
However I like the new rules you've implemented, lgtm!
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
0677321
to
e91b74d
Compare
Thanks! I've rebased and also bumped to Ruff 0.8, which gets rid of one of our ignores. |
Adding more checks. First commit is stable checks, and the second commit is some from preview (not activated, just fixed the issue if it looked useful).