Release Notes
Preview features
- [
ruff
] Implementinvalid-rule-code
asRUF102
(#17138) - [syntax-errors] Detect duplicate keys in
match
mapping patterns (#17129) - [syntax-errors] Detect duplicate attributes in
match
class patterns (#17186) - [syntax-errors] Detect invalid syntax in annotations (#17101)
Bug fixes
- [syntax-errors] Fix multiple assignment error for class fields in
match
patterns (#17184) - Don't skip visiting non-tuple slice in
typing.Annotated
subscripts (#17201)
Contributors
Install ruff 0.11.4
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.11.4/ruff-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.11.4/ruff-installer.ps1 | iex"