Ruff v0.5.0 is released with several breaking changes and improvements. Key changes include: the output format now defaults to `full` (showing code snippets with violations), `--select=ALL` no longer includes deprecated rules, macOS now follows the XDG specification for config file discovery, and various rule remappings merging flake8-async and flake8-trio categories. The E999 syntax error rule is deprecated — syntax errors will always be reported going forward, with a new `showSyntaxErrors` server setting for editor control. The `--statistics` output now shows rule names instead of error messages. Thirty new rules have been stabilized out of preview, and several deprecated CLI commands and settings have been removed.

10m read timeFrom astral.sh
Post cover image
Table of contents
Migrating to v0.5 #Output format now defaults to full #Selecting ALL now excludes deprecated rules #XDG specification now used on macOS #Rule remappings #Changes to E999 and reporting of syntax errors #--statistics now shows rule names #Stabilized rules #Stabilized behaviors #Removed deprecated features #

Sort: