[PR #219] [CLOSED] Bump ruff from 0.5.2 to 0.5.3 #418

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama-python/pull/219
Author: @dependabot[bot]
Created: 7/18/2024
Status: Closed

Base: mainHead: dependabot/pip/ruff-0.5.3


📝 Commits (1)

  • 7c10411 Bump ruff from 0.5.2 to 0.5.3

📊 Changes

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

View changed files

📝 poetry.lock (+19 -19)

📄 Description

Bumps ruff from 0.5.2 to 0.5.3.

Release notes

Sourced from ruff's releases.

0.5.3

Release Notes

Ruff 0.5.3 marks the stable release of the Ruff language server and introduces revamped documentation, including setup guides for your editor of choice and the language server itself.

Preview features

  • Formatter: Insert empty line between suite and alternative branch after function/class definition (#12294)
  • [pyupgrade] Implement unnecessary-default-type-args (UP043) (#12371)

Rule changes

  • [flake8-bugbear] Detect enumerate iterations in loop-iterator-mutation (B909) (#12366)
  • [flake8-bugbear] Remove discard, remove, and pop allowance for loop-iterator-mutation (B909) (#12365)
  • [pylint] Allow repeated-equality-comparison for mixed operations (PLR1714) (#12369)
  • [pylint] Ignore self and cls when counting arguments (PLR0913) (#12367)
  • [pylint] Use UTF-8 as default encoding in unspecified-encoding fix (PLW1514) (#12370)

Server

  • Build settings index in parallel for the native server (#12299)
  • Use fallback settings when indexing the project (#12362)
  • Consider --preview flag for server subcommand for the linter and formatter (#12208)

Bug fixes

  • [flake8-comprehensions] Allow additional arguments for sum and max comprehensions (C419) (#12364)
  • [pylint] Avoid dropping extra boolean operations in repeated-equality-comparison (PLR1714) (#12368)
  • [pylint] Consider expression before statement when determining binding kind (PLR1704) (#12346)

Documentation

  • Add docs for Ruff language server (#12344)
  • Migrate to standalone docs repo (#12341)
  • Update versioning policy for editor integration (#12375)

Other changes

  • Publish Wasm API to npm (#12317)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.5.3

Ruff 0.5.3 marks the stable release of the Ruff language server and introduces revamped documentation, including setup guides for your editor of choice and the language server itself.

Preview features

  • Formatter: Insert empty line between suite and alternative branch after function/class definition (#12294)
  • [pyupgrade] Implement unnecessary-default-type-args (UP043) (#12371)

Rule changes

  • [flake8-bugbear] Detect enumerate iterations in loop-iterator-mutation (B909) (#12366)
  • [flake8-bugbear] Remove discard, remove, and pop allowance for loop-iterator-mutation (B909) (#12365)
  • [pylint] Allow repeated-equality-comparison for mixed operations (PLR1714) (#12369)
  • [pylint] Ignore self and cls when counting arguments (PLR0913) (#12367)
  • [pylint] Use UTF-8 as default encoding in unspecified-encoding fix (PLW1514) (#12370)

Server

  • Build settings index in parallel for the native server (#12299)
  • Use fallback settings when indexing the project (#12362)
  • Consider --preview flag for server subcommand for the linter and formatter (#12208)

Bug fixes

  • [flake8-comprehensions] Allow additional arguments for sum and max comprehensions (C419) (#12364)
  • [pylint] Avoid dropping extra boolean operations in repeated-equality-comparison (PLR1714) (#12368)
  • [pylint] Consider expression before statement when determining binding kind (PLR1704) (#12346)

Documentation

  • Add docs for Ruff language server (#12344)
  • Migrate to standalone docs repo (#12341)
  • Update versioning policy for editor integration (#12375)

Other changes

  • Publish Wasm API to npm (#12317)
Commits

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/219 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 7/18/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dependabot/pip/ruff-0.5.3` --- ### 📝 Commits (1) - [`7c10411`](https://github.com/ollama/ollama-python/commit/7c1041164aa614858afdfb5f233027af83bbb020) Bump ruff from 0.5.2 to 0.5.3 ### 📊 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.5.2 to 0.5.3. <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.5.3</h2> <h2>Release Notes</h2> <p><strong>Ruff 0.5.3 marks the stable release of the Ruff language server and introduces revamped <a href="https://docs.astral.sh/ruff/editors">documentation</a>, including <a href="https://docs.astral.sh/ruff/editors/setup">setup guides for your editor of choice</a> and <a href="https://docs.astral.sh/ruff/editors/settings">the language server itself</a></strong>.</p> <h3>Preview features</h3> <ul> <li>Formatter: Insert empty line between suite and alternative branch after function/class definition (<a href="https://redirect.github.com/astral-sh/ruff/pull/12294">#12294</a>)</li> <li>[<code>pyupgrade</code>] Implement <code>unnecessary-default-type-args</code> (<code>UP043</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12371">#12371</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-bugbear</code>] Detect enumerate iterations in <code>loop-iterator-mutation</code> (<code>B909</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12366">#12366</a>)</li> <li>[<code>flake8-bugbear</code>] Remove <code>discard</code>, <code>remove</code>, and <code>pop</code> allowance for <code>loop-iterator-mutation</code> (<code>B909</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12365">#12365</a>)</li> <li>[<code>pylint</code>] Allow <code>repeated-equality-comparison</code> for mixed operations (<code>PLR1714</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12369">#12369</a>)</li> <li>[<code>pylint</code>] Ignore <code>self</code> and <code>cls</code> when counting arguments (<code>PLR0913</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12367">#12367</a>)</li> <li>[<code>pylint</code>] Use UTF-8 as default encoding in <code>unspecified-encoding</code> fix (<code>PLW1514</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12370">#12370</a>)</li> </ul> <h3>Server</h3> <ul> <li>Build settings index in parallel for the native server (<a href="https://redirect.github.com/astral-sh/ruff/pull/12299">#12299</a>)</li> <li>Use fallback settings when indexing the project (<a href="https://redirect.github.com/astral-sh/ruff/pull/12362">#12362</a>)</li> <li>Consider <code>--preview</code> flag for <code>server</code> subcommand for the linter and formatter (<a href="https://redirect.github.com/astral-sh/ruff/pull/12208">#12208</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>flake8-comprehensions</code>] Allow additional arguments for <code>sum</code> and <code>max</code> comprehensions (<code>C419</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12364">#12364</a>)</li> <li>[<code>pylint</code>] Avoid dropping extra boolean operations in <code>repeated-equality-comparison</code> (<code>PLR1714</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12368">#12368</a>)</li> <li>[<code>pylint</code>] Consider expression before statement when determining binding kind (<code>PLR1704</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12346">#12346</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Add docs for Ruff language server (<a href="https://redirect.github.com/astral-sh/ruff/pull/12344">#12344</a>)</li> <li>Migrate to standalone docs repo (<a href="https://redirect.github.com/astral-sh/ruff/pull/12341">#12341</a>)</li> <li>Update versioning policy for editor integration (<a href="https://redirect.github.com/astral-sh/ruff/pull/12375">#12375</a>)</li> </ul> <h3>Other changes</h3> <ul> <li>Publish Wasm API to npm (<a href="https://redirect.github.com/astral-sh/ruff/pull/12317">#12317</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/cake-monotone"><code>@​cake-monotone</code></a></li> <li><a href="https://github.com/carljm"><code>@​carljm</code></a></li> <li><a href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a></li> <li><a href="https://github.com/dhruvmanila"><code>@​dhruvmanila</code></a></li> <li><a href="https://github.com/github-actions"><code>@​github-actions</code></a></li> <li><a href="https://github.com/konstin"><code>@​konstin</code></a></li> <li><a href="https://github.com/mattrunyon"><code>@​mattrunyon</code></a></li> </ul> <!-- 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.5.3</h2> <p><strong>Ruff 0.5.3 marks the stable release of the Ruff language server and introduces revamped <a href="https://docs.astral.sh/ruff/editors">documentation</a>, including <a href="https://docs.astral.sh/ruff/editors/setup">setup guides for your editor of choice</a> and <a href="https://docs.astral.sh/ruff/editors/settings">the language server itself</a></strong>.</p> <h3>Preview features</h3> <ul> <li>Formatter: Insert empty line between suite and alternative branch after function/class definition (<a href="https://redirect.github.com/astral-sh/ruff/pull/12294">#12294</a>)</li> <li>[<code>pyupgrade</code>] Implement <code>unnecessary-default-type-args</code> (<code>UP043</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12371">#12371</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-bugbear</code>] Detect enumerate iterations in <code>loop-iterator-mutation</code> (<code>B909</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12366">#12366</a>)</li> <li>[<code>flake8-bugbear</code>] Remove <code>discard</code>, <code>remove</code>, and <code>pop</code> allowance for <code>loop-iterator-mutation</code> (<code>B909</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12365">#12365</a>)</li> <li>[<code>pylint</code>] Allow <code>repeated-equality-comparison</code> for mixed operations (<code>PLR1714</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12369">#12369</a>)</li> <li>[<code>pylint</code>] Ignore <code>self</code> and <code>cls</code> when counting arguments (<code>PLR0913</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12367">#12367</a>)</li> <li>[<code>pylint</code>] Use UTF-8 as default encoding in <code>unspecified-encoding</code> fix (<code>PLW1514</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12370">#12370</a>)</li> </ul> <h3>Server</h3> <ul> <li>Build settings index in parallel for the native server (<a href="https://redirect.github.com/astral-sh/ruff/pull/12299">#12299</a>)</li> <li>Use fallback settings when indexing the project (<a href="https://redirect.github.com/astral-sh/ruff/pull/12362">#12362</a>)</li> <li>Consider <code>--preview</code> flag for <code>server</code> subcommand for the linter and formatter (<a href="https://redirect.github.com/astral-sh/ruff/pull/12208">#12208</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>flake8-comprehensions</code>] Allow additional arguments for <code>sum</code> and <code>max</code> comprehensions (<code>C419</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12364">#12364</a>)</li> <li>[<code>pylint</code>] Avoid dropping extra boolean operations in <code>repeated-equality-comparison</code> (<code>PLR1714</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12368">#12368</a>)</li> <li>[<code>pylint</code>] Consider expression before statement when determining binding kind (<code>PLR1704</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12346">#12346</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Add docs for Ruff language server (<a href="https://redirect.github.com/astral-sh/ruff/pull/12344">#12344</a>)</li> <li>Migrate to standalone docs repo (<a href="https://redirect.github.com/astral-sh/ruff/pull/12341">#12341</a>)</li> <li>Update versioning policy for editor integration (<a href="https://redirect.github.com/astral-sh/ruff/pull/12375">#12375</a>)</li> </ul> <h3>Other changes</h3> <ul> <li>Publish Wasm API to npm (<a href="https://redirect.github.com/astral-sh/ruff/pull/12317">#12317</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/f0d589d7a3fe34fa25ea066967851f5e71da690e"><code>f0d589d</code></a> Provide custom job permissions to <code>cargo-dist</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/12386">#12386</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/512c8b2cc59c835dcc4346ae9b7a3c2cc0b8c132"><code>512c8b2</code></a> Provide contents read permission to wasm publish job (<a href="https://redirect.github.com/astral-sh/ruff/issues/12384">#12384</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/811f78d94dbf936b1b3fe74e788bf46b32677d8c"><code>811f78d</code></a> [red-knot] small efficiency improvements and bugfixes to use-def map building...</li> <li><a href="https://github.com/astral-sh/ruff/commit/8f1be31289e481be4f63c61962d093eb447fb2ee"><code>8f1be31</code></a> Update 0.5.3 changelog caption (<a href="https://redirect.github.com/astral-sh/ruff/issues/12383">#12383</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/8cfbac71a4d08eacf7dba1d39d1be6e1b7c03807"><code>8cfbac7</code></a> Bump version to 0.5.3 (<a href="https://redirect.github.com/astral-sh/ruff/issues/12381">#12381</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/946085793278f2616ca1bc7200c51a86a2e5d732"><code>9460857</code></a> Migrate to standalone docs repo (<a href="https://redirect.github.com/astral-sh/ruff/issues/12341">#12341</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/a028ca22f0f5601f57f617df25fec7b9a652ed4e"><code>a028ca2</code></a> Add VS Code specific extension settings (<a href="https://redirect.github.com/astral-sh/ruff/issues/12380">#12380</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/7953f6aa79f7546f3c2ff4f9e80d7694c13d62c6"><code>7953f6a</code></a> Update versioning policy for editor integration (<a href="https://redirect.github.com/astral-sh/ruff/issues/12375">#12375</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/764d9ab4ee19a723f3ad96523cb8bb067430e9d8"><code>764d9ab</code></a> Allow <code>repeated-equality-comparison</code> for mixed operations (<a href="https://redirect.github.com/astral-sh/ruff/issues/12369">#12369</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/9b9d70150001da91d6eec55590c117c38ad679c9"><code>9b9d701</code></a> Allow additional arguments for sum and max comprehensions (<a href="https://redirect.github.com/astral-sh/ruff/issues/12364">#12364</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.5.2...0.5.3">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.5.2&new-version=0.5.3)](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:19 -05:00
yindo closed this issue 2026-02-15 16:30:20 -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#418