[PR #267] [MERGED] Bump ruff from 0.6.2 to 0.6.3 #443

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

📋 Pull Request Information

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

Base: mainHead: dependabot/pip/ruff-0.6.3


📝 Commits (1)

  • 5f51129 Bump ruff from 0.6.2 to 0.6.3

📊 Changes

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

View changed files

📝 poetry.lock (+19 -19)

📄 Description

Bumps ruff from 0.6.2 to 0.6.3.

Release notes

Sourced from ruff's releases.

0.6.3

Release Notes

Preview features

  • [flake8-simplify] Extend open-file-with-context-handler to work with dbm.sqlite3 (SIM115) (#13104)
  • [pycodestyle] Disable E741 in stub files (.pyi) (#13119)
  • [pydoclint] Avoid DOC201 on explicit returns in functions that only return None (#13064)

Rule changes

  • [flake8-async] Disable check for asyncio before Python 3.11 (ASYNC109) (#13023)

Bug fixes

  • [FastAPI] Avoid introducing invalid syntax in fix for fast-api-non-annotated-dependency (FAST002) (#13133)
  • [flake8-implicit-str-concat] Normalize octals before merging concatenated strings in single-line-implicit-string-concatenation (ISC001) (#13118)
  • [flake8-pytest-style] Improve help message for pytest-incorrect-mark-parentheses-style (PT023) (#13092)
  • [pylint] Avoid autofix for calls that aren't min or max as starred expression (PLW3301) (#13089)
  • [ruff] Add datetime.time, datetime.tzinfo, and datetime.timezone as immutable function calls (RUF009) (#13109)
  • [ruff] Extend comment deletion for RUF100 to include trailing text from noqa directives while preserving any following comments on the same line, if any (#13105)
  • Fix dark theme on initial page load for the Ruff playground (#13077)

Contributors

Install ruff 0.6.3

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.6.3/ruff-installer.sh | sh

Install prebuilt binaries via powershell script

... (truncated)

Changelog

Sourced from ruff's changelog.

0.6.3

Preview features

  • [flake8-simplify] Extend open-file-with-context-handler to work with dbm.sqlite3 (SIM115) (#13104)
  • [pycodestyle] Disable E741 in stub files (.pyi) (#13119)
  • [pydoclint] Avoid DOC201 on explicit returns in functions that only return None (#13064)

Rule changes

  • [flake8-async] Disable check for asyncio before Python 3.11 (ASYNC109) (#13023)

Bug fixes

  • [FastAPI] Avoid introducing invalid syntax in fix for fast-api-non-annotated-dependency (FAST002) (#13133)
  • [flake8-implicit-str-concat] Normalize octals before merging concatenated strings in single-line-implicit-string-concatenation (ISC001) (#13118)
  • [flake8-pytest-style] Improve help message for pytest-incorrect-mark-parentheses-style (PT023) (#13092)
  • [pylint] Avoid autofix for calls that aren't min or max as starred expression (PLW3301) (#13089)
  • [ruff] Add datetime.time, datetime.tzinfo, and datetime.timezone as immutable function calls (RUF009) (#13109)
  • [ruff] Extend comment deletion for RUF100 to include trailing text from noqa directives while preserving any following comments on the same line, if any (#13105)
  • Fix dark theme on initial page load for the Ruff playground (#13077)
Commits
  • ee258ca Bump version to 0.6.3 (#13152)
  • b4d9d26 Update faq.md to highlight changes to src (#13145)
  • a998320 [ruff] - extend comment deletions for unused-noqa (RUF100) (#13105)
  • 770ef2a [red-knot] support deferred evaluation of type expressions (#13131)
  • c6023c0 [red-knot] Add docs on using RAYON_NUM_THREADS for better logging (#13140)
  • df694ca [FastAPI] Avoid introducing invalid syntax in fix for `fast-api-non-annotat...
  • 2e75cfb Format PYI examples in docs as .pyi-file snippets (#13116)
  • cfafaa7 [red-knot] Remove very noisy tracing call when resolving ImportFrom stateme...
  • 3e9c7ad Replace crates by dependi for VS Code Dev Container (#13125)
  • 81cd438 red-knot: infer and display ellipsis type (#13124)
  • 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/267 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 8/29/2024 **Status:** ✅ Merged **Merged:** 8/30/2024 **Merged by:** [@dependabot[bot]](https://github.com/apps/dependabot) **Base:** `main` ← **Head:** `dependabot/pip/ruff-0.6.3` --- ### 📝 Commits (1) - [`5f51129`](https://github.com/ollama/ollama-python/commit/5f51129d25bea9ba28868c9db016ce7b34ff9a34) Bump ruff from 0.6.2 to 0.6.3 ### 📊 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.6.2 to 0.6.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>0.6.3</h2> <h2>Release Notes</h2> <h3>Preview features</h3> <ul> <li>[<code>flake8-simplify</code>] Extend <code>open-file-with-context-handler</code> to work with <code>dbm.sqlite3</code> (<code>SIM115</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13104">#13104</a>)</li> <li>[<code>pycodestyle</code>] Disable <code>E741</code> in stub files (<code>.pyi</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13119">#13119</a>)</li> <li>[<code>pydoclint</code>] Avoid <code>DOC201</code> on explicit returns in functions that only return <code>None</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13064">#13064</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-async</code>] Disable check for <code>asyncio</code> before Python 3.11 (<code>ASYNC109</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13023">#13023</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>FastAPI</code>] Avoid introducing invalid syntax in fix for <code>fast-api-non-annotated-dependency</code> (<code>FAST002</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13133">#13133</a>)</li> <li>[<code>flake8-implicit-str-concat</code>] Normalize octals before merging concatenated strings in <code>single-line-implicit-string-concatenation</code> (<code>ISC001</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13118">#13118</a>)</li> <li>[<code>flake8-pytest-style</code>] Improve help message for <code>pytest-incorrect-mark-parentheses-style</code> (<code>PT023</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13092">#13092</a>)</li> <li>[<code>pylint</code>] Avoid autofix for calls that aren't <code>min</code> or <code>max</code> as starred expression (<code>PLW3301</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13089">#13089</a>)</li> <li>[<code>ruff</code>] Add <code>datetime.time</code>, <code>datetime.tzinfo</code>, and <code>datetime.timezone</code> as immutable function calls (<code>RUF009</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13109">#13109</a>)</li> <li>[<code>ruff</code>] Extend comment deletion for <code>RUF100</code> to include trailing text from <code>noqa</code> directives while preserving any following comments on the same line, if any (<a href="https://redirect.github.com/astral-sh/ruff/pull/13105">#13105</a>)</li> <li>Fix dark theme on initial page load for the Ruff playground (<a href="https://redirect.github.com/astral-sh/ruff/pull/13077">#13077</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/JonathanPlasse"><code>@​JonathanPlasse</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@​MichaReiser</code></a></li> <li><a href="https://github.com/N-Wouda"><code>@​N-Wouda</code></a></li> <li><a href="https://github.com/PalAditya"><code>@​PalAditya</code></a></li> <li><a href="https://github.com/arkuhn"><code>@​arkuhn</code></a></li> <li><a href="https://github.com/calumy"><code>@​calumy</code></a></li> <li><a href="https://github.com/carljm"><code>@​carljm</code></a></li> <li><a href="https://github.com/chriskrycho"><code>@​chriskrycho</code></a></li> <li><a href="https://github.com/dhruvmanila"><code>@​dhruvmanila</code></a></li> <li><a href="https://github.com/diceroll123"><code>@​diceroll123</code></a></li> <li><a href="https://github.com/dylwil3"><code>@​dylwil3</code></a></li> <li><a href="https://github.com/renovate"><code>@​renovate</code></a></li> <li><a href="https://github.com/teofr"><code>@​teofr</code></a></li> <li><a href="https://github.com/tjkuson"><code>@​tjkuson</code></a></li> <li><a href="https://github.com/vdwees"><code>@​vdwees</code></a></li> </ul> <h2>Install ruff 0.6.3</h2> <h3>Install prebuilt binaries via shell script</h3> <pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.6.3/ruff-installer.sh | sh </code></pre> <h3>Install prebuilt binaries via powershell script</h3> <!-- 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.6.3</h2> <h3>Preview features</h3> <ul> <li>[<code>flake8-simplify</code>] Extend <code>open-file-with-context-handler</code> to work with <code>dbm.sqlite3</code> (<code>SIM115</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13104">#13104</a>)</li> <li>[<code>pycodestyle</code>] Disable <code>E741</code> in stub files (<code>.pyi</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13119">#13119</a>)</li> <li>[<code>pydoclint</code>] Avoid <code>DOC201</code> on explicit returns in functions that only return <code>None</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13064">#13064</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-async</code>] Disable check for <code>asyncio</code> before Python 3.11 (<code>ASYNC109</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13023">#13023</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>FastAPI</code>] Avoid introducing invalid syntax in fix for <code>fast-api-non-annotated-dependency</code> (<code>FAST002</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13133">#13133</a>)</li> <li>[<code>flake8-implicit-str-concat</code>] Normalize octals before merging concatenated strings in <code>single-line-implicit-string-concatenation</code> (<code>ISC001</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13118">#13118</a>)</li> <li>[<code>flake8-pytest-style</code>] Improve help message for <code>pytest-incorrect-mark-parentheses-style</code> (<code>PT023</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13092">#13092</a>)</li> <li>[<code>pylint</code>] Avoid autofix for calls that aren't <code>min</code> or <code>max</code> as starred expression (<code>PLW3301</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13089">#13089</a>)</li> <li>[<code>ruff</code>] Add <code>datetime.time</code>, <code>datetime.tzinfo</code>, and <code>datetime.timezone</code> as immutable function calls (<code>RUF009</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13109">#13109</a>)</li> <li>[<code>ruff</code>] Extend comment deletion for <code>RUF100</code> to include trailing text from <code>noqa</code> directives while preserving any following comments on the same line, if any (<a href="https://redirect.github.com/astral-sh/ruff/pull/13105">#13105</a>)</li> <li>Fix dark theme on initial page load for the Ruff playground (<a href="https://redirect.github.com/astral-sh/ruff/pull/13077">#13077</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/ee258caed72f729a6587bbf73aa25b1f6e9bcb7a"><code>ee258ca</code></a> Bump version to 0.6.3 (<a href="https://redirect.github.com/astral-sh/ruff/issues/13152">#13152</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/b4d9d26020970f6a3f8a272c148c482fd7dc5108"><code>b4d9d26</code></a> Update faq.md to highlight changes to src (<a href="https://redirect.github.com/astral-sh/ruff/issues/13145">#13145</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/a99832088a31b65f79e578e3131756cfdc0afb0d"><code>a998320</code></a> [<code>ruff</code>] - extend comment deletions for unused-noqa (<code>RUF100</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/13105">#13105</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/770ef2ab2719de85c8beec348595f1c74177ce7e"><code>770ef2a</code></a> [red-knot] support deferred evaluation of type expressions (<a href="https://redirect.github.com/astral-sh/ruff/issues/13131">#13131</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/c6023c03a23e654d3829ef020b993e9888d028f2"><code>c6023c0</code></a> [red-knot] Add docs on using <code>RAYON_NUM_THREADS</code> for better logging (<a href="https://redirect.github.com/astral-sh/ruff/issues/13140">#13140</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/df694ca1c1684a468efec6afd8af1df81eaa56fa"><code>df694ca</code></a> [<code>FastAPI</code>] Avoid introducing invalid syntax in fix for `fast-api-non-annotat...</li> <li><a href="https://github.com/astral-sh/ruff/commit/2e75cfbfe7fa79b71f76499d80058597e4c9d83b"><code>2e75cfb</code></a> Format <code>PYI</code> examples in docs as <code>.pyi</code>-file snippets (<a href="https://redirect.github.com/astral-sh/ruff/issues/13116">#13116</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/cfafaa7637ef3f568d62d39654e0498f52a07b77"><code>cfafaa7</code></a> [red-knot] Remove very noisy tracing call when resolving <code>ImportFrom</code> stateme...</li> <li><a href="https://github.com/astral-sh/ruff/commit/3e9c7adeeee639043686a1717a1683f6620efd2a"><code>3e9c7ad</code></a> Replace crates by dependi for VS Code Dev Container (<a href="https://redirect.github.com/astral-sh/ruff/issues/13125">#13125</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/81cd438d883dafb7c51cf2ec9b8e8dcec5cf1f6b"><code>81cd438</code></a> red-knot: infer and display ellipsis type (<a href="https://redirect.github.com/astral-sh/ruff/issues/13124">#13124</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.6.2...0.6.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.6.2&new-version=0.6.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:25 -05:00
yindo closed this issue 2026-02-15 16:30:25 -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#443