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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

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.

@@ -1135,9 +1145,6 @@ def __init__(
def __bool__(self) -> bool:
return self.status.value > 0

def __nonzero__(self) -> bool:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't do anything anymore since Python 2 was dropped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review Needs a review
Development

Successfully merging this pull request may close these issues.

1 participant