[PR #230] [MERGED] Bump ruff from 0.5.2 to 0.5.5 #427

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama-python/pull/230
Author: @dependabot[bot]
Created: 7/25/2024
Status: Merged
Merged: 7/29/2024
Merged by: @dependabot[bot]

Base: mainHead: dependabot/pip/ruff-0.5.5


📝 Commits (1)

  • 8e3a8fe Bump ruff from 0.5.2 to 0.5.5

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

Release notes

Sourced from ruff's releases.

0.5.5

Release Notes

Preview features

  • [fastapi] Implement fastapi-redundant-response-model (FAST001) and fastapi-non-annotated-dependency(FAST002) (#11579)
  • [pydoclint] Implement docstring-missing-exception (DOC501) and docstring-extraneous-exception (DOC502) (#11471)

Rule changes

  • [numpy] Fix NumPy 2.0 rule for np.alltrue and np.sometrue (#12473)
  • [numpy] Ignore NPY201 inside except blocks for compatibility with older numpy versions (#12490)
  • [pep8-naming] Avoid applying ignore-names to self and cls function names (N804, N805) (#12497)

Formatter

  • Fix incorrect placement of leading function comment with type params (#12447)

Server

  • Do not bail code action resolution when a quick fix is requested (#12462)

Bug fixes

  • Fix Ord implementation of cmp_fix (#12471)
  • Raise syntax error for unparenthesized generator expression in multi-argument call (#12445)
  • [pydoclint] Fix panic in DOC501 reported in #12428 (#12435)
  • [flake8-bugbear] Allow singleton tuples with starred expressions in B013 (#12484)

Documentation

  • Add Eglot setup guide for Emacs editor (#12426)
  • Add note about the breaking change in nvim-lspconfig (#12507)
  • Add note to include notebook files for native server (#12449)
  • Add setup docs for Zed editor (#12501)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.5.5

Preview features

  • [fastapi] Implement fastapi-redundant-response-model (FAST001) and fastapi-non-annotated-dependency(FAST002) (#11579)
  • [pydoclint] Implement docstring-missing-exception (DOC501) and docstring-extraneous-exception (DOC502) (#11471)

Rule changes

  • [numpy] Fix NumPy 2.0 rule for np.alltrue and np.sometrue (#12473)
  • [numpy] Ignore NPY201 inside except blocks for compatibility with older numpy versions (#12490)
  • [pep8-naming] Avoid applying ignore-names to self and cls function names (N804, N805) (#12497)

Formatter

  • Fix incorrect placement of leading function comment with type params (#12447)

Server

  • Do not bail code action resolution when a quick fix is requested (#12462)

Bug fixes

  • Fix Ord implementation of cmp_fix (#12471)
  • Raise syntax error for unparenthesized generator expression in multi-argument call (#12445)
  • [pydoclint] Fix panic in DOC501 reported in #12428 (#12435)
  • [flake8-bugbear] Allow singleton tuples with starred expressions in B013 (#12484)

Documentation

  • Add Eglot setup guide for Emacs editor (#12426)
  • Add note about the breaking change in nvim-lspconfig (#12507)
  • Add note to include notebook files for native server (#12449)
  • Add setup docs for Zed editor (#12501)

0.5.4

Rule changes

  • [ruff] Rename RUF007 to zip-instead-of-pairwise (#12399)

Bug fixes

  • [flake8-builtins] Avoid shadowing diagnostics for @override methods (#12415)
  • [flake8-comprehensions] Insert parentheses for multi-argument generators (#12422)
  • [pydocstyle] Handle escaped docstrings within docstring (D301) (#12192)

Documentation

  • Fix GitHub link to Neovim setup (#12410)

... (truncated)

Commits
  • fc16d8d Bump version to 0.5.5 (#12510)
  • 175e5d7 Add missing traceback line in f-string-in-exception docstring. (#12508)
  • c03f257 Add note about the breaking change in nvim-lspconfig (#12507)
  • 6bbb4a2 Add setup docs for Zed editor (#12501)
  • 2ce3e3a Fix the search path tests on MacOS (#12503)
  • 2a64ccc Avoid applying ignore-names to self and cls function names (#12497)
  • 928ffd6 Ignore NPY201 inside except blocks for compatibility with older numpy ver...
  • e52be09 [red-knot] Improve validation for search paths (#12376)
  • 8890735 [flake8-bugbear] Allow singleton tuples with starred expressions in B013 (#12...
  • eac965e [red-knot] Watch search paths (#12407)
  • 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/230 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 7/25/2024 **Status:** ✅ Merged **Merged:** 7/29/2024 **Merged by:** [@dependabot[bot]](https://github.com/apps/dependabot) **Base:** `main` ← **Head:** `dependabot/pip/ruff-0.5.5` --- ### 📝 Commits (1) - [`8e3a8fe`](https://github.com/ollama/ollama-python/commit/8e3a8febba9b3fab7c755b1a5a90c1271715ecaf) Bump ruff from 0.5.2 to 0.5.5 ### 📊 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.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>0.5.5</h2> <h2>Release Notes</h2> <h3>Preview features</h3> <ul> <li>[<code>fastapi</code>] Implement <code>fastapi-redundant-response-model</code> (<code>FAST001</code>) and <code>fastapi-non-annotated-dependency</code>(<code>FAST002</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11579">#11579</a>)</li> <li>[<code>pydoclint</code>] Implement <code>docstring-missing-exception</code> (<code>DOC501</code>) and <code>docstring-extraneous-exception</code> (<code>DOC502</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11471">#11471</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>numpy</code>] Fix NumPy 2.0 rule for <code>np.alltrue</code> and <code>np.sometrue</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/12473">#12473</a>)</li> <li>[<code>numpy</code>] Ignore <code>NPY201</code> inside <code>except</code> blocks for compatibility with older numpy versions (<a href="https://redirect.github.com/astral-sh/ruff/pull/12490">#12490</a>)</li> <li>[<code>pep8-naming</code>] Avoid applying <code>ignore-names</code> to <code>self</code> and <code>cls</code> function names (<code>N804</code>, <code>N805</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12497">#12497</a>)</li> </ul> <h3>Formatter</h3> <ul> <li>Fix incorrect placement of leading function comment with type params (<a href="https://redirect.github.com/astral-sh/ruff/pull/12447">#12447</a>)</li> </ul> <h3>Server</h3> <ul> <li>Do not bail code action resolution when a quick fix is requested (<a href="https://redirect.github.com/astral-sh/ruff/pull/12462">#12462</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Fix <code>Ord</code> implementation of <code>cmp_fix</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/12471">#12471</a>)</li> <li>Raise syntax error for unparenthesized generator expression in multi-argument call (<a href="https://redirect.github.com/astral-sh/ruff/pull/12445">#12445</a>)</li> <li>[<code>pydoclint</code>] Fix panic in <code>DOC501</code> reported in <a href="https://redirect.github.com/astral-sh/ruff/pull/12428">#12428</a> (<a href="https://redirect.github.com/astral-sh/ruff/pull/12435">#12435</a>)</li> <li>[<code>flake8-bugbear</code>] Allow singleton tuples with starred expressions in <code>B013</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/12484">#12484</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Add Eglot setup guide for Emacs editor (<a href="https://redirect.github.com/astral-sh/ruff/pull/12426">#12426</a>)</li> <li>Add note about the breaking change in <code>nvim-lspconfig</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/12507">#12507</a>)</li> <li>Add note to include notebook files for native server (<a href="https://redirect.github.com/astral-sh/ruff/pull/12449">#12449</a>)</li> <li>Add setup docs for Zed editor (<a href="https://redirect.github.com/astral-sh/ruff/pull/12501">#12501</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/IvanIsCoding"><code>@​IvanIsCoding</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@​MichaReiser</code></a></li> <li><a href="https://github.com/TomerBin"><code>@​TomerBin</code></a></li> <li><a href="https://github.com/UriyaHarpeness"><code>@​UriyaHarpeness</code></a></li> <li><a href="https://github.com/augustelalande"><code>@​augustelalande</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/dylwil3"><code>@​dylwil3</code></a></li> <li><a href="https://github.com/foxmean"><code>@​foxmean</code></a></li> <li><a href="https://github.com/mtsokol"><code>@​mtsokol</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.5</h2> <h3>Preview features</h3> <ul> <li>[<code>fastapi</code>] Implement <code>fastapi-redundant-response-model</code> (<code>FAST001</code>) and <code>fastapi-non-annotated-dependency</code>(<code>FAST002</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11579">#11579</a>)</li> <li>[<code>pydoclint</code>] Implement <code>docstring-missing-exception</code> (<code>DOC501</code>) and <code>docstring-extraneous-exception</code> (<code>DOC502</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11471">#11471</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>numpy</code>] Fix NumPy 2.0 rule for <code>np.alltrue</code> and <code>np.sometrue</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/12473">#12473</a>)</li> <li>[<code>numpy</code>] Ignore <code>NPY201</code> inside <code>except</code> blocks for compatibility with older numpy versions (<a href="https://redirect.github.com/astral-sh/ruff/pull/12490">#12490</a>)</li> <li>[<code>pep8-naming</code>] Avoid applying <code>ignore-names</code> to <code>self</code> and <code>cls</code> function names (<code>N804</code>, <code>N805</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12497">#12497</a>)</li> </ul> <h3>Formatter</h3> <ul> <li>Fix incorrect placement of leading function comment with type params (<a href="https://redirect.github.com/astral-sh/ruff/pull/12447">#12447</a>)</li> </ul> <h3>Server</h3> <ul> <li>Do not bail code action resolution when a quick fix is requested (<a href="https://redirect.github.com/astral-sh/ruff/pull/12462">#12462</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Fix <code>Ord</code> implementation of <code>cmp_fix</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/12471">#12471</a>)</li> <li>Raise syntax error for unparenthesized generator expression in multi-argument call (<a href="https://redirect.github.com/astral-sh/ruff/pull/12445">#12445</a>)</li> <li>[<code>pydoclint</code>] Fix panic in <code>DOC501</code> reported in <a href="https://redirect.github.com/astral-sh/ruff/pull/12428">#12428</a> (<a href="https://redirect.github.com/astral-sh/ruff/pull/12435">#12435</a>)</li> <li>[<code>flake8-bugbear</code>] Allow singleton tuples with starred expressions in <code>B013</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/12484">#12484</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Add Eglot setup guide for Emacs editor (<a href="https://redirect.github.com/astral-sh/ruff/pull/12426">#12426</a>)</li> <li>Add note about the breaking change in <code>nvim-lspconfig</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/12507">#12507</a>)</li> <li>Add note to include notebook files for native server (<a href="https://redirect.github.com/astral-sh/ruff/pull/12449">#12449</a>)</li> <li>Add setup docs for Zed editor (<a href="https://redirect.github.com/astral-sh/ruff/pull/12501">#12501</a>)</li> </ul> <h2>0.5.4</h2> <h3>Rule changes</h3> <ul> <li>[<code>ruff</code>] Rename <code>RUF007</code> to <code>zip-instead-of-pairwise</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/12399">#12399</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>flake8-builtins</code>] Avoid shadowing diagnostics for <code>@override</code> methods (<a href="https://redirect.github.com/astral-sh/ruff/pull/12415">#12415</a>)</li> <li>[<code>flake8-comprehensions</code>] Insert parentheses for multi-argument generators (<a href="https://redirect.github.com/astral-sh/ruff/pull/12422">#12422</a>)</li> <li>[<code>pydocstyle</code>] Handle escaped docstrings within docstring (<code>D301</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/12192">#12192</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Fix GitHub link to Neovim setup (<a href="https://redirect.github.com/astral-sh/ruff/pull/12410">#12410</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/fc16d8d04d86aa94a8aac14bbb87089b64d443a1"><code>fc16d8d</code></a> Bump version to 0.5.5 (<a href="https://redirect.github.com/astral-sh/ruff/issues/12510">#12510</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/175e5d7b8840d8e05b30794cb1554c68c497129a"><code>175e5d7</code></a> Add missing traceback line in <code>f-string-in-exception</code> docstring. (<a href="https://redirect.github.com/astral-sh/ruff/issues/12508">#12508</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/c03f257ed745f6606a717e09c76c7f1a56611a29"><code>c03f257</code></a> Add note about the breaking change in <code>nvim-lspconfig</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/12507">#12507</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/6bbb4a28c2a51c49ded5d40f70672fcc4c6222d7"><code>6bbb4a2</code></a> Add setup docs for Zed editor (<a href="https://redirect.github.com/astral-sh/ruff/issues/12501">#12501</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/2ce3e3ae60ba44700b5e98a61adc96d80b0e4bd3"><code>2ce3e3a</code></a> Fix the search path tests on MacOS (<a href="https://redirect.github.com/astral-sh/ruff/issues/12503">#12503</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/2a64cccb61f1c84e5a58f907f46111ab36321466"><code>2a64ccc</code></a> Avoid applying <code>ignore-names</code> to <code>self</code> and <code>cls</code> function names (<a href="https://redirect.github.com/astral-sh/ruff/issues/12497">#12497</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/928ffd66503759679823c5f346941ef58486766e"><code>928ffd6</code></a> Ignore <code>NPY201</code> inside <code>except</code> blocks for compatibility with older numpy ver...</li> <li><a href="https://github.com/astral-sh/ruff/commit/e52be0951aad5483a0e453dded78627fc74e7e2a"><code>e52be09</code></a> [red-knot] Improve validation for search paths (<a href="https://redirect.github.com/astral-sh/ruff/issues/12376">#12376</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/889073578e12e85c83f983edfe360be9cd9e3155"><code>8890735</code></a> [flake8-bugbear] Allow singleton tuples with starred expressions in B013 (<a href="https://redirect.github.com/astral-sh/ruff/issues/12">#12</a>...</li> <li><a href="https://github.com/astral-sh/ruff/commit/eac965ecaf98832253e31e61143f7211e161c26d"><code>eac965e</code></a> [red-knot] Watch search paths (<a href="https://redirect.github.com/astral-sh/ruff/issues/12407">#12407</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.5.2...0.5.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.5.2&new-version=0.5.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:22 -05:00
yindo closed this issue 2026-02-15 16:30:22 -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#427