Ruff v0.16.0 – Significant new updates – 413 default rules up from 59

Ruff v0.16.0 has been released, featuring a significant increase in default linting rules from 59 to 413. The update aims to catch more severe issues automatically while maintaining the tool's high performance as a Python linter and formatter.
Why it matters
This update streamlines Python development workflows by enforcing stricter code quality standards by default, reducing the need for manual configuration in many projects.
Ruff v0.16.0 is available now! Install it from PyPI , or with your package manager of choice:
uv tool install ruff@latest As a reminder: Ruff is an extremely fast Python linter and formatter, written in Rust. Ruff can be used to replace Black, Flake8 (plus dozens of plugins), isort, pydocstyle, pyupgrade, and more, all while executing tens or hundreds of times faster than any individual tool.
Ruff v0.16 has a small number of breaking changes, allowing most users to update without significant changes to code or configuration. The main exception is described below.
Ruff now enables 413 rules by default, up from 59 in previous versions.
Get smarter about the news
Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.
Create free accountAlready have an account? Sign in