[PR #281] [MERGED] Bump ruff from 0.6.3 to 0.6.5 #451

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama-python/pull/281
Author: @dependabot[bot]
Created: 9/13/2024
Status: Merged
Merged: 9/19/2024
Merged by: @dependabot[bot]

Base: mainHead: dependabot/pip/ruff-0.6.5


📝 Commits (1)

  • 7fda5c9 Bump ruff from 0.6.3 to 0.6.5

📊 Changes

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

View changed files

📝 poetry.lock (+19 -19)

📄 Description

Bumps ruff from 0.6.3 to 0.6.5.

Release notes

Sourced from ruff's releases.

0.6.5

Release Notes

Preview features

  • [pydoclint] Ignore DOC201 when function name is "new" (#13300)
  • [refurb] Implement slice-to-remove-prefix-or-suffix (FURB188) (#13256)

Rule changes

  • [eradicate] Ignore script-comments with multiple end-tags (ERA001) (#13283)
  • [pyflakes] Improve error message for UndefinedName when a builtin was added in a newer version than specified in Ruff config (F821) (#13293)

Server

  • Add support for extensionless Python files for server (#13326)
  • Fix configuration inheritance for configurations specified in the LSP settings (#13285)

Bug fixes

  • [ruff] Handle unary operators in decimal-from-float-literal (RUF032) (#13275)

CLI

  • Only include rules with diagnostics in SARIF metadata (#13268)

Playground

  • Add "Copy as pyproject.toml/ruff.toml" and "Paste from TOML" (#13328)
  • Fix errors not shown for restored snippet on page load (#13262)

Contributors

Install ruff 0.6.5

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.6.5/ruff-installer.sh | sh
</tr></table> 

... (truncated)

Changelog

Sourced from ruff's changelog.

0.6.5

Preview features

  • [pydoclint] Ignore DOC201 when function name is "new" (#13300)
  • [refurb] Implement slice-to-remove-prefix-or-suffix (FURB188) (#13256)

Rule changes

  • [eradicate] Ignore script-comments with multiple end-tags (ERA001) (#13283)
  • [pyflakes] Improve error message for UndefinedName when a builtin was added in a newer version than specified in Ruff config (F821) (#13293)

Server

  • Add support for extensionless Python files for server (#13326)
  • Fix configuration inheritance for configurations specified in the LSP settings (#13285)

Bug fixes

  • [ruff] Handle unary operators in decimal-from-float-literal (RUF032) (#13275)

CLI

  • Only include rules with diagnostics in SARIF metadata (#13268)

Playground

  • Add "Copy as pyproject.toml/ruff.toml" and "Paste from TOML" (#13328)
  • Fix errors not shown for restored snippet on page load (#13262)

0.6.4

Preview features

  • [flake8-builtins] Use dynamic builtins list based on Python version (#13172)
  • [pydoclint] Permit yielding None in DOC402 and DOC403 (#13148)
  • [pylint] Update diagnostic message for PLW3201 (#13194)
  • [ruff] Implement post-init-default (RUF033) (#13192)
  • [ruff] Implement useless if-else (RUF034) (#13218)

Rule changes

  • [flake8-pyi] Respect pep8_naming.classmethod-decorators settings when determining if a method is a classmethod in custom-type-var-return-type (PYI019) (#13162)
  • [flake8-pyi] Teach various rules that annotations might be stringized (#12951)
  • [pylint] Avoid no-self-use for attrs-style validators (#13166)
  • [pylint] Recurse into subscript subexpressions when searching for list/dict lookups (PLR1733, PLR1736) (#13186)
  • [pyupgrade] Detect aiofiles.open calls in UP015 (#13173)
  • [pyupgrade] Mark sys.version_info[0] < 3 and similar comparisons as outdated (UP036) (#13175)

CLI

... (truncated)

Commits
  • 8558126 Bump version to 0.6.5 (#13346)
  • 9bd9981 Create insta snapshot for SARIF output (#13345)
  • 21bfab9 Playground: Add Copy as pyproject.toml/ruff.toml and paste from TOML (#13328)
  • 43a5922 [red-knot] add BitSet::is_empty and BitSet::union (#13333)
  • 175d067 [red-knot] add initial Type::is_equivalent_to and Type::is_assignable_to (#13...
  • 4dc2c25 [red-knot] Fix type inference for except* definitions (#13320)
  • b72d49b Add support for extensionless Python files for server (#13326)
  • eded78a [pyupgrade] Fix broken doc link and clarify that deprecated aliases were re...
  • a7b8cc0 [red-knot] Fix .to_instance() for union types (#13319)
  • b93d0ab [red-knot] Add control flow for for loops (#13318)
  • 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/281 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 9/13/2024 **Status:** ✅ Merged **Merged:** 9/19/2024 **Merged by:** [@dependabot[bot]](https://github.com/apps/dependabot) **Base:** `main` ← **Head:** `dependabot/pip/ruff-0.6.5` --- ### 📝 Commits (1) - [`7fda5c9`](https://github.com/ollama/ollama-python/commit/7fda5c9dae1ac8733b9cd18def235c4629d77595) Bump ruff from 0.6.3 to 0.6.5 ### 📊 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.3 to 0.6.5. <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.5</h2> <h2>Release Notes</h2> <h3>Preview features</h3> <ul> <li>[<code>pydoclint</code>] Ignore <code>DOC201</code> when function name is &quot;<strong>new</strong>&quot; (<a href="https://redirect.github.com/astral-sh/ruff/pull/13300">#13300</a>)</li> <li>[<code>refurb</code>] Implement <code>slice-to-remove-prefix-or-suffix</code> (<code>FURB188</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13256">#13256</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>eradicate</code>] Ignore script-comments with multiple end-tags (<code>ERA001</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13283">#13283</a>)</li> <li>[<code>pyflakes</code>] Improve error message for <code>UndefinedName</code> when a builtin was added in a newer version than specified in Ruff config (<code>F821</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13293">#13293</a>)</li> </ul> <h3>Server</h3> <ul> <li>Add support for extensionless Python files for server (<a href="https://redirect.github.com/astral-sh/ruff/pull/13326">#13326</a>)</li> <li>Fix configuration inheritance for configurations specified in the LSP settings (<a href="https://redirect.github.com/astral-sh/ruff/pull/13285">#13285</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>ruff</code>] Handle unary operators in <code>decimal-from-float-literal</code> (<code>RUF032</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13275">#13275</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Only include rules with diagnostics in SARIF metadata (<a href="https://redirect.github.com/astral-sh/ruff/pull/13268">#13268</a>)</li> </ul> <h3>Playground</h3> <ul> <li>Add &quot;Copy as pyproject.toml/ruff.toml&quot; and &quot;Paste from TOML&quot; (<a href="https://redirect.github.com/astral-sh/ruff/pull/13328">#13328</a>)</li> <li>Fix errors not shown for restored snippet on page load (<a href="https://redirect.github.com/astral-sh/ruff/pull/13262">#13262</a>)</li> </ul> <h2>Contributors</h2> <ul> <li><a href="https://github.com/AlexWaygood"><code>@​AlexWaygood</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@​MichaReiser</code></a></li> <li><a href="https://github.com/RussellLuo"><code>@​RussellLuo</code></a></li> <li><a href="https://github.com/Slyces"><code>@​Slyces</code></a></li> <li><a href="https://github.com/augustelalande"><code>@​augustelalande</code></a></li> <li><a href="https://github.com/calumy"><code>@​calumy</code></a></li> <li><a href="https://github.com/carljm"><code>@​carljm</code></a></li> <li><a href="https://github.com/dhruvmanila"><code>@​dhruvmanila</code></a></li> <li><a href="https://github.com/dizzy57"><code>@​dizzy57</code></a></li> <li><a href="https://github.com/dylwil3"><code>@​dylwil3</code></a></li> <li><a href="https://github.com/renovate"><code>@​renovate</code></a></li> </ul> <h2>Install ruff 0.6.5</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.5/ruff-installer.sh | sh &lt;/tr&gt;&lt;/table&gt; </code></pre> </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.5</h2> <h3>Preview features</h3> <ul> <li>[<code>pydoclint</code>] Ignore <code>DOC201</code> when function name is &quot;<strong>new</strong>&quot; (<a href="https://redirect.github.com/astral-sh/ruff/pull/13300">#13300</a>)</li> <li>[<code>refurb</code>] Implement <code>slice-to-remove-prefix-or-suffix</code> (<code>FURB188</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13256">#13256</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>eradicate</code>] Ignore script-comments with multiple end-tags (<code>ERA001</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13283">#13283</a>)</li> <li>[<code>pyflakes</code>] Improve error message for <code>UndefinedName</code> when a builtin was added in a newer version than specified in Ruff config (<code>F821</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13293">#13293</a>)</li> </ul> <h3>Server</h3> <ul> <li>Add support for extensionless Python files for server (<a href="https://redirect.github.com/astral-sh/ruff/pull/13326">#13326</a>)</li> <li>Fix configuration inheritance for configurations specified in the LSP settings (<a href="https://redirect.github.com/astral-sh/ruff/pull/13285">#13285</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>ruff</code>] Handle unary operators in <code>decimal-from-float-literal</code> (<code>RUF032</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13275">#13275</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Only include rules with diagnostics in SARIF metadata (<a href="https://redirect.github.com/astral-sh/ruff/pull/13268">#13268</a>)</li> </ul> <h3>Playground</h3> <ul> <li>Add &quot;Copy as pyproject.toml/ruff.toml&quot; and &quot;Paste from TOML&quot; (<a href="https://redirect.github.com/astral-sh/ruff/pull/13328">#13328</a>)</li> <li>Fix errors not shown for restored snippet on page load (<a href="https://redirect.github.com/astral-sh/ruff/pull/13262">#13262</a>)</li> </ul> <h2>0.6.4</h2> <h3>Preview features</h3> <ul> <li>[<code>flake8-builtins</code>] Use dynamic builtins list based on Python version (<a href="https://redirect.github.com/astral-sh/ruff/pull/13172">#13172</a>)</li> <li>[<code>pydoclint</code>] Permit yielding <code>None</code> in <code>DOC402</code> and <code>DOC403</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13148">#13148</a>)</li> <li>[<code>pylint</code>] Update diagnostic message for <code>PLW3201</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13194">#13194</a>)</li> <li>[<code>ruff</code>] Implement <code>post-init-default</code> (<code>RUF033</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13192">#13192</a>)</li> <li>[<code>ruff</code>] Implement useless if-else (<code>RUF034</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13218">#13218</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-pyi</code>] Respect <code>pep8_naming.classmethod-decorators</code> settings when determining if a method is a classmethod in <code>custom-type-var-return-type</code> (<code>PYI019</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13162">#13162</a>)</li> <li>[<code>flake8-pyi</code>] Teach various rules that annotations might be stringized (<a href="https://redirect.github.com/astral-sh/ruff/pull/12951">#12951</a>)</li> <li>[<code>pylint</code>] Avoid <code>no-self-use</code> for <code>attrs</code>-style validators (<a href="https://redirect.github.com/astral-sh/ruff/pull/13166">#13166</a>)</li> <li>[<code>pylint</code>] Recurse into subscript subexpressions when searching for list/dict lookups (<code>PLR1733</code>, <code>PLR1736</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13186">#13186</a>)</li> <li>[<code>pyupgrade</code>] Detect <code>aiofiles.open</code> calls in <code>UP015</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13173">#13173</a>)</li> <li>[<code>pyupgrade</code>] Mark <code>sys.version_info[0] &lt; 3</code> and similar comparisons as outdated (<code>UP036</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13175">#13175</a>)</li> </ul> <h3>CLI</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/8558126df1f2b49b4d6fb7b8f535b4dda51d5f50"><code>8558126</code></a> Bump version to 0.6.5 (<a href="https://redirect.github.com/astral-sh/ruff/issues/13346">#13346</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/9bd9981e709fddfd8f2f7d1d5d7c7a7ed1727136"><code>9bd9981</code></a> Create insta snapshot for SARIF output (<a href="https://redirect.github.com/astral-sh/ruff/issues/13345">#13345</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/21bfab9b69a5e64144259db678ae80c0932cda3a"><code>21bfab9</code></a> Playground: Add Copy as pyproject.toml/ruff.toml and paste from TOML (<a href="https://redirect.github.com/astral-sh/ruff/issues/13328">#13328</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/43a5922f6f11784f74e6f553467b1be802bc2213"><code>43a5922</code></a> [red-knot] add BitSet::is_empty and BitSet::union (<a href="https://redirect.github.com/astral-sh/ruff/issues/13333">#13333</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/175d067250e0f906d60043529b690d4663fc609a"><code>175d067</code></a> [red-knot] add initial Type::is_equivalent_to and Type::is_assignable_to (<a href="https://redirect.github.com/astral-sh/ruff/issues/13">#13</a>...</li> <li><a href="https://github.com/astral-sh/ruff/commit/4dc2c257efa674b65ce4929d88a770cf0fd011f5"><code>4dc2c25</code></a> [red-knot] Fix type inference for <code>except*</code> definitions (<a href="https://redirect.github.com/astral-sh/ruff/issues/13320">#13320</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/b72d49be16d5e42fec3d25b33f717f553c8f09b3"><code>b72d49b</code></a> Add support for extensionless Python files for server (<a href="https://redirect.github.com/astral-sh/ruff/issues/13326">#13326</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/eded78a39ba11ab553d0dfd85766093f7bd639d6"><code>eded78a</code></a> [<code>pyupgrade</code>] Fix broken doc link and clarify that deprecated aliases were re...</li> <li><a href="https://github.com/astral-sh/ruff/commit/a7b8cc08f09dfad0bd30ded79852ae45cc24a6c1"><code>a7b8cc0</code></a> [red-knot] Fix <code>.to_instance()</code> for union types (<a href="https://redirect.github.com/astral-sh/ruff/issues/13319">#13319</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/b93d0ab57c86f2f48b52b56d98f0fc2e5f5e7d10"><code>b93d0ab</code></a> [red-knot] Add control flow for <code>for</code> loops (<a href="https://redirect.github.com/astral-sh/ruff/issues/13318">#13318</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.6.3...0.6.5">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.3&new-version=0.6.5)](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:27 -05:00
yindo closed this issue 2026-02-15 16:30:27 -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#451