Closed henryiii closed 4 months ago
(Due to the fact you are using a makefile instead of a proper Python task runner like nox, hatch, tox, etc, you'll need to install ruff locally before running it, just like you had to do with the individual tools. It's just a single pip-installable Rust binary (no dependencies), so it is much easier to handle than the other separate tools with dependencies, Python version dependence, etc)
Thanks, I've been using ruff a while on its own, and more recently via rye. I just hadn't gotten around to modernizing this project - I do appreciate the nudge 😁
This gets rid of the
setup.cfg
file by using ruff, which can replace black, flake8, and isort (along with a lot of other things), and is faster. See https://learn.scientific-python.org/development/guides/style/#ruff.