Ruff
Extremely fast Python linter and code formatter written in Rust for modern projects.
3. Used by agents' projects
Dependency in 54 public GitHub projects set up for AI coding agents that we scanned (0.9%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What Ruff does
Extremely fast Python linter and code formatter written in Rust for modern projects.
Ruff popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How Ruff is used
- Ruff is a dependency in 54 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (3.3% of the 1,623 Python ones), #16 of 83 in linting and formatting.
- Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 338; those are left out of every share on this page.
- The most used alternative in our scan is Black (78 projects).
- Projects that use it most often also use pytest (81.5%), Pydantic (70.4%), Uvicorn (59.3%).
By coding agent
Often used with
More about Ruff
Head to head
- Black vs Ruff used together in 19 projects
Alternatives
Ruff This page
Uncompromising Python code formatter enforcing consistent style automatically.
Modular Python linter combining PEP 8 style checking, PyFlakes and complexity analysis.
Python static code analyzer for detecting errors and style issues.
Python style guide checker that enforces PEP 8 code style conventions.
Static code analyzer that checks Python for errors without executing.
Removes unused imports and variables from Python code.
Get started
Install it.
pip install ruffNo step-by-step start for Ruff yet: we have not written its hand-checked card.