[PR #168] [CLOSED] Bump ruff from 0.4.3 to 0.4.5 #391

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama-python/pull/168
Author: @dependabot[bot]
Created: 5/23/2024
Status: Closed

Base: mainHead: dependabot/pip/ruff-0.4.5


📝 Commits (1)

  • 376d4c8 Bump ruff from 0.4.3 to 0.4.5

📊 Changes

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

View changed files

📝 poetry.lock (+18 -18)

📄 Description

Bumps ruff from 0.4.3 to 0.4.5.

Release notes

Sourced from ruff's releases.

v0.4.5

Changes

Ruff's language server is now in Beta

v0.4.5 marks the official Beta release of ruff server, an integrated language server built into Ruff. ruff server supports the same feature set as ruff-lsp, powering linting, formatting, and code fixes in Ruff's editor integrations -- but with superior performance and no installation required. We'd love your feedback!

You can enable ruff server in the VS Code extension today.

To read more about this exciting milestone, check out our blog post!

Rule changes

  • [flake8-future-annotations] Reword future-rewritable-type-annotation (FA100) message (#11381)
  • [pycodestyle] Consider soft keywords for E27 rules (#11446)
  • [pyflakes] Recommend adding unused import bindings to __all__ (#11314)
  • [pyflakes] Update documentation and deprecate ignore_init_module_imports (#11436)
  • [pyupgrade] Mark quotes as unnecessary for non-evaluated annotations (#11485)

Formatter

  • Avoid multiline quotes warning with quote-style = preserve (#11490)

Server

  • Support Jupyter Notebook files (#11206)
  • Support noqa comment code actions (#11276)
  • Fix automatic configuration reloading (#11492)
  • Fix several issues with configuration in Neovim and Helix (#11497)

CLI

  • Add --output-format as a CLI option for ruff config (#11438)

Bug fixes

  • Avoid PLE0237 for property with setter (#11377)
  • Avoid TCH005 for if stmt with elif/else block (#11376)
  • Avoid flagging __future__ annotations as required for non-evaluated type annotations (#11414)
  • Check for ruff executable in 'bin' directory as installed by 'pip install --target'. (#11450)
  • Sort edits prior to deduplicating in quotation fix (#11452)
  • Treat escaped newline as valid sequence (#11465)
  • [flake8-pie] Preserve parentheses in unnecessary-dict-kwargs (#11372)
  • [pylint] Ignore __slots__ with dynamic values (#11488)
  • [pylint] Remove try body from branch counting (#11487)
  • [refurb] Respect operator precedence in FURB110 (#11464)

Documentation

  • Add --preview to the README (#11395)

... (truncated)

Changelog

Sourced from ruff's changelog.

0.4.5

Ruff's language server is now in Beta

v0.4.5 marks the official Beta release of ruff server, an integrated language server built into Ruff. ruff server supports the same feature set as ruff-lsp, powering linting, formatting, and code fixes in Ruff's editor integrations -- but with superior performance and no installation required. We'd love your feedback!

You can enable ruff server in the VS Code extension today.

To read more about this exciting milestone, check out our blog post!

Rule changes

  • [flake8-future-annotations] Reword future-rewritable-type-annotation (FA100) message (#11381)
  • [pycodestyle] Consider soft keywords for E27 rules (#11446)
  • [pyflakes] Recommend adding unused import bindings to __all__ (#11314)
  • [pyflakes] Update documentation and deprecate ignore_init_module_imports (#11436)
  • [pyupgrade] Mark quotes as unnecessary for non-evaluated annotations (#11485)

Formatter

  • Avoid multiline quotes warning with quote-style = preserve (#11490)

Server

  • Support Jupyter Notebook files (#11206)
  • Support noqa comment code actions (#11276)
  • Fix automatic configuration reloading (#11492)
  • Fix several issues with configuration in Neovim and Helix (#11497)

CLI

  • Add --output-format as a CLI option for ruff config (#11438)

Bug fixes

  • Avoid PLE0237 for property with setter (#11377)
  • Avoid TCH005 for if stmt with elif/else block (#11376)
  • Avoid flagging __future__ annotations as required for non-evaluated type annotations (#11414)
  • Check for ruff executable in 'bin' directory as installed by 'pip install --target'. (#11450)
  • Sort edits prior to deduplicating in quotation fix (#11452)
  • Treat escaped newline as valid sequence (#11465)
  • [flake8-pie] Preserve parentheses in unnecessary-dict-kwargs (#11372)
  • [pylint] Ignore __slots__ with dynamic values (#11488)
  • [pylint] Remove try body from branch counting (#11487)
  • [refurb] Respect operator precedence in FURB110 (#11464)

Documentation

... (truncated)

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/168 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 5/23/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dependabot/pip/ruff-0.4.5` --- ### 📝 Commits (1) - [`376d4c8`](https://github.com/ollama/ollama-python/commit/376d4c8bc2511926b183d7117775af3f8c89c841) Bump ruff from 0.4.3 to 0.4.5 ### 📊 Changes **1 file changed** (+18 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `poetry.lock` (+18 -18) </details> ### 📄 Description Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.3 to 0.4.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>v0.4.5</h2> <h2>Changes</h2> <h3>Ruff's language server is now in Beta</h3> <p><code>v0.4.5</code> marks the official Beta release of <code>ruff server</code>, an integrated language server built into Ruff. <code>ruff server</code> supports the same feature set as <code>ruff-lsp</code>, powering linting, formatting, and code fixes in Ruff's editor integrations -- but with superior performance and no installation required. We'd love your feedback!</p> <p>You can enable <code>ruff server</code> in the <a href="https://github.com/astral-sh/ruff-vscode?tab=readme-ov-file#enabling-the-rust-based-language-server">VS Code extension</a> today.</p> <p>To read more about this exciting milestone, check out our <a href="https://astral.sh/blog/ruff-v0.4.5">blog post</a>!</p> <h3>Rule changes</h3> <ul> <li>[<code>flake8-future-annotations</code>] Reword <code>future-rewritable-type-annotation</code> (<code>FA100</code>) message (<a href="https://redirect.github.com/astral-sh/ruff/pull/11381">#11381</a>)</li> <li>[<code>pycodestyle</code>] Consider soft keywords for <code>E27</code> rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/11446">#11446</a>)</li> <li>[<code>pyflakes</code>] Recommend adding unused import bindings to <code>__all__</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11314">#11314</a>)</li> <li>[<code>pyflakes</code>] Update documentation and deprecate <code>ignore_init_module_imports</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11436">#11436</a>)</li> <li>[<code>pyupgrade</code>] Mark quotes as unnecessary for non-evaluated annotations (<a href="https://redirect.github.com/astral-sh/ruff/pull/11485">#11485</a>)</li> </ul> <h3>Formatter</h3> <ul> <li>Avoid multiline quotes warning with <code>quote-style = preserve</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11490">#11490</a>)</li> </ul> <h3>Server</h3> <ul> <li>Support Jupyter Notebook files (<a href="https://redirect.github.com/astral-sh/ruff/pull/11206">#11206</a>)</li> <li>Support <code>noqa</code> comment code actions (<a href="https://redirect.github.com/astral-sh/ruff/pull/11276">#11276</a>)</li> <li>Fix automatic configuration reloading (<a href="https://redirect.github.com/astral-sh/ruff/pull/11492">#11492</a>)</li> <li>Fix several issues with configuration in Neovim and Helix (<a href="https://redirect.github.com/astral-sh/ruff/pull/11497">#11497</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Add <code>--output-format</code> as a CLI option for <code>ruff config</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11438">#11438</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Avoid <code>PLE0237</code> for property with setter (<a href="https://redirect.github.com/astral-sh/ruff/pull/11377">#11377</a>)</li> <li>Avoid <code>TCH005</code> for <code>if</code> stmt with <code>elif</code>/<code>else</code> block (<a href="https://redirect.github.com/astral-sh/ruff/pull/11376">#11376</a>)</li> <li>Avoid flagging <code>__future__</code> annotations as required for non-evaluated type annotations (<a href="https://redirect.github.com/astral-sh/ruff/pull/11414">#11414</a>)</li> <li>Check for ruff executable in 'bin' directory as installed by 'pip install --target'. (<a href="https://redirect.github.com/astral-sh/ruff/pull/11450">#11450</a>)</li> <li>Sort edits prior to deduplicating in quotation fix (<a href="https://redirect.github.com/astral-sh/ruff/pull/11452">#11452</a>)</li> <li>Treat escaped newline as valid sequence (<a href="https://redirect.github.com/astral-sh/ruff/pull/11465">#11465</a>)</li> <li>[<code>flake8-pie</code>] Preserve parentheses in <code>unnecessary-dict-kwargs</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11372">#11372</a>)</li> <li>[<code>pylint</code>] Ignore <code>__slots__</code> with dynamic values (<a href="https://redirect.github.com/astral-sh/ruff/pull/11488">#11488</a>)</li> <li>[<code>pylint</code>] Remove <code>try</code> body from branch counting (<a href="https://redirect.github.com/astral-sh/ruff/pull/11487">#11487</a>)</li> <li>[<code>refurb</code>] Respect operator precedence in <code>FURB110</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11464">#11464</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Add <code>--preview</code> to the README (<a href="https://redirect.github.com/astral-sh/ruff/pull/11395">#11395</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.4.5</h2> <h3>Ruff's language server is now in Beta</h3> <p><code>v0.4.5</code> marks the official Beta release of <code>ruff server</code>, an integrated language server built into Ruff. <code>ruff server</code> supports the same feature set as <code>ruff-lsp</code>, powering linting, formatting, and code fixes in Ruff's editor integrations -- but with superior performance and no installation required. We'd love your feedback!</p> <p>You can enable <code>ruff server</code> in the <a href="https://github.com/astral-sh/ruff-vscode?tab=readme-ov-file#enabling-the-rust-based-language-server">VS Code extension</a> today.</p> <p>To read more about this exciting milestone, check out our <a href="https://astral.sh/blog/ruff-v0.4.5">blog post</a>!</p> <h3>Rule changes</h3> <ul> <li>[<code>flake8-future-annotations</code>] Reword <code>future-rewritable-type-annotation</code> (<code>FA100</code>) message (<a href="https://redirect.github.com/astral-sh/ruff/pull/11381">#11381</a>)</li> <li>[<code>pycodestyle</code>] Consider soft keywords for <code>E27</code> rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/11446">#11446</a>)</li> <li>[<code>pyflakes</code>] Recommend adding unused import bindings to <code>__all__</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11314">#11314</a>)</li> <li>[<code>pyflakes</code>] Update documentation and deprecate <code>ignore_init_module_imports</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11436">#11436</a>)</li> <li>[<code>pyupgrade</code>] Mark quotes as unnecessary for non-evaluated annotations (<a href="https://redirect.github.com/astral-sh/ruff/pull/11485">#11485</a>)</li> </ul> <h3>Formatter</h3> <ul> <li>Avoid multiline quotes warning with <code>quote-style = preserve</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11490">#11490</a>)</li> </ul> <h3>Server</h3> <ul> <li>Support Jupyter Notebook files (<a href="https://redirect.github.com/astral-sh/ruff/pull/11206">#11206</a>)</li> <li>Support <code>noqa</code> comment code actions (<a href="https://redirect.github.com/astral-sh/ruff/pull/11276">#11276</a>)</li> <li>Fix automatic configuration reloading (<a href="https://redirect.github.com/astral-sh/ruff/pull/11492">#11492</a>)</li> <li>Fix several issues with configuration in Neovim and Helix (<a href="https://redirect.github.com/astral-sh/ruff/pull/11497">#11497</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Add <code>--output-format</code> as a CLI option for <code>ruff config</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11438">#11438</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Avoid <code>PLE0237</code> for property with setter (<a href="https://redirect.github.com/astral-sh/ruff/pull/11377">#11377</a>)</li> <li>Avoid <code>TCH005</code> for <code>if</code> stmt with <code>elif</code>/<code>else</code> block (<a href="https://redirect.github.com/astral-sh/ruff/pull/11376">#11376</a>)</li> <li>Avoid flagging <code>__future__</code> annotations as required for non-evaluated type annotations (<a href="https://redirect.github.com/astral-sh/ruff/pull/11414">#11414</a>)</li> <li>Check for ruff executable in 'bin' directory as installed by 'pip install --target'. (<a href="https://redirect.github.com/astral-sh/ruff/pull/11450">#11450</a>)</li> <li>Sort edits prior to deduplicating in quotation fix (<a href="https://redirect.github.com/astral-sh/ruff/pull/11452">#11452</a>)</li> <li>Treat escaped newline as valid sequence (<a href="https://redirect.github.com/astral-sh/ruff/pull/11465">#11465</a>)</li> <li>[<code>flake8-pie</code>] Preserve parentheses in <code>unnecessary-dict-kwargs</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11372">#11372</a>)</li> <li>[<code>pylint</code>] Ignore <code>__slots__</code> with dynamic values (<a href="https://redirect.github.com/astral-sh/ruff/pull/11488">#11488</a>)</li> <li>[<code>pylint</code>] Remove <code>try</code> body from branch counting (<a href="https://redirect.github.com/astral-sh/ruff/pull/11487">#11487</a>)</li> <li>[<code>refurb</code>] Respect operator precedence in <code>FURB110</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11464">#11464</a>)</li> </ul> <h3>Documentation</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/550aa871d32b53a2f042fb0e7fea1080eadfa11d"><code>550aa87</code></a> Bump version to <code>v0.4.5</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/11502">#11502</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/3c22a3bdccf703e42fc2778db5857bb688422c8c"><code>3c22a3b</code></a> Minor edits to <code>ruff server</code> docs (<a href="https://redirect.github.com/astral-sh/ruff/issues/11500">#11500</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/6263923915b5678fd496f7646ef8d2eca9b23607"><code>6263923</code></a> Update documentation for <code>ruff server</code> with new migration guide (<a href="https://redirect.github.com/astral-sh/ruff/issues/11499">#11499</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/94abea4b0822f99f97e01d9adadddc82acd8d8b8"><code>94abea4</code></a> <code>ruff server</code>: Fix multiple issues with Neovim and Helix (<a href="https://redirect.github.com/astral-sh/ruff/issues/11497">#11497</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/519a65007fe2ff714103fb023aacb49a71551a7f"><code>519a650</code></a> Mark quotes as unnecessary for non-evaluated annotations (<a href="https://redirect.github.com/astral-sh/ruff/issues/11485">#11485</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/573facd2bad5d43abed7c9da903f9cf243d29d58"><code>573facd</code></a> Fix automatic configuration reloading for text and notebook documents (<a href="https://redirect.github.com/astral-sh/ruff/issues/11492">#11492</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/3cb2e677aa0b88075f248ea44c5d2e844b82a0a7"><code>3cb2e67</code></a> <code>ruff.applyFormat</code> now formats an entire notebook document (<a href="https://redirect.github.com/astral-sh/ruff/issues/11493">#11493</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/f0046ab28e67c5d6b3ce5951817f715333b4538d"><code>f0046ab</code></a> Move <code>has_comments</code> to <code>CommentRanges</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/11495">#11495</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/5bb9720a10618ed9cecc401df231e360710780ee"><code>5bb9720</code></a> Avoid multiline quotes warning with <code>quote-style = preserve</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/11490">#11490</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/9ff18bf9d34846e2b6182d72609ba32131e2b356"><code>9ff18bf</code></a> Simplify Neovim docs for the LSP setup (<a href="https://redirect.github.com/astral-sh/ruff/issues/11489">#11489</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/v0.4.3...v0.4.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.4.3&new-version=0.4.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:14 -05:00
yindo closed this issue 2026-02-15 16:30:14 -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#391