Ruff
An extremely fast Python linter, written in Rust.
License model
- Free • Open Source
Platforms
- Mac
- Windows
- Linux
- BSD
- Python
Features
- Static Code Analysis
- Python-based
No comments or reviews, maybe you want to be first?
Post comment/reviewRuff information
AlternativeTo Category
DevelopmentGitHub repository
- 31,715 Stars
- 1,068 Forks
- 1140 Open Issues
- Updated Oct 11, 2024
What is Ruff?
An extremely fast Python linter, written in Rust.
- 10-100x faster than existing linters
- Installable via pip
- pyproject.toml support
- Python 3.11 compatibility
- Built-in caching, to avoid re-analyzing unchanged files
- Autofix support, for automatic error correction (e.g., automatically remove unused imports)
- Over 500 built-in rules
- Near-parity with the built-in Flake8 rule set
- Native re-implementations of dozens of Flake8 plugins, like flake8-bugbear
- First-party editor integrations for VS Code and more
- Monorepo-friendly, with hierarchical and cascading configuration
Ruff aims to be orders of magnitude faster than alternative tools while integrating more functionality behind a single, common interface.
Ruff can be used to replace Flake8 (plus dozens of plugins), isort, pydocstyle, yesqa, eradicate, pyupgrade, and autoflake, all while executing tens or hundreds of times faster than any individual tool.