Skip to content

Conversation

@2e0byo
Copy link
Contributor

@2e0byo 2e0byo commented Dec 28, 2025

This PR sets up to lint with ruff.

I'm hestitant to move tooling again (it's the old joke about python), but I've been using ruff and uv for several years now at work and I really do think they're both a net improvement and here to stay.

This PR just replaces black / isort with ruff, and cleans up all the fluff ruff found (dead code mostly, but also the odd pointless f-string and the like).

If you've not used it, ruff is very fast (milliseconds: really), and very easy to install, so I really think we should use it (possibly turning on more lints if needed going forward).

I've added a ci flow to test lints.

@2e0byo
Copy link
Contributor Author

2e0byo commented Dec 28, 2025

(test failure is just codecov rate limiting)

@tehkillerbee tehkillerbee self-requested a review December 31, 2025 13:55
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