Skip to content
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

Merged
merged 4 commits into from
Nov 22, 2024

Conversation

henryiii
Copy link
Collaborator

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).

  • chore: add more Ruff checks and fix issues
  • chore: add some preview check fixes

@@ -278,6 +280,7 @@ def install_and_run_script(
silent=silent,
success_codes=success_codes,
external=None,
log=log,
Copy link
Collaborator Author

@henryiii henryiii Nov 12, 2024

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.

Copy link
Collaborator

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?

Copy link
Collaborator Author

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.

Copy link
Collaborator

@DiddiLeija DiddiLeija left a 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!

@henryiii
Copy link
Collaborator Author

Thanks! I've rebased and also bumped to Ruff 0.8, which gets rid of one of our ignores.

@henryiii henryiii removed the awaiting review Needs a review label Nov 22, 2024
@henryiii henryiii merged commit a844fbf into wntrblm:main Nov 22, 2024
31 checks passed
@henryiii henryiii deleted the henryiii/chore/ruff branch November 22, 2024 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants