Release Notes
Preview features
- [
flake8-bugbear
] Support non-context-manager calls inB017
(#19063) - [
flake8-use-pathlib
] Add autofixes forPTH100
,PTH106
,PTH107
,PTH108
,PTH110
,PTH111
,PTH112
,PTH113
,PTH114
,PTH115
,PTH117
,PTH119
,PTH120
(#19213) - [
flake8-use-pathlib
] Add autofixes forPTH203
,PTH204
,PTH205
(#18922)
Bug fixes
- [
flake8-return
] Fix false-positive for variables used inside nested functions inRET504
(#18433) - Treat form feed as valid whitespace before a line continuation (#19220)
- [
flake8-type-checking
] Fix syntax error introduced by fix (TC008
) (#19150) - [
pyupgrade
] Keyword arguments insuper
should suppress theUP008
fix (#19131)
Documentation
- [
flake8-pyi
] Make example error out-of-the-box (PYI007
,PYI008
) (#19103) - [
flake8-simplify
] Make example error out-of-the-box (SIM116
) (#19111) - [
flake8-type-checking
] Make example error out-of-the-box (TC001
) (#19151) - [
flake8-use-pathlib
] Make example error out-of-the-box (PTH210
) (#19189) - [
pycodestyle
] Make example error out-of-the-box (E272
) (#19191) - [
pycodestyle
] Make example not raise unnecessarySyntaxError
(E114
) (#19190) - [
pydoclint
] Make example error out-of-the-box (DOC501
) (#19218) - [
pylint
,pyupgrade
] Fix syntax errors in examples (PLW1501
,UP028
) (#19127) - [
pylint
] Updatemissing-maxsplit-arg
docs and error to suggest proper usage (PLC0207
) (#18949) - [
flake8-bandit
] Make example error out-of-the-box (S412
) (#19241)
Contributors
- @AlexWaygood
- @BurntSushi
- @Gankra
- @InSyncWithFoo
- @LaBatata101
- @MatthewMckee4
- @MeGaGiGaGon
- @MichaReiser
- @NamelessGO
- @UnboundVariable
- @abhijeetbodas2001
- @carljm
- @charliermarsh
- @chirizxc
- @danparizher
- @dhruvmanila
- @fdosani
- @github-actions
- @ibraheemdev
- @iyakushev
- @junhsonjb
- @ntBre
- @renovate
- @sharkdp
- @soundsonacid
- @thejchap
- @zanieb
Install ruff 0.12.3
Install prebuilt binaries via shell script
:::sh
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.12.3/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.12.3/ruff-installer.ps1 | iex"