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,#18100) - [
pylint
] Fix docs example that produced different output (PLW0603
) (#18216)
Install ruff 0.11.11
Install prebuilt binaries via shell script
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
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.11.11/ruff-installer.ps1 | iex"