瀏覽代碼

Bump ruff from 0.11.11 to 0.11.12 (#1566)

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.11.11 to 0.11.12.
<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.11.12</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>airflow</code>] Revise fix titles (<code>AIR3</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/18215">#18215</a>)</li>
<li>[<code>pylint</code>] Implement <code>missing-maxsplit-arg</code>
(<code>PLC0207</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17454">#17454</a>)</li>
<li>[<code>pyupgrade</code>] New rule <code>UP050</code>
(<code>useless-class-metaclass-type</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/18334">#18334</a>)</li>
<li>[<code>flake8-use-pathlib</code>] Replace <code>os.symlink</code>
with <code>Path.symlink_to</code> (<code>PTH211</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/18337">#18337</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>flake8-bugbear</code>] Ignore <code>__debug__</code>
attribute in <code>B010</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/18357">#18357</a>)</li>
<li>[<code>flake8-async</code>] Fix <code>anyio.sleep</code> argument
name (<code>ASYNC115</code>, <code>ASYNC116</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/18262">#18262</a>)</li>
<li>[<code>refurb</code>] Fix <code>FURB129</code> autofix generating
invalid syntax (<a
href="https://redirect.github.com/astral-sh/ruff/pull/18235">#18235</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-implicit-str-concat</code>] Add autofix for
<code>ISC003</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/18256">#18256</a>)</li>
<li>[<code>pycodestyle</code>] Improve the diagnostic message for
<code>E712</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/18328">#18328</a>)</li>
<li>[<code>flake8-2020</code>] Fix diagnostic message for
<code>!=</code> comparisons (<code>YTT201</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/18293">#18293</a>)</li>
<li>[<code>pyupgrade</code>] Make fix unsafe if it deletes comments
(<code>UP010</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/18291">#18291</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Simplify rules table to improve readability (<a
href="https://redirect.github.com/astral-sh/ruff/pull/18297">#18297</a>)</li>
<li>Update editor integrations link in README (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17977">#17977</a>)</li>
<li>[<code>flake8-bugbear</code>] Add fix safety section
(<code>B006</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17652">#17652</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/CodeMan62"><code>@​CodeMan62</code></a></li>
<li><a
href="https://github.com/InSyncWithFoo"><code>@​InSyncWithFoo</code></a></li>
<li><a
href="https://github.com/Kalmaegi"><code>@​Kalmaegi</code></a></li>
<li><a
href="https://github.com/LaBatata101"><code>@​LaBatata101</code></a></li>
<li><a href="https://github.com/Lee-W"><code>@​Lee-W</code></a></li>
<li><a
href="https://github.com/MaddyGuthridge"><code>@​MaddyGuthridge</code></a></li>
<li><a
href="https://github.com/MatthewMckee4"><code>@​MatthewMckee4</code></a></li>
<li><a
href="https://github.com/MichaReiser"><code>@​MichaReiser</code></a></li>
<li><a
href="https://github.com/Vasanth-96"><code>@​Vasanth-96</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/chirizxc"><code>@​chirizxc</code></a></li>
<li><a
href="https://github.com/dcreager"><code>@​dcreager</code></a></li>
<li><a
href="https://github.com/dhruvmanila"><code>@​dhruvmanila</code></a></li>
<li><a
href="https://github.com/dsherret"><code>@​dsherret</code></a></li>
<li><a href="https://github.com/dylwil3"><code>@​dylwil3</code></a></li>
<li><a
href="https://github.com/felixscherz"><code>@​felixscherz</code></a></li>
<li><a href="https://github.com/fennr"><code>@​fennr</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.11.12</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>airflow</code>] Revise fix titles (<code>AIR3</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/18215">#18215</a>)</li>
<li>[<code>pylint</code>] Implement <code>missing-maxsplit-arg</code>
(<code>PLC0207</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17454">#17454</a>)</li>
<li>[<code>pyupgrade</code>] New rule <code>UP050</code>
(<code>useless-class-metaclass-type</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/18334">#18334</a>)</li>
<li>[<code>flake8-use-pathlib</code>] Replace <code>os.symlink</code>
with <code>Path.symlink_to</code> (<code>PTH211</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/18337">#18337</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>flake8-bugbear</code>] Ignore <code>__debug__</code>
attribute in <code>B010</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/18357">#18357</a>)</li>
<li>[<code>flake8-async</code>] Fix <code>anyio.sleep</code> argument
name (<code>ASYNC115</code>, <code>ASYNC116</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/18262">#18262</a>)</li>
<li>[<code>refurb</code>] Fix <code>FURB129</code> autofix generating
invalid syntax (<a
href="https://redirect.github.com/astral-sh/ruff/pull/18235">#18235</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-implicit-str-concat</code>] Add autofix for
<code>ISC003</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/18256">#18256</a>)</li>
<li>[<code>pycodestyle</code>] Improve the diagnostic message for
<code>E712</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/18328">#18328</a>)</li>
<li>[<code>flake8-2020</code>] Fix diagnostic message for
<code>!=</code> comparisons (<code>YTT201</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/18293">#18293</a>)</li>
<li>[<code>pyupgrade</code>] Make fix unsafe if it deletes comments
(<code>UP010</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/18291">#18291</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Simplify rules table to improve readability (<a
href="https://redirect.github.com/astral-sh/ruff/pull/18297">#18297</a>)</li>
<li>Update editor integrations link in README (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17977">#17977</a>)</li>
<li>[<code>flake8-bugbear</code>] Add fix safety section
(<code>B006</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17652">#17652</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/aee3af0f7a018e9fcf921b746ad8ef76d3b84b83"><code>aee3af0</code></a>
Bump 0.11.12 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/18369">#18369</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/04dc48e17c2518f97436d76284a509499087d81c"><code>04dc48e</code></a>
[<code>refurb</code>] Fix <code>FURB129</code> autofix generating
invalid syntax (<a
href="https://redirect.github.com/astral-sh/ruff/issues/18235">#18235</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/27743efa1bbcb8952faf1b85c2f439694c24ce1f"><code>27743ef</code></a>
[<code>pylint</code>] Implement <code>missing-maxsplit-arg</code>
(<code>PLC0207</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/17454">#17454</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/c60b4d7f309918ac4e98b805fcac5a26e6925899"><code>c60b4d7</code></a>
[ty] Add subtyping between Callable types and class literals with
<code>__init__</code> ...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/16621fa19df6986c80a8d2d0c7e6d97740380d2c"><code>16621fa</code></a>
[<code>flake8-bugbear </code>] Add fix safety section
(<code>B006</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/17652">#17652</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/e23d4ea027ecbc05213d049ac6dfcf726f4ab167"><code>e23d4ea</code></a>
[<code>flake8-bugbear</code>] Ignore <code>__debug__</code> attribute in
<code>B010</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/18357">#18357</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/452f992fbc4f48866c40c4b312806b8876958fa0"><code>452f992</code></a>
[ty] Simplify signature types, use them in <code>CallableType</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/18344">#18344</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/a5ebb3f3a2b347849d0c195884ea944fb690b187"><code>a5ebb3f</code></a>
[ty] Support ephemeral uv virtual environments (<a
href="https://redirect.github.com/astral-sh/ruff/issues/18335">#18335</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/9925910a29643ff1f29eafeadc2b1d26812e4993"><code>9925910</code></a>
Add a <code>ViolationMetadata::rule</code> method (<a
href="https://redirect.github.com/astral-sh/ruff/issues/18234">#18234</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/a3ee6bb3b5f4f375e606d3bc12094549bb46a98b"><code>a3ee6bb</code></a>
Return <code>DiagnosticGuard</code> from
<code>Checker::report_diagnostic</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/18232">#18232</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.11.11...0.11.12">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.11.11&new-version=0.11.12)](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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] 2 月之前
父節點
當前提交
fecab7470c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pyproject.toml

+ 1 - 1
pyproject.toml

@@ -41,7 +41,7 @@ https = ["urllib3>=1.24.1"]
 pgp = ["gpg"]
 paramiko = ["paramiko"]
 dev = [
-    "ruff==0.11.11",
+    "ruff==0.11.12",
     "mypy==1.15.0",
     "dissolve>=0.1.1"
 ]