Closed bmerry closed 1 year ago
ruff has near-parity with flake8 and uses pyproject.toml, IIRC.
Hmm, tempting actually. Not that I particularly need flake8 to be fast - it's mypy that takes the time in pre-commit.
The other advantage is that ruff implements the functionality of isort and pydocstyle (according to this ). In time it may end up able to replace black as well.
Probably no action required for the time being but it's something to keep in mind for later on if you're bored. I've used it a little bit but I can't say I've done an extensive comparison with what we currently use.
This keeps all the static checkers (isort, black, mypy) together, except for flake8 which refuses to use pyproject.