

Ruff
2 likes
An extremely fast Python linter, written in Rust.
Cost / License
- Free
- Open Source (MIT)
Since
- Since 2023
Releases
- 48 releases last year48 last year
GitHub
- GitHub stars: 51.5k
Features
Highlights All activities


An extremely fast Python linter, written in Rust.
Comments and Reviews
We run ruff check in CI on our FastAPI backends, and it is fast enough that the lint step is never the slow part. One thing that bit us: Alembic's autogenerated migrations are not formatted, so about ten migrations in a row piled up long lines and unsorted imports and CI went red on the lint step before tests even ran. ruff check --fix sorted the imports, the long lines we reflowed by hand. Worth adding ruff to Alembic's post_write_hooks, or excluding the versions folder, before that happens to you.