-
Notifications
You must be signed in to change notification settings - Fork 218
Description
Hello,
While having a closer look at the code before trying to start a MR for #998, I noticed there is no formatter in this repo. I then considered adding one (and maybe a type checker ?), I then saw you @ryneeverett rejected this MR #1114 .
I can get why you refused it, since there is no description, no comment, and it looks like it was mostly done by an AI without human review, still I think using ruff could be beneficial here, at least to format the code. black + isort is also an option, though I think ruff makes more sense in 2025.
I'm open to do it myself, but I wanted to check with you first, as a maintainer, whether you're open to such a change, and if so, how to do it to ease the review.
I'm suggesting the following changes, they can of course be done separately:
- switch to ruff as both a formatter and a linter
- use a type-checker (either mypy, pyright, or astral's ty)
- add pre-commits for these tools, as there is already a pre-commit config.