Release Notes
Preview features
- [
flake8-use-pathlib
] Add autofix forPTH101
,PTH104
,PTH105
,PTH121
(#19404) - [
ruff
] Support byte strings (RUF055
) (#18926)
Bug fixes
- Fix
unreachable
panic in parser (#19183) - [
flake8-pyi
] Skip fix if allUnion
members areNone
(PYI016
) (#19416) - [
perflint
] Parenthesize generator expressions (PERF401
) (#19325) - [
pylint
] Handle empty comments after line continuation (PLR2044
) (#19405)
Rule changes
- [
pep8-naming
] FixN802
false positives forCGIHTTPRequestHandler
andSimpleHTTPRequestHandler
(#19432)
Contributors
- @AlexWaygood
- @BurntSushi
- @CodeMan62
- @Gankra
- @MichaReiser
- @UnboundVariable
- @chirizxc
- @danparizher
- @dcreager
- @dhruvmanila
- @dylwil3
- @github-actions
- @ibraheemdev
- @ntBre
- @oconnor663
- @renovate
- @sharkdp
- @soundsonacid
- @thejchap
Install ruff 0.12.5
Install prebuilt binaries via shell script
:::sh
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.12.5/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.5/ruff-installer.ps1 | iex"