Release Notes
Preview features
- [
airflow
] Add autofixes forAIR302
andAIR312
(#17942) - [
airflow
] Move rules fromAIR312
toAIR302
(#17940) - [
airflow
] UpdateAIR301
andAIR311
with the latest Airflow implementations (#17985) - [
flake8-simplify
] Enable fix in preview mode (SIM117
) (#18208)
Bug fixes
- Fix inconsistent formatting of match-case on
[]
and_
(#18147) - [
pylint
] FixPLW1514
not recognizing theencoding
positional argument ofcodecs.open
(#18109)
CLI
- Add full option name in formatter warning (#18217)
Documentation
- Fix rendering of admonition in docs (#18163)
- [
flake8-print
] Improve print/pprint docs forT201
andT203
(#18130) - [
flake8-simplify
] Add fix safety section (SIM110
,SIM210
) (#[18114](https://github.com/astral-sh/ruff/pull/18114),[#18100](https://github.com/18114,/issues/18100)) - [
pylint
] Fix docs example that produced different output (PLW0603
) (#18216)
Contributors
- @AlexWaygood
- @BradonZhang
- @BurntSushi
- @CodeMan62
- @InSyncWithFoo
- @LaBatata101
- @Lee-W
- @Mathemmagician
- @MatthewMckee4
- @MichaReiser
- @TomerBin
- @VascoSch92
- @adamaaronson
- @brainwane
- @brandtbucher
- @carljm
- @dcreager
- @dhruvmanila
- @dragon-dxw
- @felixscherz
- @kiran-4444
- @maxmynter
- @ntBre
- @renovate
- @sharkdp
- @thejchap
- @twentyone212121
Install ruff 0.11.11
Install prebuilt binaries via shell script
:::sh
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.11.11/ruff-installer.sh | sh
Install prebuilt binaries via powershell script
:::sh
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.11.11/ruff-installer.ps1 | iex"