Ruff
An extremely fast Python linter and code formatter, written in Rust. observed · 2026-10-08
Health v2 · maintenance only
94/100
- Activity 98
- Release rhythm 86
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 7.0
- age_days: 1533
- days_rel: 19
- days_push: 13
- n_releases_24m: 101
Adoption not part of the score
49933 stars · 2483 forks observed · 2026-10-08
What it is AI-extracted, prompt v1, taxonomy v1, 2026-09-21, confidence 0.99
Ruff is an extremely fast Python linter and code formatter written in Rust. It provides linting, automatic fixing, and formatting through a single command‑line interface.
Use cases
- lint my Python code for style and errors
- auto‑format Python files to a consistent style
- enforce PEP8 and other coding standards in a project
- detect and remove unused imports automatically
- run fast static analysis in CI pipelines
- integrate Ruff with pre‑commit hooks for continuous checks
- apply automatic code fixes across a large codebase
When to choose
- When you need a single tool that replaces Flake8, Black, isort, and similar utilities.
- When performance matters – Ruff is 10‑100× faster than many existing linters and formatters.
- When you want built‑in caching to avoid re‑analyzing unchanged files.
- When you prefer a Rust‑based implementation that can be installed via pip, uv, conda, or Docker.
When to avoid
- If you require deep type checking or static analysis beyond style enforcement (e.g., mypy).
- When you need extensive IDE features like code navigation that rely on a full language server.
- If you prefer a highly modular plugin system rather than an all‑in‑one solution.
Facets
cli-tool · maturity active
cli developer-tools developer-tools programming-languages cross-platform cli fast python-linter code-formatter rust-implemented caching auto-fix editor-integration docker
10 sources
- readme: https://github.com/astral-sh/ruff · fetched 2026-10-08 · 09d7e29687cb
- homepage: https://docs.astral.sh/ruff · fetched 2026-09-07 · 52e584d776a2
- site_page: https://docs.astral.sh/ruff/installation/ · fetched 2026-08-28 · d36470f3caee
- site_page: https://docs.astral.sh/ruff/editors/features/ · fetched 2026-08-28 · 8cb287137383
- site_page: https://docs.astral.sh/ruff/integrations/ · fetched 2026-08-28 · ffa59bbe3311
- site_page: https://docs.astral.sh/ruff/faq/ · fetched 2026-08-28 · 698789f7f264
- site_page: https://docs.astral.sh/ruff/editors/ · fetched 2026-08-28 · 3f0aa84e1d56
- site_page: https://docs.astral.sh/ruff/editors · fetched 2026-09-07 · 70ab0f0f28ef
- site_page: https://docs.astral.sh/ruff/installation · fetched 2026-09-07 · 8462639e5496
- site_page: https://docs.astral.sh/ruff/editors/features · fetched 2026-09-07 · 2790695c38a4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| astral-sh/ruff | main | 94 |
| astral-sh/ruff-pre-commit | plugin | 94 |
| astral-sh/ruff-vscode | plugin | 98 |
| astral-sh/ruff-lsp | plugin | 10 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem