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

Add ruff lints #735

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Add ruff lints #735

wants to merge 5 commits into from

Conversation

HU90m
Copy link

@HU90m HU90m commented Feb 25, 2025

I noticed a few problems in the code base that would have been picked up on by a linter.

I've added the ruff linter to pre-commit and addressed some of the failures with simpler fixes.

Do we think using ruff for linting is a good idea?

There are quite a few cases of unused imports,
and even some errors like undefined name.
Ruff can be used to catch these going forward.

For now, all failing lints are ignored.
These can be ratcheted down in the future.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant