Release Notes
Preview features
- Show fixes by default (#19919)
- [
airflow
] Convert DatasetOrTimeSchedule(datasets=...)
to AssetOrTimeSchedule(assets=...)
(AIR311
) (#20202)
- [
airflow
] Improve the AIR002
error message (#20173)
- [
airflow
] Move airflow.operators.postgres_operator.Mapping
from AIR302
to AIR301
(#20172)
- [
flake8-async
] Implement blocking-input
rule (ASYNC250
) (#20122)
- [
flake8-use-pathlib
] Make PTH119
and PTH120
fixes unsafe because they can change behavior (#20118)
- [
pylint
] Add U+061C to PLE2502
(#20106)
- [
ruff
] Fix false negative for empty f-strings in deque
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
] Skip C417
when lambda contains yield
/yield from
(#20201)
- [
perflint
] Handle tuples in dictionary comprehensions (PERF403
) (#19934)
Rule changes
- [
pycodestyle
] Preserve return type annotation for ParamSpec
(E731
) (#20108)
Documentation
Contributors
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"
Download ruff 0.12.12