Release Notes
Preview features
- Remove unnecessary parentheses around
match case
clauses (#13510)
- Parenthesize overlong
if
guards in match..case
clauses (#13513)
- Detect basic wildcard imports in
ruff analyze graph
(#13486)
- [
pylint
] Implement boolean-chained-comparison
(R1716
) (#13435)
Rule changes
- [
lake8-simplify
] Detect SIM910
when using variadic keyword arguments, i.e., **kwargs
(#13503)
- [
pyupgrade
] Avoid false negatives with non-reference shadowed bindings of loop variables (UP028
) (#13504)
Bug fixes
- Detect tuples bound to variadic positional arguments i.e.
*args
(#13512)
- Exit gracefully on broken pipe errors (#13485)
- Avoid panic when analyze graph hits broken pipe (#13484)
Performance
- Reuse
BTreeSets
in module resolver (#13440)
- Skip traversal for non-compound statements (#13441)
Contributors
Install ruff 0.6.8
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.6.8/ruff-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy ByPass -c "irm https://github.com/astral-sh/ruff/releases/download/0.6.8/ruff-installer.ps1 | iex"
Download ruff 0.6.8