[PR #153] [CLOSED] Bump ruff from 0.4.3 to 0.4.4 #385

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

📋 Pull Request Information

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

Base: mainHead: dependabot/pip/ruff-0.4.4


📝 Commits (1)

  • 47dba99 Bump ruff from 0.4.3 to 0.4.4

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

Release notes

Sourced from ruff's releases.

v0.4.4

Changes

Preview features

  • [pycodestyle] Ignore end-of-line comments when determining blank line rules (#11342)
  • [pylint] Detect pathlib.Path.open calls in unspecified-encoding (PLW1514) (#11288)
  • [flake8-pyi] Implement PYI059 (generic-not-last-base-class) (#11233)
  • [flake8-pyi] Implement PYI062 (duplicate-literal-member) (#11269)

Rule changes

  • [flake8-boolean-trap] Allow passing booleans as positional-only arguments in code such as set(True) (#11287)
  • [flake8-bugbear] Ignore enum classes in cached-instance-method (B019) (#11312)

Server

  • Expand tildes when resolving Ruff server configuration file (#11283)
  • Fix ruff server hanging after Neovim closes (#11291)
  • Editor settings are used by default if no file-based configuration exists (#11266)

Bug fixes

  • [pylint] Consider with statements for too-many-branches (PLR0912) (#11321)
  • [flake8-blind-except, tryceratops] Respect logged and re-raised expressions in nested statements (BLE001, TRY201) (#11301)
  • Recognise assignments such as __all__ = builtins.list(["foo", "bar"]) as valid __all__ definitions (#11335)

Contributors

Changelog

Sourced from ruff's changelog.

0.4.4

Preview features

  • [pycodestyle] Ignore end-of-line comments when determining blank line rules (#11342)
  • [pylint] Detect pathlib.Path.open calls in unspecified-encoding (PLW1514) (#11288)
  • [flake8-pyi] Implement PYI059 (generic-not-last-base-class) (#11233)
  • [flake8-pyi] Implement PYI062 (duplicate-literal-member) (#11269)

Rule changes

  • [flake8-boolean-trap] Allow passing booleans as positional-only arguments in code such as set(True) (#11287)
  • [flake8-bugbear] Ignore enum classes in cached-instance-method (B019) (#11312)

Server

  • Expand tildes when resolving Ruff server configuration file (#11283)
  • Fix ruff server hanging after Neovim closes (#11291)
  • Editor settings are used by default if no file-based configuration exists (#11266)

Bug fixes

  • [pylint] Consider with statements for too-many-branches (PLR0912) (#11321)
  • [flake8-blind-except, tryceratops] Respect logged and re-raised expressions in nested statements (BLE001, TRY201) (#11301)
  • Recognise assignments such as __all__ = builtins.list(["foo", "bar"]) as valid __all__ definitions (#11335)
Commits
  • 3e8878a Bump version to v0.4.4 (#11352)
  • b6b4ad9 [red-knot] @​override lint rule (#11282)
  • dd42961 [pylint] Detect pathlib.Path.open calls in unspecified-encoding (`PLW15...
  • c80c171 [red-knot] Vendor typeshed's stdlib (#11340)
  • e2fe177 Revert "Simplify arithmetic operation in logical lines checker (#11346)" (#11...
  • e9d1cdd Simplify arithmetic operation in logical lines checker (#11346)
  • dfe4291 Improve ruff_python_semantic::all::extract_all_names() (#11335)
  • 4541337 [red-knot] Remove \<Db: SemanticDb> contraints in favor of dynamic dispatch ...
  • 8e9ddee Ignore end-of-line comments when determining blank line rules (#11342)
  • 702d2fa Make B024 and B027 documentation more nuanced (#11341)
  • 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/153 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 5/9/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dependabot/pip/ruff-0.4.4` --- ### 📝 Commits (1) - [`47dba99`](https://github.com/ollama/ollama-python/commit/47dba9985295072c933bfb29552c7f9882beba31) Bump ruff from 0.4.3 to 0.4.4 ### 📊 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.4. <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.4</h2> <h2>Changes</h2> <h3>Preview features</h3> <ul> <li>[<code>pycodestyle</code>] Ignore end-of-line comments when determining blank line rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/11342">#11342</a>)</li> <li>[<code>pylint</code>] Detect <code>pathlib.Path.open</code> calls in <code>unspecified-encoding</code> (<code>PLW1514</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11288">#11288</a>)</li> <li>[<code>flake8-pyi</code>] Implement <code>PYI059</code> (<code>generic-not-last-base-class</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11233">#11233</a>)</li> <li>[<code>flake8-pyi</code>] Implement <code>PYI062</code> (<code>duplicate-literal-member</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11269">#11269</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-boolean-trap</code>] Allow passing booleans as positional-only arguments in code such as <code>set(True)</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11287">#11287</a>)</li> <li>[<code>flake8-bugbear</code>] Ignore enum classes in <code>cached-instance-method</code> (<code>B019</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11312">#11312</a>)</li> </ul> <h3>Server</h3> <ul> <li>Expand tildes when resolving Ruff server configuration file (<a href="https://redirect.github.com/astral-sh/ruff/pull/11283">#11283</a>)</li> <li>Fix <code>ruff server</code> hanging after Neovim closes (<a href="https://redirect.github.com/astral-sh/ruff/pull/11291">#11291</a>)</li> <li>Editor settings are used by default if no file-based configuration exists (<a href="https://redirect.github.com/astral-sh/ruff/pull/11266">#11266</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>pylint</code>] Consider <code>with</code> statements for <code>too-many-branches</code> (<code>PLR0912</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11321">#11321</a>)</li> <li>[<code>flake8-blind-except</code>, <code>tryceratops</code>] Respect logged and re-raised expressions in nested statements (<code>BLE001</code>, <code>TRY201</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11301">#11301</a>)</li> <li>Recognise assignments such as <code>__all__ = builtins.list([&quot;foo&quot;, &quot;bar&quot;])</code> as valid <code>__all__</code> definitions (<a href="https://redirect.github.com/astral-sh/ruff/pull/11335">#11335</a>)</li> </ul> <h2>Contributors</h2> <ul> <li><a href="https://github.com/Abdur-rahmaanJ"><code>@​Abdur-rahmaanJ</code></a></li> <li><a href="https://github.com/AlexWaygood"><code>@​AlexWaygood</code></a></li> <li><a href="https://github.com/KPCOFGS"><code>@​KPCOFGS</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@​MichaReiser</code></a></li> <li><a href="https://github.com/augustelalande"><code>@​augustelalande</code></a></li> <li><a href="https://github.com/blueraft"><code>@​blueraft</code></a></li> <li><a href="https://github.com/carljm"><code>@​carljm</code></a></li> <li><a href="https://github.com/carloshbcabral"><code>@​carloshbcabral</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/renovate"><code>@​renovate</code></a></li> <li><a href="https://github.com/snowsignal"><code>@​snowsignal</code></a></li> <li><a href="https://github.com/tusharsadhwani"><code>@​tusharsadhwani</code></a></li> </ul> </blockquote> </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.4</h2> <h3>Preview features</h3> <ul> <li>[<code>pycodestyle</code>] Ignore end-of-line comments when determining blank line rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/11342">#11342</a>)</li> <li>[<code>pylint</code>] Detect <code>pathlib.Path.open</code> calls in <code>unspecified-encoding</code> (<code>PLW1514</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11288">#11288</a>)</li> <li>[<code>flake8-pyi</code>] Implement <code>PYI059</code> (<code>generic-not-last-base-class</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11233">#11233</a>)</li> <li>[<code>flake8-pyi</code>] Implement <code>PYI062</code> (<code>duplicate-literal-member</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11269">#11269</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-boolean-trap</code>] Allow passing booleans as positional-only arguments in code such as <code>set(True)</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11287">#11287</a>)</li> <li>[<code>flake8-bugbear</code>] Ignore enum classes in <code>cached-instance-method</code> (<code>B019</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11312">#11312</a>)</li> </ul> <h3>Server</h3> <ul> <li>Expand tildes when resolving Ruff server configuration file (<a href="https://redirect.github.com/astral-sh/ruff/pull/11283">#11283</a>)</li> <li>Fix <code>ruff server</code> hanging after Neovim closes (<a href="https://redirect.github.com/astral-sh/ruff/pull/11291">#11291</a>)</li> <li>Editor settings are used by default if no file-based configuration exists (<a href="https://redirect.github.com/astral-sh/ruff/pull/11266">#11266</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>pylint</code>] Consider <code>with</code> statements for <code>too-many-branches</code> (<code>PLR0912</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11321">#11321</a>)</li> <li>[<code>flake8-blind-except</code>, <code>tryceratops</code>] Respect logged and re-raised expressions in nested statements (<code>BLE001</code>, <code>TRY201</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11301">#11301</a>)</li> <li>Recognise assignments such as <code>__all__ = builtins.list([&quot;foo&quot;, &quot;bar&quot;])</code> as valid <code>__all__</code> definitions (<a href="https://redirect.github.com/astral-sh/ruff/pull/11335">#11335</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/3e8878a1c852399dffedb0236097afcfb4780b81"><code>3e8878a</code></a> Bump version to v0.4.4 (<a href="https://redirect.github.com/astral-sh/ruff/issues/11352">#11352</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/b6b4ad99497b65ebc6b8c21944fe41115c32477a"><code>b6b4ad9</code></a> [red-knot] <a href="https://github.com/override"><code>@​override</code></a> lint rule (<a href="https://redirect.github.com/astral-sh/ruff/issues/11282">#11282</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/dd42961dd9d85a3e70baf1acf0bdd60db4393455"><code>dd42961</code></a> [<code>pylint</code>] Detect <code>pathlib.Path.open</code> calls in <code>unspecified-encoding</code> (`PLW15...</li> <li><a href="https://github.com/astral-sh/ruff/commit/c80c1712f05b0843976f439124b4678023c14e93"><code>c80c171</code></a> [red-knot] Vendor typeshed's stdlib (<a href="https://redirect.github.com/astral-sh/ruff/issues/11340">#11340</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/e2fe177c6b4e867d59409c809781a7d6922e778a"><code>e2fe177</code></a> Revert &quot;Simplify arithmetic operation in logical lines checker (<a href="https://redirect.github.com/astral-sh/ruff/issues/11346">#11346</a>)&quot; (<a href="https://redirect.github.com/astral-sh/ruff/issues/11">#11</a>...</li> <li><a href="https://github.com/astral-sh/ruff/commit/e9d1cddc97572b7bb255f1b6db993e56c0cbdba2"><code>e9d1cdd</code></a> Simplify arithmetic operation in logical lines checker (<a href="https://redirect.github.com/astral-sh/ruff/issues/11346">#11346</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/dfe4291c0b7249ae892f5f1d513e6f1404436c13"><code>dfe4291</code></a> Improve <code>ruff_python_semantic::all::extract_all_names()</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/11335">#11335</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/4541337f3d3d0c09fe09910b6324ebe4f61111d9"><code>4541337</code></a> [red-knot] Remove <code>\&lt;Db: SemanticDb&gt;</code> contraints in favor of dynamic dispatch ...</li> <li><a href="https://github.com/astral-sh/ruff/commit/8e9ddee392326832016d3a10285b55bf9e2a8319"><code>8e9ddee</code></a> Ignore end-of-line comments when determining blank line rules (<a href="https://redirect.github.com/astral-sh/ruff/issues/11342">#11342</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/702d2fa1eb93009a662d33f5805fc12ddac69b4f"><code>702d2fa</code></a> Make B024 and B027 documentation more nuanced (<a href="https://redirect.github.com/astral-sh/ruff/issues/11341">#11341</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/v0.4.3...v0.4.4">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.4)](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:12 -05:00
yindo closed this issue 2026-02-15 16:30:12 -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#385