浏览代码

Bump ruff from 0.11.4 to 0.11.5 (#1526)

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.11.4 to 0.11.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.11.5</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>airflow</code>] Add missing <code>AIR302</code> attribute
check (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17115">#17115</a>)</li>
<li>[<code>airflow</code>] Expand module path check to individual
symbols (<code>AIR302</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17278">#17278</a>)</li>
<li>[<code>airflow</code>] Extract <code>AIR312</code> from
<code>AIR302</code> rules (<code>AIR302</code>, <code>AIR312</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17152">#17152</a>)</li>
<li>[<code>airflow</code>] Update oudated <code>AIR301</code>,
<code>AIR302</code> rules (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17123">#17123</a>)</li>
<li>[syntax-errors] Async comprehension in sync comprehension (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17177">#17177</a>)</li>
<li>[syntax-errors] Check annotations in annotated assignments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17283">#17283</a>)</li>
<li>[syntax-errors] Extend annotation checks to <code>await</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17282">#17282</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>flake8-pie</code>] Avoid false positive for multiple
assignment with <code>auto()</code> (<code>PIE796</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17274">#17274</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>ruff</code>] Fix <code>RUF100</code> to detect unused
file-level <code>noqa</code> directives with specific codes (<a
href="https://redirect.github.com/astral-sh/ruff/issues/17042">#17042</a>)
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/17061">#17061</a>)</li>
<li>[<code>flake8-pytest-style</code>] Avoid false positive for legacy
form of <code>pytest.raises</code> (<code>PT011</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17231">#17231</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Fix formatting of &quot;See Style Guide&quot; link (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17272">#17272</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/BurntSushi"><code>@​BurntSushi</code></a></li>
<li><a href="https://github.com/Gankra"><code>@​Gankra</code></a></li>
<li><a
href="https://github.com/InSyncWithFoo"><code>@​InSyncWithFoo</code></a></li>
<li><a href="https://github.com/Lee-W"><code>@​Lee-W</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/Skylion007"><code>@​Skylion007</code></a></li>
<li><a
href="https://github.com/browniebroke"><code>@​browniebroke</code></a></li>
<li><a
href="https://github.com/cake-monotone"><code>@​cake-monotone</code></a></li>
<li><a href="https://github.com/carljm"><code>@​carljm</code></a></li>
<li><a
href="https://github.com/dcreager"><code>@​dcreager</code></a></li>
<li><a
href="https://github.com/maxmynter"><code>@​maxmynter</code></a></li>
<li><a
href="https://github.com/mishamsk"><code>@​mishamsk</code></a></li>
<li><a href="https://github.com/ntBre"><code>@​ntBre</code></a></li>
<li><a
href="https://github.com/renovate"><code>@​renovate</code></a></li>
<li><a href="https://github.com/sharkdp"><code>@​sharkdp</code></a></li>
<li><a
href="https://github.com/twentyone212121"><code>@​twentyone212121</code></a></li>
</ul>
<h2>Install ruff 0.11.5</h2>
<h3>Install prebuilt binaries via shell 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.11.5</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>airflow</code>] Add missing <code>AIR302</code> attribute
check (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17115">#17115</a>)</li>
<li>[<code>airflow</code>] Expand module path check to individual
symbols (<code>AIR302</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17278">#17278</a>)</li>
<li>[<code>airflow</code>] Extract <code>AIR312</code> from
<code>AIR302</code> rules (<code>AIR302</code>, <code>AIR312</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17152">#17152</a>)</li>
<li>[<code>airflow</code>] Update oudated <code>AIR301</code>,
<code>AIR302</code> rules (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17123">#17123</a>)</li>
<li>[syntax-errors] Async comprehension in sync comprehension (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17177">#17177</a>)</li>
<li>[syntax-errors] Check annotations in annotated assignments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17283">#17283</a>)</li>
<li>[syntax-errors] Extend annotation checks to <code>await</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17282">#17282</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>flake8-pie</code>] Avoid false positive for multiple
assignment with <code>auto()</code> (<code>PIE796</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17274">#17274</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>ruff</code>] Fix <code>RUF100</code> to detect unused
file-level <code>noqa</code> directives with specific codes (<a
href="https://redirect.github.com/astral-sh/ruff/issues/17042">#17042</a>)
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/17061">#17061</a>)</li>
<li>[<code>flake8-pytest-style</code>] Avoid false positive for legacy
form of <code>pytest.raises</code> (<code>PT011</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17231">#17231</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Fix formatting of &quot;See Style Guide&quot; link (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17272">#17272</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/7186d5e9add868037df5bb9a42c43d5340c7ea44"><code>7186d5e</code></a>
Bump 0.11.5 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/17337">#17337</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/5b6e94981df14d86dc29a37327ff43fbb5f9ea59"><code>5b6e949</code></a>
[red-knot] Silence <code>unresolved-attribute</code> in unreachable code
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/17305">#17305</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/ec74f2d522de68113117817f0fbf23d7a0084e31"><code>ec74f2d</code></a>
Revert &quot;[red-knot] Type narrowing for assertions (<a
href="https://redirect.github.com/astral-sh/ruff/issues/17149">#17149</a>)&quot;
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/17335">#17335</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/907b6ed7b57d58dd6a26488e1393106dba78cb2d"><code>907b6ed</code></a>
[red-knot] Type narrowing for assertions (<a
href="https://redirect.github.com/astral-sh/ruff/issues/17149">#17149</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/fd9882a1f4fbd66b87095b5fede5eaee56876ceb"><code>fd9882a</code></a>
[red-knot] avoid unnecessary evaluation of visibility constraint on
definitel...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/66a33bfd32c3fa7fbbca29abb1dbb4ba78cc2cf4"><code>66a33bf</code></a>
update cargo-dist (<a
href="https://redirect.github.com/astral-sh/ruff/issues/17325">#17325</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/5b1d8350ff65e1bacd6468bccf7652c6b2b67ae8"><code>5b1d835</code></a>
[red-knot] Fix double hovers/inlays in playground (<a
href="https://redirect.github.com/astral-sh/ruff/issues/17334">#17334</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/4d50ee6f527e6628e6e788a90d95fb9285618679"><code>4d50ee6</code></a>
[red-knot] Track reachability of scopes (<a
href="https://redirect.github.com/astral-sh/ruff/issues/17332">#17332</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/06ffeb2e09e8a5440fc9bc07d2f49295ad809497"><code>06ffeb2</code></a>
Add pre-commit hook to check for merge conflicts (<a
href="https://redirect.github.com/astral-sh/ruff/issues/17279">#17279</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/10e44124e616eac5f550f4ea467649b4f1e942c5"><code>10e4412</code></a>
[red-knot] Add inlay type hints (<a
href="https://redirect.github.com/astral-sh/ruff/issues/17214">#17214</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.11.4...0.11.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.11.4&new-version=0.11.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] 1 周之前
父节点
当前提交
40c5a7f064
共有 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.4",
+    "ruff==0.11.5",
     "mypy==1.15.0"
 ]