Release Notes
Preview features
- Show fixes by default (#19919)
- [
airflow
] ConvertDatasetOrTimeSchedule(datasets=...)
toAssetOrTimeSchedule(assets=...)
(AIR311
) (#20202) - [
airflow
] Improve theAIR002
error message (#20173) - [
airflow
] Moveairflow.operators.postgres_operator.Mapping
fromAIR302
toAIR301
(#20172) - [
flake8-async
] Implementblocking-input
rule (ASYNC250
) (#20122) - [
flake8-use-pathlib
] MakePTH119
andPTH120
fixes unsafe because they can change behavior (#20118) - [
pylint
] Add U+061C toPLE2502
(#20106) - [
ruff
] Fix false negative for empty f-strings indeque
calls (RUF037
) (#20109)
Bug fixes
- Less confidently mark f-strings as empty when inferring truthiness (#20152)
- [
fastapi
] Fix false positive for paths with spaces around parameters (FAST003
) (#20077) - [
flake8-comprehensions
] SkipC417
when lambda containsyield
/yield from
(#20201) - [
perflint
] Handle tuples in dictionary comprehensions (PERF403
) (#19934)
Rule changes
- [
pycodestyle
] Preserve return type annotation forParamSpec
(E731
) (#20108)
Documentation
Contributors
- @11happy
- @AlexWaygood
- @BurntSushi
- @Gankra
- @JelleZijlstra
- @Kalmaegi
- @Lee-W
- @MatthewMckee4
- @PrettyWood
- @Renkai
- @ShaharNaveh
- @amyreese
- @carljm
- @charliermarsh
- @chirizxc
- @danparizher
- @dcreager
- @dhruvmanila
- @dylwil3
- @github-actions
- @kotx
- @liortct
- @ntBre
- @renovate
- @s-rigaud
- @sharkdp
Install ruff 0.12.12
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.12.12/ruff-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.12.12/ruff-installer.ps1 | iex"