Release Notes
Preview features
- [
ruff
] Add new ruleRUF059
: Unused unpacked assignment (#16449) - [
syntax-errors
] Detect assignment expressions before Python 3.8 (#16383) - [
syntax-errors
] Named expressions in decorators before Python 3.9 (#16386) - [
syntax-errors
] Parenthesized keyword argument names after Python 3.8 (#16482) - [
syntax-errors
] Positional-only parameters before Python 3.8 (#16481) - [
syntax-errors
] Tuple unpacking inreturn
andyield
before Python 3.8 (#16485) - [
syntax-errors
] Type parameter defaults before Python 3.13 (#16447) - [
syntax-errors
] Type parameter lists before Python 3.12 (#16479) - [
syntax-errors
]except*
before Python 3.11 (#16446) - [
syntax-errors
]type
statements before Python 3.12 (#16478)
Bug fixes
- Escape template filenames in glob patterns in configuration (#16407)
- [
flake8-simplify
] Exempt unittest context methods forSIM115
rule (#16439) - Formatter: Fix syntax error location in notebooks (#16499)
- [
pyupgrade
] Do not offer fix when at least one target isglobal
/nonlocal
(UP028
) (#16451) - [
flake8-builtins
] Ignore variables matching module attribute names (A001
) (#16454) - [
pylint
] Convertcode
keyword argument to a positional argument in fix for (PLR1722
) (#16424)
CLI
- Move rule code from
description
tocheck_name
in GitLab output serializer (#16437)
Documentation
- [
pydocstyle
] Clarify thatD417
only checks docstrings with an arguments section (#16494)
Contributors
- @AlexWaygood
- @BurntSushi
- @Glyphack
- @InSyncWithFoo
- @JelleZijlstra
- @MichaReiser
- @VascoSch92
- @adamchainz
- @carljm
- @charliermarsh
- @dcreager
- @dhruvmanila
- @ericmarkmartin
- @github-actions
- @mishamsk
- @mtshiba
- @ntBre
- @renovate
- @sharkdp
Install ruff 0.9.10
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.9.10/ruff-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy ByPass -c "irm https://github.com/astral-sh/ruff/releases/download/0.9.10/ruff-installer.ps1 | iex"