An extremely fast Python linter and code formatter written in Rust, designed as a drop-in replacement for Flake8, isort, and Black.
At a Glance
Pricing
Ruff is completely free and open source under the MIT license.
Engagement
Available On
Alternatives
Developer
Listed Mar 2026
About Ruff
Ruff is an extremely fast Python linter and code formatter written in Rust, capable of replacing Flake8, isort, Black, and dozens of other tools in a single package. It runs 10–100x faster than existing Python linters and formatters, making it practical for large codebases and CI pipelines. Ruff supports over 800 lint rules, many ported directly from popular tools, and can auto-fix violations automatically. It is open source under the MIT license and maintained by Astral.
- Blazing-fast performance — Written in Rust, Ruff processes millions of lines of code per second, far outpacing Python-based tools.
- Unified linting and formatting — Replaces Flake8, isort, Black, pyupgrade, and many more with a single tool and configuration file.
- 800+ lint rules — Includes rules ported from Flake8, pylint, pyupgrade, flake8-bugbear, isort, and other popular plugins.
- Auto-fix support — Many violations can be automatically fixed with
ruff check --fix, reducing manual remediation effort. - Drop-in compatibility — Designed to be a drop-in replacement for existing tools with minimal configuration changes.
- Editor integrations — Available as a VS Code extension and integrates with popular editors via LSP support.
- pyproject.toml support — Configure Ruff directly in
pyproject.toml,ruff.toml, or.ruff.tomlalongside your existing project config. - Per-file ignores and noqa — Supports granular rule suppression with
# noqacomments and per-file ignore patterns. - Active development — Maintained by Astral with frequent releases and a growing rule set.
To get started, install Ruff via pip install ruff or your preferred package manager, then run ruff check . to lint your project or ruff format . to format it. Configuration is optional and can be added to pyproject.toml or a dedicated ruff.toml file.
Community Discussions
Be the first to start a conversation about Ruff
Share your experience with Ruff, ask questions, or help others learn from your insights.
Pricing
Open Source
Ruff is completely free and open source under the MIT license.
- Python linting with 800+ rules
- Python code formatting
- Auto-fix support
- VS Code extension
- LSP support
Capabilities
Key Features
- Python linting
- Python code formatting
- 800+ lint rules
- Auto-fix support
- Drop-in replacement for Flake8, Black, isort
- pyproject.toml configuration
- Per-file ignores
- noqa comment support
- LSP support
- VS Code extension
- Rust-powered performance
