2026-02-03 · Astral

Ruff v0.15.0

tooling

read at source ↗ astral.sh

Ruff v0.15.0

Source: Astral Date: 2026-02-03 URL: https://astral.sh/blog/ruff-v0.15.0

Summary

Ruff v0.15.0 ships 16 new stable lint rules and block-level suppression via ruff: disable / ruff: enable comments — replacing the need for per-line # noqa noise in multi-line suppression scenarios. The 2026 style guide update covers lambda formatting, PEP 758 parenthesized exception cleanup (Python 3.14+), and preserved empty lines at function starts. Two preview styles — fluent method chains and hugging parentheses — open for community feedback.

Implications

Block suppression closes the last flake8 UX gap for large codebases. Teams managing gradual migration from legacy code often need to suppress entire file sections; # noqa per-line was the friction point that kept flake8 in the mix. ruff: disable blocks are a direct flake8 compat feature. Python 3.14 PEP 758 support landing in the same release shows Ruff is tracking the language spec as fast as CPython ships it — the same pattern seen at 3.12. Preview styles (fluent chains, hugging parens) are format-opinion territory that Black hasn’t entered; if they stabilize, Ruff will have a meaningfully different (and arguably more readable) default style rather than a Black clone.

← all signals