Release Notes
Preview features
- [
ruff] Implement invalid-rule-code as RUF102 (#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"
Download ruff 0.11.4