# Ruff

> An extremely fast Python linter and code formatter, written in Rust

Source: https://talira.ai/catalog/ruff-t1e35scd
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / linting](https://talira.ai/categories/developer-tools/linting), [developer tools / formatting](https://talira.ai/categories/developer-tools/formatting), [languages / python](https://talira.ai/categories/languages/python)
- Platforms: macos, linux, windows, docker[^2]
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Backed by: [Astral](https://talira.ai/orgs/astral.md)
- Funding: Series B[^3]

Ruff is a linter and code formatter for [Python](https://talira.ai/catalog/python-tgjs08pq.md), written in [Rust](https://talira.ai/catalog/rust-mf51vs5t.md) by Astral (the makers of [uv](https://talira.ai/catalog/uv-4x6kck1t.md) and [ty](https://talira.ai/catalog/ty-aw94qs4x.md)), that runs 10 to 100 times faster than the tools it replaces. One command (`ruff check`, `ruff format`) stands in for Flake8 and dozens of its plugins, Black, isort, pydocstyle, pyupgrade and autoflake, with drop-in parity for Flake8, isort and Black, over 900 built-in rules and automatic fixes such as removing unused imports. It reads `pyproject.toml`, caches results for unchanged files, supports hierarchical configuration for monorepos, and includes a language server (`ruff server`) that powers its VS Code extension and other editor integrations.

## Links

- Website: https://docs.astral.sh/ruff/
- GitHub: https://github.com/astral-sh/ruff
- Docs: https://docs.astral.sh/ruff/

## Problems it solves

- flake8, black and isort are slow on my large Python codebase
- replace a pile of Python linting and formatting tools with one fast tool
- lint my whole Python repo in a pre-commit hook without waiting
- automatically remove unused imports and upgrade old Python syntax
- a Black-compatible Python code formatter that runs much faster
- sort Python imports without a separate isort step
- configure Python lint rules per directory in a monorepo
- show Python lint errors and quick fixes in my editor as I type

## Features

- 10-100x faster than Flake8 and Black
- over 900 built-in lint rules
- drop-in parity with Flake8, isort and Black
- automatic fixes
- built-in caching of unchanged files
- pyproject.toml configuration
- hierarchical configuration for monorepos
- built-in language server (ruff server)
- VS Code extension and other editor integrations
- standalone installers, pip, Homebrew, conda and Docker

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.83 out of 1.
Signals: maintenance 1.00, adoption 0.94, momentum 0.91, community 1.00, backing 0.55, extensibility 0.20.

- last commit today
- 1506 commits in the last 90 days
- latest release 0.17.6 4 days ago
- 51.4k GitHub stars
- 1023 contributors
- backed by Astral
- funding: Series B

## Alternatives

- [Biome](https://talira.ai/catalog/biome-0x0507a7.md): One fast toolchain that formats and lints JavaScript, TypeScript, JSON, CSS, HTML, GraphQL, YAML and Markdown.
- [ESLint](https://talira.ai/catalog/eslint-0nyjt04g.md): Find and fix problems in your JavaScript code.
- [ShellCheck](https://talira.ai/catalog/shellcheck-301sfq95.md): A shell script static analysis tool
- [actionlint](https://talira.ai/catalog/actionlint-jtcdzp1v.md): Static checker for GitHub Actions workflow files
- [typos](https://talira.ai/catalog/typos-sxkb7c99.md): Source code spell checker

## Sources

[^1]: https://github.com/astral-sh/ruff/blob/main/LICENSE (checked 24 Nov 2026)
[^2]: https://docs.astral.sh/ruff/installation/ (checked 24 Nov 2026)
[^3]: https://astral.sh/blog/openai (checked 20 Nov 2026)
