[PR #291] [CLOSED] Bump ruff from 0.6.5 to 0.6.8 #458

Closed
opened 2026-02-15 16:30:29 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama-python/pull/291
Author: @dependabot[bot]
Created: 9/26/2024
Status: Closed

Base: mainHead: dependabot/pip/ruff-0.6.8


📝 Commits (1)

  • 7d27845 Bump ruff from 0.6.5 to 0.6.8

📊 Changes

1 file changed (+19 additions, -19 deletions)

View changed files

📝 poetry.lock (+19 -19)

📄 Description

Bumps ruff from 0.6.5 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)

0.6.7

Preview features

  • Add Python version support to ruff analyze CLI (#13426)
  • Add exclude support to ruff analyze (#13425)
  • Fix parentheses around return type annotations (#13381)

Rule changes

  • [pycodestyle] Fix: Don't autofix if the first line ends in a question mark? (D400) (#13399)

Bug fixes

  • Respect lint.exclude in ruff check --add-noqa (#13427)

Performance

  • Avoid tracking module resolver files in Salsa (#13437)
  • Use forget for module resolver database (#13438)

0.6.6

Preview features

... (truncated)

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

Dependabot compatibility score

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 commands and options

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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama-python/pull/291 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 9/26/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dependabot/pip/ruff-0.6.8` --- ### 📝 Commits (1) - [`7d27845`](https://github.com/ollama/ollama-python/commit/7d278453782e73ecb8fe27a7e2e038482dcf58cf) Bump ruff from 0.6.5 to 0.6.8 ### 📊 Changes **1 file changed** (+19 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `poetry.lock` (+19 -19) </details> ### 📄 Description Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.5 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.5...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.5&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> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 16:30:29 -05:00
yindo closed this issue 2026-02-15 16:30:29 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ollama/ollama-python#458