Skip to content
Agents tracked: 502 Releases (7d): 613 Agent status: 4 with issuesSince last limit reset: Claude 7d · Codex 5d For AI agents: Markdown Updated Nov 18, 2026

Black vs Ruff

In 1,621 Python projects set up for AI coding agents, Black is a dependency in 78 (4.8%) and Ruff in 54 (3.3%): Black is 1.4× as common. 19 projects list both, often a sign of a migration or of a monorepo with several apps.

Linting and formatting PyPI Updated Nov 17, 2026

Black4.8%
Ruff3.3%

Share of 1,621 Python projects set up for AI coding agents that list each one as a dependency.

Side by side

BlackRuff
Agent projects that use it7854
Rank in linting and formatting#10#16
In new repos with a linting and formatting tool (last 90 days)——
In older repos with one46.6%30.1%
Downloads, last 7 days25.3M103M
GitHub stars42.2K51.3K
Last push to its repoNov 16, 2026Nov 17, 2026
LicenseMITMIT
Funding——
Projects that list both19

Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from PyPI.

By coding agent

Projects set up forPython reposBlackRuff
Claude Code7824.6%4.3%
GitHub Copilot8055.0%3.9%
Cursor5484.2%4.0%
Gemini CLI830%7.2%
Devin Desktop6011.7%8.3%

Share of the Python repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.

Black

Uncompromising Python code formatter enforcing consistent style automatically.

Most often used with it:

pytest89.7% of its projects
python-dotenv66.7% of its projects
Requests56.4% of its projects
Uvicorn55.1% of its projects
flake855.1% of its projects

pip install black

Ruff

Extremely fast Python linter and code formatter written in Rust for modern projects.

Most often used with it:

pytest81.5% of its projects
Pydantic70.4% of its projects
Uvicorn59.3% of its projects
python-dotenv53.7% of its projects
FastAPI51.9% of its projects

pip install ruff

More matchups

ESLint vs BiomePrettier vs BiomeESLint vs oxlint

How we count

Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.