Suggest a tool

Ruff

Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.

What Ruff is

Ruff is a Python linter and code formatter written in Rust. It is designed to replace Flake8 and its plugins, Black, isort, pydocstyle, pyupgrade and autoflake. Its built-in rules include native reimplementations of Flake8 plugins such as flake8-bugbear. Fix support corrects errors automatically, for example by removing unused imports. Built-in caching skips unchanged files. Configuration lives in pyproject.toml, ruff.toml or .ruff.toml, with hierarchical and cascading discovery for monorepos. The ruff check and ruff format commands lint and format files. It also runs as a pre-commit hook, a GitHub Action and through editor integrations such as VS Code. Installation options include uv, pip, pipx and standalone installers.

Written from the project's README, read .

Category
Code quality and static analysis
License
MIT
Language
Rust
Changelog
Releases on GitHub

Repository metrics

Repository metrics
Stars49,7311
Forks2,4301
Open issues and PRs2,1951
Contributors9791
Commits in the last 90 days1,4471
Last commit2026-09-221
Last release0.16.8, 2026-09-161
Fetched

1 Fetched from the GitHub or GitLab API on . Hover a value for its own date.

Status

activeLast commit within 90 days of the fetch date.

Computed from the last commit date and the archive flag on the fetch date. See the status rules.

Alternatives

Listed code quality and static analysis tools, same primary language first, then by GitHub stars. Each line gives one fact from the tool's documentation where it differs from Ruff's, with its source. See also Ruff alternatives.

Comparisons

How to install

pip install ruff
From README, read .

Questions

Is Ruff open source?

Yes. Ruff is released under MIT, an OSI-approved license, as reported by the GitHub API on 2026-09-22.

Is Ruff maintained?

On 2026-09-22, the last commit to the default branch was on 2026-09-22, so the listed status is active. Rule: Last commit within 90 days of the fetch date.

How many GitHub stars does Ruff have?

49,731 stars on 2026-09-22, from the GitHub API. The number is refreshed at each monthly update.

What language is Ruff written in?

The repository's primary language, as reported by the GitHub API, is Rust.

How do I install Ruff?

The README gives this command: pip install ruff

Sources

  1. GitHub REST API: repository, read
  2. GitHub REST API: commits, read
  3. GitHub REST API: latest release, read
  4. GitHub REST API: contributors, read
  5. README, read