Release Notes
Preview features
- [
flake8-use-pathlib
] Add autofix for PTH101
, PTH104
, PTH105
, PTH121
(#19404)
- [
ruff
] Support byte strings (RUF055
) (#18926)
Bug fixes
- Fix
unreachable
panic in parser (#19183)
- [
flake8-pyi
] Skip fix if all Union
members are None
(PYI016
) (#19416)
- [
perflint
] Parenthesize generator expressions (PERF401
) (#19325)
- [
pylint
] Handle empty comments after line continuation (PLR2044
) (#19405)
Rule changes
- [
pep8-naming
] Fix N802
false positives for CGIHTTPRequestHandler
and SimpleHTTPRequestHandler
(#19432)
Contributors
Install ruff 0.12.5
Install prebuilt binaries via shell script
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
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.12.5/ruff-installer.ps1 | iex"
Download ruff 0.12.5