[PR #296] [CLOSED] Bump ruff from 0.6.5 to 0.6.9 #456

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/296
Author: @dependabot[bot]
Created: 10/4/2024
Status: Closed

Base: mainHead: dependabot/pip/ruff-0.6.9


📝 Commits (1)

  • 7d13842 Bump ruff from 0.6.5 to 0.6.9

📊 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.9.

Release notes

Sourced from ruff's releases.

0.6.9

Release Notes

Preview features

  • Fix codeblock dynamic line length calculation for indented docstring examples (#13523)
  • [refurb] Mark FURB118 fix as unsafe (#13613)

Rule changes

  • [pydocstyle] Don't raise D208 when last line is non-empty (#13372)
  • [pylint] Preserve trivia (i.e. comments) in PLR5501 autofix (#13573)

Configuration

  • [pyflakes] Add allow-unused-imports setting for unused-import rule (F401) (#13601)

Bug fixes

  • Support ruff discovery in pip build environments (#13591)
  • [flake8-bugbear] Avoid short circuiting B017 for multiple context managers (#13609)
  • [pylint] Do not offer an invalid fix for PLR1716 when the comparisons contain parenthesis (#13527)
  • [pyupgrade] Fix UP043 to apply to collections.abc.Generator and collections.abc.AsyncGenerator (#13611)
  • [refurb] Fix handling of slices in tuples for FURB118, e.g., x[:, 1] (#13518)

Documentation

  • Update GitHub Action link to astral-sh/ruff-action (#13551)

Install ruff 0.6.9

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.6.9/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.9/ruff-installer.ps1 | iex"

Download ruff 0.6.9

File Platform Checksum
ruff-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
ruff-x86_64-apple-darwin.tar.gz Intel macOS checksum
ruff-aarch64-pc-windows-msvc.zip ARM64 Windows checksum

... (truncated)

Changelog

Sourced from ruff's changelog.

0.6.9

Preview features

  • Fix codeblock dynamic line length calculation for indented docstring examples (#13523)
  • [refurb] Mark FURB118 fix as unsafe (#13613)

Rule changes

  • [pydocstyle] Don't raise D208 when last line is non-empty (#13372)
  • [pylint] Preserve trivia (i.e. comments) in PLR5501 autofix (#13573)

Configuration

  • [pyflakes] Add allow-unused-imports setting for unused-import rule (F401) (#13601)

Bug fixes

  • Support ruff discovery in pip build environments (#13591)
  • [flake8-bugbear] Avoid short circuiting B017 for multiple context managers (#13609)
  • [pylint] Do not offer an invalid fix for PLR1716 when the comparisons contain parenthesis (#13527)
  • [pyupgrade] Fix UP043 to apply to collections.abc.Generator and collections.abc.AsyncGenerator (#13611)
  • [refurb] Fix handling of slices in tuples for FURB118, e.g., x[:, 1] (#13518)

Documentation

  • Update GitHub Action link to astral-sh/ruff-action (#13551)

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

... (truncated)

Commits
  • 975be9c Bump version to 0.6.9 (#13624)
  • 99e4566 Mark FURB118 fix as unsafe (#13613)
  • 7ad07c2 Add allow-unused-imports setting for unused-import rule (F401) (#13601)
  • 4aefe52 Support ruff discovery in pip build environments (#13591)
  • cc1f766 Preserve trivia (i.e. comments) in PLR5501 (#13573)
  • fdd0a22 Move to maintained mirror of prettier (#13592)
  • 3728d5b [pyupgrade] Fix UP043 to apply to collections.abc.Generator and `collecti...
  • 7e3894f Avoid short circuiting B017 for multiple context managers (#13609)
  • c3b40da Use backticks for code in red-knot messages (#13599)
  • ef45185 Allow users to provide custom diagnostic messages when unwrapping calls (#13597)
  • 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/296 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 10/4/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dependabot/pip/ruff-0.6.9` --- ### 📝 Commits (1) - [`7d13842`](https://github.com/ollama/ollama-python/commit/7d13842c16357f3db9c2d5b48bdd627475042f24) Bump ruff from 0.6.5 to 0.6.9 ### 📊 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.9. <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.9</h2> <h2>Release Notes</h2> <h3>Preview features</h3> <ul> <li>Fix codeblock dynamic line length calculation for indented docstring examples (<a href="https://redirect.github.com/astral-sh/ruff/pull/13523">#13523</a>)</li> <li>[<code>refurb</code>] Mark <code>FURB118</code> fix as unsafe (<a href="https://redirect.github.com/astral-sh/ruff/pull/13613">#13613</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>pydocstyle</code>] Don't raise <code>D208</code> when last line is non-empty (<a href="https://redirect.github.com/astral-sh/ruff/pull/13372">#13372</a>)</li> <li>[<code>pylint</code>] Preserve trivia (i.e. comments) in <code>PLR5501</code> autofix (<a href="https://redirect.github.com/astral-sh/ruff/pull/13573">#13573</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>[<code>pyflakes</code>] Add <code>allow-unused-imports</code> setting for <code>unused-import</code> rule (<code>F401</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13601">#13601</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Support ruff discovery in pip build environments (<a href="https://redirect.github.com/astral-sh/ruff/pull/13591">#13591</a>)</li> <li>[<code>flake8-bugbear</code>] Avoid short circuiting <code>B017</code> for multiple context managers (<a href="https://redirect.github.com/astral-sh/ruff/pull/13609">#13609</a>)</li> <li>[<code>pylint</code>] Do not offer an invalid fix for <code>PLR1716</code> when the comparisons contain parenthesis (<a href="https://redirect.github.com/astral-sh/ruff/pull/13527">#13527</a>)</li> <li>[<code>pyupgrade</code>] Fix <code>UP043</code> to apply to <code>collections.abc.Generator</code> and <code>collections.abc.AsyncGenerator</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13611">#13611</a>)</li> <li>[<code>refurb</code>] Fix handling of slices in tuples for <code>FURB118</code>, e.g., <code>x[:, 1]</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13518">#13518</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Update GitHub Action link to <code>astral-sh/ruff-action</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13551">#13551</a>)</li> </ul> <h2>Install ruff 0.6.9</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.9/ruff-installer.sh | sh </code></pre> <h3>Install prebuilt binaries via powershell script</h3> <pre lang="sh"><code>powershell -ExecutionPolicy ByPass -c &quot;irm https://github.com/astral-sh/ruff/releases/download/0.6.9/ruff-installer.ps1 | iex&quot; </code></pre> <h2>Download ruff 0.6.9</h2> <table> <thead> <tr> <th>File</th> <th>Platform</th> <th>Checksum</th> </tr> </thead> <tbody> <tr> <td><a href="https://github.com/astral-sh/ruff/releases/download/0.6.9/ruff-aarch64-apple-darwin.tar.gz">ruff-aarch64-apple-darwin.tar.gz</a></td> <td>Apple Silicon macOS</td> <td><a href="https://github.com/astral-sh/ruff/releases/download/0.6.9/ruff-aarch64-apple-darwin.tar.gz.sha256">checksum</a></td> </tr> <tr> <td><a href="https://github.com/astral-sh/ruff/releases/download/0.6.9/ruff-x86_64-apple-darwin.tar.gz">ruff-x86_64-apple-darwin.tar.gz</a></td> <td>Intel macOS</td> <td><a href="https://github.com/astral-sh/ruff/releases/download/0.6.9/ruff-x86_64-apple-darwin.tar.gz.sha256">checksum</a></td> </tr> <tr> <td><a href="https://github.com/astral-sh/ruff/releases/download/0.6.9/ruff-aarch64-pc-windows-msvc.zip">ruff-aarch64-pc-windows-msvc.zip</a></td> <td>ARM64 Windows</td> <td><a href="https://github.com/astral-sh/ruff/releases/download/0.6.9/ruff-aarch64-pc-windows-msvc.zip.sha256">checksum</a></td> </tr> </tbody> </table> <!-- 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.9</h2> <h3>Preview features</h3> <ul> <li>Fix codeblock dynamic line length calculation for indented docstring examples (<a href="https://redirect.github.com/astral-sh/ruff/pull/13523">#13523</a>)</li> <li>[<code>refurb</code>] Mark <code>FURB118</code> fix as unsafe (<a href="https://redirect.github.com/astral-sh/ruff/pull/13613">#13613</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>pydocstyle</code>] Don't raise <code>D208</code> when last line is non-empty (<a href="https://redirect.github.com/astral-sh/ruff/pull/13372">#13372</a>)</li> <li>[<code>pylint</code>] Preserve trivia (i.e. comments) in <code>PLR5501</code> autofix (<a href="https://redirect.github.com/astral-sh/ruff/pull/13573">#13573</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>[<code>pyflakes</code>] Add <code>allow-unused-imports</code> setting for <code>unused-import</code> rule (<code>F401</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13601">#13601</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Support ruff discovery in pip build environments (<a href="https://redirect.github.com/astral-sh/ruff/pull/13591">#13591</a>)</li> <li>[<code>flake8-bugbear</code>] Avoid short circuiting <code>B017</code> for multiple context managers (<a href="https://redirect.github.com/astral-sh/ruff/pull/13609">#13609</a>)</li> <li>[<code>pylint</code>] Do not offer an invalid fix for <code>PLR1716</code> when the comparisons contain parenthesis (<a href="https://redirect.github.com/astral-sh/ruff/pull/13527">#13527</a>)</li> <li>[<code>pyupgrade</code>] Fix <code>UP043</code> to apply to <code>collections.abc.Generator</code> and <code>collections.abc.AsyncGenerator</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13611">#13611</a>)</li> <li>[<code>refurb</code>] Fix handling of slices in tuples for <code>FURB118</code>, e.g., <code>x[:, 1]</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13518">#13518</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Update GitHub Action link to <code>astral-sh/ruff-action</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13551">#13551</a>)</li> </ul> <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> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/975be9c1c6cc8f8f4e52bdad8123d151192c7123"><code>975be9c</code></a> Bump version to 0.6.9 (<a href="https://redirect.github.com/astral-sh/ruff/issues/13624">#13624</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/99e4566fce9faf1c66ca3dafd6216be3976dc913"><code>99e4566</code></a> Mark <code>FURB118</code> fix as unsafe (<a href="https://redirect.github.com/astral-sh/ruff/issues/13613">#13613</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/7ad07c2c5d9208ad55b55eb0e6124c2d8a07c065"><code>7ad07c2</code></a> Add <code>allow-unused-imports</code> setting for <code>unused-import</code> rule (<code>F401</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/13601">#13601</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/4aefe523938f7176be0bcaa03b6f126c8ae783fb"><code>4aefe52</code></a> Support ruff discovery in pip build environments (<a href="https://redirect.github.com/astral-sh/ruff/issues/13591">#13591</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/cc1f766622bd27c24e47362503f44f8545710c6f"><code>cc1f766</code></a> Preserve trivia (i.e. comments) in PLR5501 (<a href="https://redirect.github.com/astral-sh/ruff/issues/13573">#13573</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/fdd0a22c03ddecea7e8b870b6d7a007210ee3d27"><code>fdd0a22</code></a> Move to maintained mirror of prettier (<a href="https://redirect.github.com/astral-sh/ruff/issues/13592">#13592</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/3728d5b3a2ba1d97a1e6cbbe719b5960ca8ca53c"><code>3728d5b</code></a> [<code>pyupgrade</code>] Fix UP043 to apply to <code>collections.abc.Generator</code> and `collecti...</li> <li><a href="https://github.com/astral-sh/ruff/commit/7e3894f5b3573d77b0000bbddf0293fbbb5dc986"><code>7e3894f</code></a> Avoid short circuiting <code>B017</code> for multiple context managers (<a href="https://redirect.github.com/astral-sh/ruff/issues/13609">#13609</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/c3b40da0d2dd3f6481d663c9a325a8231cae2128"><code>c3b40da</code></a> Use backticks for code in red-knot messages (<a href="https://redirect.github.com/astral-sh/ruff/issues/13599">#13599</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/ef45185dbc9666aee8877a54e3fe3539bb9a7051"><code>ef45185</code></a> Allow users to provide custom diagnostic messages when unwrapping calls (<a href="https://redirect.github.com/astral-sh/ruff/issues/13597">#13597</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.6.5...0.6.9">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.9)](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#456