Ruff v0.16.0 – Significant new updates – 413 default rules up from 59
6 hours ago
- Ruff v0.16.0 is released, installable via PyPI or package managers like `uv tool install ruff@latest`.
- The default rule set has expanded from 59 to 413 rules, incorporating many from flake8-bugbear and pyupgrade, catching more severe issues.
- New feature: Ruff can now format Python code blocks embedded in Markdown files, supporting various info strings.
- New suppression comments `ruff: ignore` and `ruff: file-ignore` provide finer control over linting, with `--add-ignore` flag for automation.
- Linter and formatter now display fixes (diff) in default output, and `format --check` supports multiple output formats.
- Multiple rules have been stabilized (e.g., AIR303, CPY001, FURB164) and several behavior stabilizations from preview are now default.
- Ruff is an extremely fast Python linter and formatter written in Rust, capable of replacing Black, Flake8, isort, and more.