Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): bump ruff from 0.6.4 to 0.6.8 (#202)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.4 to 0.6.8. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>0.6.8</h2> <h2>Release Notes</h2> <h3>Preview features</h3> <ul> <li>Remove unnecessary parentheses around <code>match case</code> clauses (<a href="https://redirect.github.com/astral-sh/ruff/pull/13510">#13510</a>)</li> <li>Parenthesize overlong <code>if</code> guards in <code>match..case</code> clauses (<a href="https://redirect.github.com/astral-sh/ruff/pull/13513">#13513</a>)</li> <li>Detect basic wildcard imports in <code>ruff analyze graph</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13486">#13486</a>)</li> <li>[<code>pylint</code>] Implement <code>boolean-chained-comparison</code> (<code>R1716</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13435">#13435</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>lake8-simplify</code>] Detect <code>SIM910</code> when using variadic keyword arguments, i.e., <code>**kwargs</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13503">#13503</a>)</li> <li>[<code>pyupgrade</code>] Avoid false negatives with non-reference shadowed bindings of loop variables (<code>UP028</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13504">#13504</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Detect tuples bound to variadic positional arguments i.e. <code>*args</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13512">#13512</a>)</li> <li>Exit gracefully on broken pipe errors (<a href="https://redirect.github.com/astral-sh/ruff/pull/13485">#13485</a>)</li> <li>Avoid panic when analyze graph hits broken pipe (<a href="https://redirect.github.com/astral-sh/ruff/pull/13484">#13484</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Reuse <code>BTreeSets</code> in module resolver (<a href="https://redirect.github.com/astral-sh/ruff/pull/13440">#13440</a>)</li> <li>Skip traversal for non-compound statements (<a href="https://redirect.github.com/astral-sh/ruff/pull/13441">#13441</a>)</li> </ul> <h2>Contributors</h2> <ul> <li><a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li> <li><a href="https://github.com/TomerBin"><code>@TomerBin</code></a></li> <li><a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a></li> <li><a href="https://github.com/diceroll123"><code>@diceroll123</code></a></li> <li><a href="https://github.com/dylwil3"><code>@dylwil3</code></a></li> <li><a href="https://github.com/haarisr"><code>@haarisr</code></a></li> <li><a href="https://github.com/renovate"><code>@renovate</code></a></li> <li><a href="https://github.com/sbrugman"><code>@sbrugman</code></a></li> <li><a href="https://github.com/vincevannoort"><code>@vincevannoort</code></a></li> <li><a href="https://github.com/zanieb"><code>@zanieb</code></a></li> </ul> <h2>Install ruff 0.6.8</h2> <h3>Install prebuilt binaries via shell script</h3> <pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.6.8/ruff-installer.sh | sh </code></pre> <h3>Install prebuilt binaries via powershell script</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's changelog</a>.</em></p> <blockquote> <h2>0.6.8</h2> <h3>Preview features</h3> <ul> <li>Remove unnecessary parentheses around <code>match case</code> clauses (<a href="https://redirect.github.com/astral-sh/ruff/pull/13510">#13510</a>)</li> <li>Parenthesize overlong <code>if</code> guards in <code>match..case</code> clauses (<a href="https://redirect.github.com/astral-sh/ruff/pull/13513">#13513</a>)</li> <li>Detect basic wildcard imports in <code>ruff analyze graph</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13486">#13486</a>)</li> <li>[<code>pylint</code>] Implement <code>boolean-chained-comparison</code> (<code>R1716</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13435">#13435</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>lake8-simplify</code>] Detect <code>SIM910</code> when using variadic keyword arguments, i.e., <code>**kwargs</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13503">#13503</a>)</li> <li>[<code>pyupgrade</code>] Avoid false negatives with non-reference shadowed bindings of loop variables (<code>UP028</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13504">#13504</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Detect tuples bound to variadic positional arguments i.e. <code>*args</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13512">#13512</a>)</li> <li>Exit gracefully on broken pipe errors (<a href="https://redirect.github.com/astral-sh/ruff/pull/13485">#13485</a>)</li> <li>Avoid panic when analyze graph hits broken pipe (<a href="https://redirect.github.com/astral-sh/ruff/pull/13484">#13484</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Reuse <code>BTreeSets</code> in module resolver (<a href="https://redirect.github.com/astral-sh/ruff/pull/13440">#13440</a>)</li> <li>Skip traversal for non-compound statements (<a href="https://redirect.github.com/astral-sh/ruff/pull/13441">#13441</a>)</li> </ul> <h2>0.6.7</h2> <h3>Preview features</h3> <ul> <li>Add Python version support to ruff analyze CLI (<a href="https://redirect.github.com/astral-sh/ruff/pull/13426">#13426</a>)</li> <li>Add <code>exclude</code> support to <code>ruff analyze</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13425">#13425</a>)</li> <li>Fix parentheses around return type annotations (<a href="https://redirect.github.com/astral-sh/ruff/pull/13381">#13381</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>pycodestyle</code>] Fix: Don't autofix if the first line ends in a question mark? (D400) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13399">#13399</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Respect <code>lint.exclude</code> in ruff check <code>--add-noqa</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13427">#13427</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Avoid tracking module resolver files in Salsa (<a href="https://redirect.github.com/astral-sh/ruff/pull/13437">#13437</a>)</li> <li>Use <code>forget</code> for module resolver database (<a href="https://redirect.github.com/astral-sh/ruff/pull/13438">#13438</a>)</li> </ul> <h2>0.6.6</h2> <h3>Preview features</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/ae39ce56c0cc1f8ac15f980c0b457b16b67c1f2a"><code>ae39ce5</code></a> Bump version to 0.6.8 (<a href="https://redirect.github.com/astral-sh/ruff/issues/13522">#13522</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/ff2d214e112e7c1183a818cccb8d66b014eee0e7"><code>ff2d214</code></a> Don't skip over imports and other nodes containing nested statements in impor...</li> <li><a href="https://github.com/astral-sh/ruff/commit/9442cd8fae338e869a0be92b3b17b8dda3562238"><code>9442cd8</code></a> Parenthesize <code>match..case</code> <code>if</code> guards (<a href="https://redirect.github.com/astral-sh/ruff/issues/13513">#13513</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/8012707348aac296124542b5e5217b1ec833fb7b"><code>8012707</code></a> Align formatting of patterns in match-cases with expression formatting in cla...</li> <li><a href="https://github.com/astral-sh/ruff/commit/d7ffe460546164e57c66daee51f53bdcb811eeaf"><code>d7ffe46</code></a> Disable the <code>typeset</code> plugin (<a href="https://redirect.github.com/astral-sh/ruff/issues/13517">#13517</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/7c83af419cc04b07e3bafaff8c233a5ffa447daf"><code>7c83af4</code></a> red-knot: Implement the <code>not</code> operator for all <code>Type</code> variants (<a href="https://redirect.github.com/astral-sh/ruff/issues/13432">#13432</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/bbb044ebda2890061dba6ec53d3d55e0932041ba"><code>bbb044e</code></a> Detect tuples bound to variadic positional arguments i.e. <code>*args</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/13512">#13512</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/481065238b7f90fe756aa6bd989cf9d3973d4654"><code>4810652</code></a> Avoid UP028 false negatives with non-reference shadowed bindings of loop vari...</li> <li><a href="https://github.com/astral-sh/ruff/commit/11f06e0d5524ada77ee6faa5304d25319031f115"><code>11f06e0</code></a> Detect SIM910 when using variadic keyword arguments, i.e., <code>**kwargs</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/13503">#13503</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/f27a8b8c7abdd06c6b24b86791db31aa4295a6c7"><code>f27a8b8</code></a> [internal] <code>ComparableExpr</code> (f)strings and bytes made invariant under concate...</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.6.4...0.6.8">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruff&package-manager=pip&previous-version=0.6.4&new-version=0.6.8)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information