Ruff v0.6.0 is released with several notable changes. Jupyter notebooks are now linted and formatted by default without extra configuration. The isort rules now search inside src/ directories by default for first-party package detection. Default behavior for flake8-pytest-style rules PT001 and PT023 has changed to remove parentheses rather than add them, aligning with official pytest style recommendations. Nine pylint-derived rules are stabilized out of preview mode, along with several PYI and RUF rules. ASYNC rules (ASYNC100, ASYNC109, ASYNC110, ASYNC115, ASYNC116) now cover asyncio and anyio in addition to trio. Autofixes for four flake8-return rules are also promoted to stable.

5m read timeFrom astral.sh
Post cover image
Table of contents
Migrating to v0.6 #Jupyter notebooks are now linted and formatted by default #Default behavior changed for flake8-pytest-style rules #Rule stabilizations #Other behavior stabilizations #

Sort: