Ruff v0.15.0 introduces the Ruff 2026 style guide for the formatter, featuring improved lambda formatting (parameters kept on one line, body parenthesized), simplified except blocks for Python 3.14+ (PEP 758), and preserved empty lines at function body starts. The release also stabilizes block-level lint suppressions via ruff: disable/enable comments, adds 16 new stable lint rules, and stabilizes 6 existing rule behaviors. Additional changes include improved fmt: skip handling for one-liners, two preview formatting styles (fluent method chains, hugging parentheses), and Docker image base updates.
Table of contents
The Ruff 2026 style guide #In other formatting news... #Introducing linter block suppressions #Rule stabilizations #Other behavior stabilizations #Other breaking changes #Thank you! #Sort: