Skip to content

Bump ruff from 0.6.7 to 0.6.8

Ronan Amicel requested to merge dependabot-pip-ruff-0.6.8 into main

Bumps ruff from 0.6.7 to 0.6.8.

Release notes

Sourced from ruff's releases.

0.6.8

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

... (truncated)

Changelog

Sourced from ruff's changelog.

0.6.8

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)
Commits
  • ae39ce5 Bump version to 0.6.8 (#13522)
  • ff2d214 Don't skip over imports and other nodes containing nested statements in impor...
  • 9442cd8 Parenthesize match..case if guards (#13513)
  • 8012707 Align formatting of patterns in match-cases with expression formatting in cla...
  • d7ffe46 Disable the typeset plugin (#13517)
  • 7c83af4 red-knot: Implement the not operator for all Type variants (#13432)
  • bbb044e Detect tuples bound to variadic positional arguments i.e. *args (#13512)
  • 4810652 Avoid UP028 false negatives with non-reference shadowed bindings of loop vari...
  • 11f06e0 Detect SIM910 when using variadic keyword arguments, i.e., **kwargs (#13503)
  • f27a8b8 [internal] ComparableExpr (f)strings and bytes made invariant under concate...
  • Additional commits viewable in compare view

Merge request reports