[PR #148] [MERGED] Bump ruff from 0.4.1 to 0.4.3 #382

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama-python/pull/148
Author: @dependabot[bot]
Created: 5/6/2024
Status: Merged
Merged: 5/8/2024
Merged by: @dependabot[bot]

Base: mainHead: dependabot/pip/ruff-0.4.3


📝 Commits (1)

  • 5cf83dc Bump ruff from 0.4.1 to 0.4.3

📊 Changes

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

View changed files

📝 poetry.lock (+18 -18)

📄 Description

Bumps ruff from 0.4.1 to 0.4.3.

Release notes

Sourced from ruff's releases.

v0.4.3

Changes

Enhancements

  • Add support for PEP 696 syntax (#11120)

Preview features

  • [refurb] Use function range for reimplemented-operator diagnostics (#11271)
  • [refurb] Ignore methods in reimplemented-operator (FURB118) (#11270)
  • [refurb] Implement fstring-number-format (FURB116) (#10921)
  • [ruff] Implement redirected-noqa (RUF101) (#11052)
  • [pyflakes] Distinguish between first-party and third-party imports for fix suggestions (#11168)

Rule changes

  • [flake8-bugbear] Ignore non-abstract class attributes when enforcing B024 (#11210)
  • [flake8-logging] Include inline instantiations when detecting loggers (#11154)
  • [pylint] Also emit PLR0206 for properties with variadic parameters (#11200)
  • [ruff] Detect duplicate codes as part of unused-noqa (RUF100) (#10850)

Formatter

  • Avoid multiline expression if format specifier is present (#11123)

LSP

  • Write ruff server setup guide for Helix (#11183)
  • ruff server no longer hangs after shutdown (#11222)
  • ruff server reads from a configuration TOML file in the user configuration directory if no local configuration exists (#11225)
  • ruff server respects per-file-ignores configuration (#11224)
  • ruff server: Support a custom TOML configuration file (#11140)
  • ruff server: Support setting to prioritize project configuration over editor configuration (#11086)

Bug fixes

  • Avoid debug assertion around NFKC renames (#11249)
  • [pyflakes] Prioritize redefined-while-unused over unused-import (#11173)
  • [ruff] Respect async expressions in comprehension bodies (#11219)
  • [pygrep_hooks] Fix blanket-noqa panic when last line has noqa with no newline (PGH004) (#11108)
  • [perflint] Ignore list-copy recommendations for async for loops (#11250)
  • [pyflakes] Improve invalid-print-syntax documentation (#11171)

Performance

  • Avoid allocations for isort module names (#11251)
  • Build a separate ARM wheel for macOS (#11149)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.4.3

Enhancements

  • Add support for PEP 696 syntax (#11120)

Preview features

  • [refurb] Use function range for reimplemented-operator diagnostics (#11271)
  • [refurb] Ignore methods in reimplemented-operator (FURB118) (#11270)
  • [refurb] Implement fstring-number-format (FURB116) (#10921)
  • [ruff] Implement redirected-noqa (RUF101) (#11052)
  • [pyflakes] Distinguish between first-party and third-party imports for fix suggestions (#11168)

Rule changes

  • [flake8-bugbear] Ignore non-abstract class attributes when enforcing B024 (#11210)
  • [flake8-logging] Include inline instantiations when detecting loggers (#11154)
  • [pylint] Also emit PLR0206 for properties with variadic parameters (#11200)
  • [ruff] Detect duplicate codes as part of unused-noqa (RUF100) (#10850)

Formatter

  • Avoid multiline expression if format specifier is present (#11123)

LSP

  • Write ruff server setup guide for Helix (#11183)
  • ruff server no longer hangs after shutdown (#11222)
  • ruff server reads from a configuration TOML file in the user configuration directory if no local configuration exists (#11225)
  • ruff server respects per-file-ignores configuration (#11224)
  • ruff server: Support a custom TOML configuration file (#11140)
  • ruff server: Support setting to prioritize project configuration over editor configuration (#11086)

Bug fixes

  • Avoid debug assertion around NFKC renames (#11249)
  • [pyflakes] Prioritize redefined-while-unused over unused-import (#11173)
  • [ruff] Respect async expressions in comprehension bodies (#11219)
  • [pygrep_hooks] Fix blanket-noqa panic when last line has noqa with no newline (PGH004) (#11108)
  • [perflint] Ignore list-copy recommendations for async for loops (#11250)
  • [pyflakes] Improve invalid-print-syntax documentation (#11171)

Performance

  • Avoid allocations for isort module names (#11251)
  • Build a separate ARM wheel for macOS (#11149)

0.4.2

... (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/148 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 5/6/2024 **Status:** ✅ Merged **Merged:** 5/8/2024 **Merged by:** [@dependabot[bot]](https://github.com/apps/dependabot) **Base:** `main` ← **Head:** `dependabot/pip/ruff-0.4.3` --- ### 📝 Commits (1) - [`5cf83dc`](https://github.com/ollama/ollama-python/commit/5cf83dcda871b0bf44ebf9c62e92c4ba45bee54a) Bump ruff from 0.4.1 to 0.4.3 ### 📊 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.1 to 0.4.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>v0.4.3</h2> <h2>Changes</h2> <h3>Enhancements</h3> <ul> <li>Add support for PEP 696 syntax (<a href="https://redirect.github.com/astral-sh/ruff/pull/11120">#11120</a>)</li> </ul> <h3>Preview features</h3> <ul> <li>[<code>refurb</code>] Use function range for <code>reimplemented-operator</code> diagnostics (<a href="https://redirect.github.com/astral-sh/ruff/pull/11271">#11271</a>)</li> <li>[<code>refurb</code>] Ignore methods in <code>reimplemented-operator</code> (<code>FURB118</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11270">#11270</a>)</li> <li>[<code>refurb</code>] Implement <code>fstring-number-format</code> (<code>FURB116</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10921">#10921</a>)</li> <li>[<code>ruff</code>] Implement <code>redirected-noqa</code> (<code>RUF101</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11052">#11052</a>)</li> <li>[<code>pyflakes</code>] Distinguish between first-party and third-party imports for fix suggestions (<a href="https://redirect.github.com/astral-sh/ruff/pull/11168">#11168</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-bugbear</code>] Ignore non-abstract class attributes when enforcing <code>B024</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11210">#11210</a>)</li> <li>[<code>flake8-logging</code>] Include inline instantiations when detecting loggers (<a href="https://redirect.github.com/astral-sh/ruff/pull/11154">#11154</a>)</li> <li>[<code>pylint</code>] Also emit <code>PLR0206</code> for properties with variadic parameters (<a href="https://redirect.github.com/astral-sh/ruff/pull/11200">#11200</a>)</li> <li>[<code>ruff</code>] Detect duplicate codes as part of <code>unused-noqa</code> (<code>RUF100</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10850">#10850</a>)</li> </ul> <h3>Formatter</h3> <ul> <li>Avoid multiline expression if format specifier is present (<a href="https://redirect.github.com/astral-sh/ruff/pull/11123">#11123</a>)</li> </ul> <h3>LSP</h3> <ul> <li>Write <code>ruff server</code> setup guide for Helix (<a href="https://redirect.github.com/astral-sh/ruff/pull/11183">#11183</a>)</li> <li><code>ruff server</code> no longer hangs after shutdown (<a href="https://redirect.github.com/astral-sh/ruff/pull/11222">#11222</a>)</li> <li><code>ruff server</code> reads from a configuration TOML file in the user configuration directory if no local configuration exists (<a href="https://redirect.github.com/astral-sh/ruff/pull/11225">#11225</a>)</li> <li><code>ruff server</code> respects <code>per-file-ignores</code> configuration (<a href="https://redirect.github.com/astral-sh/ruff/pull/11224">#11224</a>)</li> <li><code>ruff server</code>: Support a custom TOML configuration file (<a href="https://redirect.github.com/astral-sh/ruff/pull/11140">#11140</a>)</li> <li><code>ruff server</code>: Support setting to prioritize project configuration over editor configuration (<a href="https://redirect.github.com/astral-sh/ruff/pull/11086">#11086</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Avoid debug assertion around NFKC renames (<a href="https://redirect.github.com/astral-sh/ruff/pull/11249">#11249</a>)</li> <li>[<code>pyflakes</code>] Prioritize <code>redefined-while-unused</code> over <code>unused-import</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11173">#11173</a>)</li> <li>[<code>ruff</code>] Respect <code>async</code> expressions in comprehension bodies (<a href="https://redirect.github.com/astral-sh/ruff/pull/11219">#11219</a>)</li> <li>[<code>pygrep_hooks</code>] Fix <code>blanket-noqa</code> panic when last line has noqa with no newline (<code>PGH004</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11108">#11108</a>)</li> <li>[<code>perflint</code>] Ignore list-copy recommendations for async <code>for</code> loops (<a href="https://redirect.github.com/astral-sh/ruff/pull/11250">#11250</a>)</li> <li>[<code>pyflakes</code>] Improve <code>invalid-print-syntax</code> documentation (<a href="https://redirect.github.com/astral-sh/ruff/pull/11171">#11171</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Avoid allocations for isort module names (<a href="https://redirect.github.com/astral-sh/ruff/pull/11251">#11251</a>)</li> <li>Build a separate ARM wheel for macOS (<a href="https://redirect.github.com/astral-sh/ruff/pull/11149">#11149</a>)</li> </ul> <h2>Contributors</h2> <!-- 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.3</h2> <h3>Enhancements</h3> <ul> <li>Add support for PEP 696 syntax (<a href="https://redirect.github.com/astral-sh/ruff/pull/11120">#11120</a>)</li> </ul> <h3>Preview features</h3> <ul> <li>[<code>refurb</code>] Use function range for <code>reimplemented-operator</code> diagnostics (<a href="https://redirect.github.com/astral-sh/ruff/pull/11271">#11271</a>)</li> <li>[<code>refurb</code>] Ignore methods in <code>reimplemented-operator</code> (<code>FURB118</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11270">#11270</a>)</li> <li>[<code>refurb</code>] Implement <code>fstring-number-format</code> (<code>FURB116</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10921">#10921</a>)</li> <li>[<code>ruff</code>] Implement <code>redirected-noqa</code> (<code>RUF101</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11052">#11052</a>)</li> <li>[<code>pyflakes</code>] Distinguish between first-party and third-party imports for fix suggestions (<a href="https://redirect.github.com/astral-sh/ruff/pull/11168">#11168</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-bugbear</code>] Ignore non-abstract class attributes when enforcing <code>B024</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11210">#11210</a>)</li> <li>[<code>flake8-logging</code>] Include inline instantiations when detecting loggers (<a href="https://redirect.github.com/astral-sh/ruff/pull/11154">#11154</a>)</li> <li>[<code>pylint</code>] Also emit <code>PLR0206</code> for properties with variadic parameters (<a href="https://redirect.github.com/astral-sh/ruff/pull/11200">#11200</a>)</li> <li>[<code>ruff</code>] Detect duplicate codes as part of <code>unused-noqa</code> (<code>RUF100</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/10850">#10850</a>)</li> </ul> <h3>Formatter</h3> <ul> <li>Avoid multiline expression if format specifier is present (<a href="https://redirect.github.com/astral-sh/ruff/pull/11123">#11123</a>)</li> </ul> <h3>LSP</h3> <ul> <li>Write <code>ruff server</code> setup guide for Helix (<a href="https://redirect.github.com/astral-sh/ruff/pull/11183">#11183</a>)</li> <li><code>ruff server</code> no longer hangs after shutdown (<a href="https://redirect.github.com/astral-sh/ruff/pull/11222">#11222</a>)</li> <li><code>ruff server</code> reads from a configuration TOML file in the user configuration directory if no local configuration exists (<a href="https://redirect.github.com/astral-sh/ruff/pull/11225">#11225</a>)</li> <li><code>ruff server</code> respects <code>per-file-ignores</code> configuration (<a href="https://redirect.github.com/astral-sh/ruff/pull/11224">#11224</a>)</li> <li><code>ruff server</code>: Support a custom TOML configuration file (<a href="https://redirect.github.com/astral-sh/ruff/pull/11140">#11140</a>)</li> <li><code>ruff server</code>: Support setting to prioritize project configuration over editor configuration (<a href="https://redirect.github.com/astral-sh/ruff/pull/11086">#11086</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Avoid debug assertion around NFKC renames (<a href="https://redirect.github.com/astral-sh/ruff/pull/11249">#11249</a>)</li> <li>[<code>pyflakes</code>] Prioritize <code>redefined-while-unused</code> over <code>unused-import</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11173">#11173</a>)</li> <li>[<code>ruff</code>] Respect <code>async</code> expressions in comprehension bodies (<a href="https://redirect.github.com/astral-sh/ruff/pull/11219">#11219</a>)</li> <li>[<code>pygrep_hooks</code>] Fix <code>blanket-noqa</code> panic when last line has noqa with no newline (<code>PGH004</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11108">#11108</a>)</li> <li>[<code>perflint</code>] Ignore list-copy recommendations for async <code>for</code> loops (<a href="https://redirect.github.com/astral-sh/ruff/pull/11250">#11250</a>)</li> <li>[<code>pyflakes</code>] Improve <code>invalid-print-syntax</code> documentation (<a href="https://redirect.github.com/astral-sh/ruff/pull/11171">#11171</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Avoid allocations for isort module names (<a href="https://redirect.github.com/astral-sh/ruff/pull/11251">#11251</a>)</li> <li>Build a separate ARM wheel for macOS (<a href="https://redirect.github.com/astral-sh/ruff/pull/11149">#11149</a>)</li> </ul> <h2>0.4.2</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/1e91a0991828382f24e9306894ca23a186ed9635"><code>1e91a09</code></a> Bump version to v0.4.3 (<a href="https://redirect.github.com/astral-sh/ruff/issues/11274">#11274</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/d0f51c643414f185b7ee243d096f02956d1f7004"><code>d0f51c6</code></a> Remove remaining <code>ruff_shrinking</code> references (<a href="https://redirect.github.com/astral-sh/ruff/issues/11272">#11272</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/8dd38110d9bd97cc1cbdcf747d2a0b566d374615"><code>8dd3811</code></a> Use function range for <code>reimplemented-operator</code> diagnostics (<a href="https://redirect.github.com/astral-sh/ruff/issues/11271">#11271</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/894cd13ec1099ab1678aaa0274cc43dd9c2bb141"><code>894cd13</code></a> [<code>refurb</code>] Ignore methods in <code>reimplemented-operator</code> (<code>FURB118</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/11270">#11270</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/f3284fde9aff9df55fcc0a50b0d236c7e7f5f7ba"><code>f3284fd</code></a> Remove unnecessary check for RUF020 enabled (<a href="https://redirect.github.com/astral-sh/ruff/issues/11268">#11268</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/82dd5e693691c3e1ad3381be12232c0f2a55e84e"><code>82dd5e6</code></a> [red-knot] resolve class members (<a href="https://redirect.github.com/astral-sh/ruff/issues/11256">#11256</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/6a1e5555377457f4a7c799b72341684a58c0887b"><code>6a1e555</code></a> Upgrade to Rust 1.78 (<a href="https://redirect.github.com/astral-sh/ruff/issues/11260">#11260</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/349a4cf8cea9cfa5bfdd78e94c40220886008b7a"><code>349a4cf</code></a> Remove trailing reference section (<a href="https://redirect.github.com/astral-sh/ruff/issues/11257">#11257</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/dfbeca5bdd93cd84632654eabf1b22044e7d42ea"><code>dfbeca5</code></a> <code>ruff server</code> no longer hangs after shutdown (<a href="https://redirect.github.com/astral-sh/ruff/issues/11222">#11222</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/9e69cd6e9392f73744d8b90a7587c4921477add3"><code>9e69cd6</code></a> Rephrase rationale for <code>pytest-incorrect-pytest-import</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/11255">#11255</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/v0.4.1...v0.4.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.4.1&new-version=0.4.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:11 -05:00
yindo closed this issue 2026-02-15 16:30:11 -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#382