Release Notes
Preview features
- [
airflow
] Revise fix titles (AIR3
) (#18215) - [
pylint
] Implementmissing-maxsplit-arg
(PLC0207
) (#17454) - [
pyupgrade
] New ruleUP050
(useless-class-metaclass-type
) (#18334) - [
flake8-use-pathlib
] Replaceos.symlink
withPath.symlink_to
(PTH211
) (#18337)
Bug fixes
- [
flake8-bugbear
] Ignore__debug__
attribute inB010
(#18357) - [
flake8-async
] Fixanyio.sleep
argument name (ASYNC115
,ASYNC116
) (#18262) - [
refurb
] FixFURB129
autofix generating invalid syntax (#18235)
Rule changes
- [
flake8-implicit-str-concat
] Add autofix forISC003
(#18256) - [
pycodestyle
] Improve the diagnostic message forE712
(#18328) - [
flake8-2020
] Fix diagnostic message for!=
comparisons (YTT201
) (#18293) - [
pyupgrade
] Make fix unsafe if it deletes comments (UP010
) (#18291)
Documentation
- Simplify rules table to improve readability (#18297)
- Update editor integrations link in README (#17977)
- [
flake8-bugbear
] Add fix safety section (B006
) (#17652)
Install ruff 0.11.12
Install prebuilt binaries via shell script
:::sh
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.11.12/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.11.12/ruff-installer.ps1 | iex"