Blog Logo
TAGS

Ruff: One Python Linter to Rule Them All

Ruff is a fast Python linter that provides feature parity with a dozen of linting tools, making it a popular choice for Python projects. Its speed is due to being written in Rust and its caching system. A developer shares their experience migrating to Ruff and enabling all rules. Ruff only enables E (pycodestyle) and F (Pyflakes) rules by default. It claims to be 10-100x faster than existing linters. Ruff has a pyproject.toml configuration file and theres flake8-to-ruff for migrating existing Flake8 configuration. Ruff is v0.0.261 and is actively developed, with potential for additional features in the future.