[PR #172] [MERGED] Bump ruff from 0.4.3 to 0.4.7 #394

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/172
Author: @dependabot[bot]
Created: 5/31/2024
Status: Merged
Merged: 6/5/2024
Merged by: @dependabot[bot]

Base: mainHead: dependabot/pip/ruff-0.4.7


📝 Commits (1)

  • 4fb909d Bump ruff from 0.4.3 to 0.4.7

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

Release notes

Sourced from ruff's releases.

v0.4.7

Changes

Preview features

  • [flake8-pyi] Implement PYI064 (#11325)
  • [flake8-pyi] Implement PYI066 (#11541)
  • [flake8-pyi] Implement PYI057 (#11486)
  • [pyflakes] Add option to enable F822 in __init__.py files (#11370)

Formatter

  • Fix incorrect placement of trailing stub function comments (#11632)

Server

  • Respect file exclusions in ruff server (#11590)
  • Add support for documents not exist on disk (#11588)
  • Add Vim and Kate setup guide for ruff server (#11615)

Bug fixes

  • Avoid removing newlines between docstring headers and rST blocks (#11609)
  • Infer indentation with imports when logical indent is absent (#11608)
  • Use char index rather than position for indent slice (#11645)
  • [flake8-comprehension] Strip parentheses around generators in C400 (#11607)
  • Mark repeated-isinstance-calls as unsafe on Python 3.10 and later (#11622)

Contributors

v0.4.6

Changes

Breaking changes

  • Use project-relative paths when calculating GitLab fingerprints (#11532)

... (truncated)

Changelog

Sourced from ruff's changelog.

0.4.7

Preview features

  • [flake8-pyi] Implement PYI064 (#11325)
  • [flake8-pyi] Implement PYI066 (#11541)
  • [flake8-pyi] Implement PYI057 (#11486)
  • [pyflakes] Add option to enable F822 in __init__.py files (#11370)

Formatter

  • Fix incorrect placement of trailing stub function comments (#11632)

Server

  • Respect file exclusions in ruff server (#11590)
  • Add support for documents not exist on disk (#11588)
  • Add Vim and Kate setup guide for ruff server (#11615)

Bug fixes

  • Avoid removing newlines between docstring headers and rST blocks (#11609)
  • Infer indentation with imports when logical indent is absent (#11608)
  • Use char index rather than position for indent slice (#11645)
  • [flake8-comprehension] Strip parentheses around generators in C400 (#11607)
  • Mark repeated-isinstance-calls as unsafe on Python 3.10 and later (#11622)

0.4.6

Breaking changes

  • Use project-relative paths when calculating GitLab fingerprints (#11532)
  • Bump minimum supported Windows version to Windows 10 (#11613)

Preview features

  • [flake8-async] Sleep with >24 hour interval should usually sleep forever (ASYNC116) (#11498)

Rule changes

  • [numpy] Add missing functions to NumPy 2.0 migration rule (#11528)
  • [mccabe] Consider irrefutable pattern similar to if .. else for C901 (#11565)
  • Consider match-case statements for C901, PLR0912, and PLR0915 (#11521)
  • Remove empty strings when converting to f-string (UP032) (#11524)
  • [flake8-bandit] request-without-timeout should warn for requests.request (#11548)
  • [flake8-self] Ignore sunder accesses in flake8-self rules (#11546)
  • [pyupgrade] Lint for TypeAliasType usages (UP040) (#11530)

Server

... (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/172 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 5/31/2024 **Status:** ✅ Merged **Merged:** 6/5/2024 **Merged by:** [@dependabot[bot]](https://github.com/apps/dependabot) **Base:** `main` ← **Head:** `dependabot/pip/ruff-0.4.7` --- ### 📝 Commits (1) - [`4fb909d`](https://github.com/ollama/ollama-python/commit/4fb909db7b90a867f868d555f5cd3f93a8a0f714) Bump ruff from 0.4.3 to 0.4.7 ### 📊 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.7. <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.7</h2> <h2>Changes</h2> <h3>Preview features</h3> <ul> <li>[<code>flake8-pyi</code>] Implement <code>PYI064</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11325">#11325</a>)</li> <li>[<code>flake8-pyi</code>] Implement <code>PYI066</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11541">#11541</a>)</li> <li>[<code>flake8-pyi</code>] Implement <code>PYI057</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11486">#11486</a>)</li> <li>[<code>pyflakes</code>] Add option to enable F822 in <code>__init__.py</code> files (<a href="https://redirect.github.com/astral-sh/ruff/pull/11370">#11370</a>)</li> </ul> <h3>Formatter</h3> <ul> <li>Fix incorrect placement of trailing stub function comments (<a href="https://redirect.github.com/astral-sh/ruff/pull/11632">#11632</a>)</li> </ul> <h3>Server</h3> <ul> <li>Respect file exclusions in <code>ruff server</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11590">#11590</a>)</li> <li>Add support for documents not exist on disk (<a href="https://redirect.github.com/astral-sh/ruff/pull/11588">#11588</a>)</li> <li>Add Vim and Kate setup guide for <code>ruff server</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11615">#11615</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Avoid removing newlines between docstring headers and rST blocks (<a href="https://redirect.github.com/astral-sh/ruff/pull/11609">#11609</a>)</li> <li>Infer indentation with imports when logical indent is absent (<a href="https://redirect.github.com/astral-sh/ruff/pull/11608">#11608</a>)</li> <li>Use char index rather than position for indent slice (<a href="https://redirect.github.com/astral-sh/ruff/pull/11645">#11645</a>)</li> <li>[<code>flake8-comprehension</code>] Strip parentheses around generators in <code>C400</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11607">#11607</a>)</li> <li>Mark <code>repeated-isinstance-calls</code> as unsafe on Python 3.10 and later (<a href="https://redirect.github.com/astral-sh/ruff/pull/11622">#11622</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/Chubercik"><code>@​Chubercik</code></a></li> <li><a href="https://github.com/JaRoSchm"><code>@​JaRoSchm</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@​MichaReiser</code></a></li> <li><a href="https://github.com/T-256"><code>@​T-256</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/hassec"><code>@​hassec</code></a></li> <li><a href="https://github.com/plredmond"><code>@​plredmond</code></a></li> <li><a href="https://github.com/tomasr8"><code>@​tomasr8</code></a></li> <li><a href="https://github.com/tusharsadhwani"><code>@​tusharsadhwani</code></a></li> <li><a href="https://github.com/vitaliyf"><code>@​vitaliyf</code></a></li> </ul> <h2>v0.4.6</h2> <h2>Changes</h2> <h3>Breaking changes</h3> <ul> <li>Use project-relative paths when calculating GitLab fingerprints (<a href="https://redirect.github.com/astral-sh/ruff/pull/11532">#11532</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.7</h2> <h3>Preview features</h3> <ul> <li>[<code>flake8-pyi</code>] Implement <code>PYI064</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11325">#11325</a>)</li> <li>[<code>flake8-pyi</code>] Implement <code>PYI066</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11541">#11541</a>)</li> <li>[<code>flake8-pyi</code>] Implement <code>PYI057</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11486">#11486</a>)</li> <li>[<code>pyflakes</code>] Add option to enable F822 in <code>__init__.py</code> files (<a href="https://redirect.github.com/astral-sh/ruff/pull/11370">#11370</a>)</li> </ul> <h3>Formatter</h3> <ul> <li>Fix incorrect placement of trailing stub function comments (<a href="https://redirect.github.com/astral-sh/ruff/pull/11632">#11632</a>)</li> </ul> <h3>Server</h3> <ul> <li>Respect file exclusions in <code>ruff server</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11590">#11590</a>)</li> <li>Add support for documents not exist on disk (<a href="https://redirect.github.com/astral-sh/ruff/pull/11588">#11588</a>)</li> <li>Add Vim and Kate setup guide for <code>ruff server</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11615">#11615</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Avoid removing newlines between docstring headers and rST blocks (<a href="https://redirect.github.com/astral-sh/ruff/pull/11609">#11609</a>)</li> <li>Infer indentation with imports when logical indent is absent (<a href="https://redirect.github.com/astral-sh/ruff/pull/11608">#11608</a>)</li> <li>Use char index rather than position for indent slice (<a href="https://redirect.github.com/astral-sh/ruff/pull/11645">#11645</a>)</li> <li>[<code>flake8-comprehension</code>] Strip parentheses around generators in <code>C400</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11607">#11607</a>)</li> <li>Mark <code>repeated-isinstance-calls</code> as unsafe on Python 3.10 and later (<a href="https://redirect.github.com/astral-sh/ruff/pull/11622">#11622</a>)</li> </ul> <h2>0.4.6</h2> <h3>Breaking changes</h3> <ul> <li>Use project-relative paths when calculating GitLab fingerprints (<a href="https://redirect.github.com/astral-sh/ruff/pull/11532">#11532</a>)</li> <li>Bump minimum supported Windows version to Windows 10 (<a href="https://redirect.github.com/astral-sh/ruff/pull/11613">#11613</a>)</li> </ul> <h3>Preview features</h3> <ul> <li>[<code>flake8-async</code>] Sleep with &gt;24 hour interval should usually sleep forever (<code>ASYNC116</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11498">#11498</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>numpy</code>] Add missing functions to NumPy 2.0 migration rule (<a href="https://redirect.github.com/astral-sh/ruff/pull/11528">#11528</a>)</li> <li>[<code>mccabe</code>] Consider irrefutable pattern similar to <code>if .. else</code> for <code>C901</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11565">#11565</a>)</li> <li>Consider <code>match</code>-<code>case</code> statements for <code>C901</code>, <code>PLR0912</code>, and <code>PLR0915</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11521">#11521</a>)</li> <li>Remove empty strings when converting to f-string (<code>UP032</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11524">#11524</a>)</li> <li>[<code>flake8-bandit</code>] <code>request-without-timeout</code> should warn for <code>requests.request</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11548">#11548</a>)</li> <li>[<code>flake8-self</code>] Ignore sunder accesses in <code>flake8-self</code> rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/11546">#11546</a>)</li> <li>[<code>pyupgrade</code>] Lint for <code>TypeAliasType</code> usages (<code>UP040</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11530">#11530</a>)</li> </ul> <h3>Server</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/1ad5f9c0382f5fa8ed4f38c972a3799be89a7172"><code>1ad5f9c</code></a> Bump version to v0.4.7 (<a href="https://redirect.github.com/astral-sh/ruff/issues/11646">#11646</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/e914bc300b46840b0d48c5ece1c0e63418820ce0"><code>e914bc3</code></a> F401 sort bindings before adding to <strong>all</strong> (<a href="https://redirect.github.com/astral-sh/ruff/issues/11648">#11648</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/27f6f048f0bd6fd340e7010a96517340491ec119"><code>27f6f04</code></a> [red-knot] initial (very incomplete) flow graph (<a href="https://redirect.github.com/astral-sh/ruff/issues/11624">#11624</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/d62a617938fbf56169af6fb8bd0900e3a9cb1526"><code>d62a617</code></a> red-knot: Don't refer to <code>Module</code> instances as IDs (<a href="https://redirect.github.com/astral-sh/ruff/issues/11649">#11649</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/16a926d138108b22214a3c010c4d739baa56fe4a"><code>16a926d</code></a> [red-knot] infer int literal types (<a href="https://redirect.github.com/astral-sh/ruff/issues/11623">#11623</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/05566c6075d6e4a22af95f9e3600253ce247f16a"><code>05566c6</code></a> Update <code>Who's Using Ruff?</code> section to include <code>Godot</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/11647">#11647</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/7ce17b773643556d9d2c7aab1506ece87991c0f0"><code>7ce17b7</code></a> Add Vim and Kate setup guide for <code>ruff server</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/11615">#11615</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/f9a64503c82873a73358cd8d910fc5a4b80f3f59"><code>f9a6450</code></a> Use char index rather than position for indent slice (<a href="https://redirect.github.com/astral-sh/ruff/issues/11645">#11645</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/8a25531a7144fd4a6b62c54efde1ef28e2dc18c4"><code>8a25531</code></a> red-knot: improve internal documentation in <code>module.rs</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/11638">#11638</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/9b6d2ce1f2aa0db3d9b388b443e70fe760ada35c"><code>9b6d2ce</code></a> Fix incorect placement of trailing stub function comments (<a href="https://redirect.github.com/astral-sh/ruff/issues/11632">#11632</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/v0.4.3...v0.4.7">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.7)](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#394