Use ruff #1986
Labels
dependencies
Packaging and dependencies
good first issue
A good issue for a new contributor to work on
Milestone
Summary
I'm starting to seriously consider using ruff to replace the following style tools we currently use:
It doesn't yet handle static type analysis (mypy), but the devs would like to
Rationale
A few reasons:
Implementation
Easy to implement, only need to decide on the exact configuration details. Just curious to see how many files change and what new issues get flagged.
Alternatives
A lot of users have suggested this to me. I'm unaware of any popular alternatives.
Additional information
Only downside is that ruff is built in rust. This doesn't matter for pip/conda users, but rust is non-trivial to build from source. But kornia also requires rust now, so we can't really avoid that anyway. Seems like rust is the future of Python, and will become harder to avoid in the future.
The text was updated successfully, but these errors were encountered: