Release Notes
Preview features
- [
airflow
] ExtendAIR311
andAIR312
rules (#20082) - [
airflow
] Replace wrong pathairflow.io.storage
withairflow.io.store
(AIR311
) (#20081) - [
flake8-async
] Implementblocking-http-call-httpx-in-async-function
(ASYNC212
) (#20091) - [
flake8-logging-format
] Add auto-fix for f-string logging calls (G004
) (#19303) - [
flake8-use-pathlib
] Add autofix forPTH211
(#20009) - [
flake8-use-pathlib
] MakePTH100
fix unsafe because it can change behavior (#20100)
Bug fixes
- [
pyflakes
,pylint
] Fix false positives caused by__class__
cell handling (F841
,PLE0117
) (#20048) - [
pyflakes
] Fixallowed-unused-imports
matching for top-level modules (F401
) (#20115) - [
ruff
] Fix false positive for t-strings indefault-factory-kwarg
(RUF026
) (#20032) - [
ruff
] Preserve relative whitespace in multi-line expressions (RUF033
) (#19647)
Rule changes
- [
ruff
] Handle empty t-strings inunnecessary-empty-iterable-within-deque-call
(RUF037
) (#20045)
Documentation
- Fix incorrect
D413
links in docstrings convention FAQ (#20089) - [
flake8-use-pathlib
] Update links to the table showing the correspondence betweenos
andpathlib
(#20103)
Contributors
- @AlexWaygood
- @Avasam
- @BurntSushi
- @Gankra
- @Glyphack
- @JelleZijlstra
- @Lee-W
- @MatthewMckee4
- @MichaReiser
- @PrettyWood
- @Renkai
- @TaKO8Ki
- @amyreese
- @carljm
- @chirizxc
- @danparizher
- @dhruvmanila
- @dylwil3
- @github-actions
- @hamirmahal
- @ibraheemdev
- @leandrobbraga
- @maxmynter
- @ntBre
- @renovate
- @sharkdp
- @vivster7
Install ruff 0.12.11
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.12.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.12.11/ruff-installer.ps1 | iex"