Skip to content

Conversation

HU90m
Copy link
Contributor

@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.
@olofk
Copy link
Owner

olofk commented Mar 3, 2025

I don't have any opinions on what linter to use, but it looks like it picked up some nice clean-ups at least, so I'm happy to give it a go. Want to pull some other things in first though to avoid merge conflicts.

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.

2 participants