Selaa lähdekoodia

Bump ruff from 0.11.6 to 0.11.7 (#1532)

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.11.6 to 0.11.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>0.11.7</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>airflow</code>] Apply auto fixes to cases where the names
have changed in Airflow 3 (<code>AIR301</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17355">#17355</a>)</li>
<li>[<code>perflint</code>] Implement fix for
<code>manual-dict-comprehension</code> (<code>PERF403</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/16719">#16719</a>)</li>
<li>[syntax-errors] Make duplicate parameter names a semantic error (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17131">#17131</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>airflow</code>] Fix typos in provider package names
(<code>AIR302</code>, <code>AIR312</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17574">#17574</a>)</li>
<li>[<code>flake8-type-checking</code>] Visit keyword arguments in
checks involving <code>typing.cast</code>/<code>typing.NewType</code>
arguments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17538">#17538</a>)</li>
<li>[<code>pyupgrade</code>] Preserve parenthesis when fixing native
literals containing newlines (<code>UP018</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17220">#17220</a>)</li>
<li>[<code>refurb</code>] Mark the <code>FURB161</code> fix unsafe
except for integers and booleans (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17240">#17240</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>perflint</code>] Allow list function calls to be replaced
with a comprehension (<code>PERF401</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17519">#17519</a>)</li>
<li>[<code>pycodestyle</code>] Auto-fix redundant boolean comparison
(<code>E712</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17090">#17090</a>)</li>
<li>[<code>pylint</code>] make fix unsafe if delete comments
(<code>PLR1730</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17459">#17459</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Add fix safety sections to docs for several rules (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17410">#17410</a>,<a
href="https://redirect.github.com/astral-sh/ruff/pull/17440">#17440</a>,<a
href="https://redirect.github.com/astral-sh/ruff/pull/17441">#17441</a>,<a
href="https://redirect.github.com/astral-sh/ruff/pull/17443">#17443</a>,<a
href="https://redirect.github.com/astral-sh/ruff/pull/17444">#17444</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/Daverball"><code>@​Daverball</code></a></li>
<li><a href="https://github.com/Gankra"><code>@​Gankra</code></a></li>
<li><a
href="https://github.com/Glyphack"><code>@​Glyphack</code></a></li>
<li><a
href="https://github.com/Kalmaegi"><code>@​Kalmaegi</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/VascoSch92"><code>@​VascoSch92</code></a></li>
<li><a
href="https://github.com/camper42"><code>@​camper42</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/dhruvmanila"><code>@​dhruvmanila</code></a></li>
<li><a
href="https://github.com/ericmarkmartin"><code>@​ericmarkmartin</code></a></li>
<li><a href="https://github.com/jnooree"><code>@​jnooree</code></a></li>
<li><a
href="https://github.com/knavdeep152002"><code>@​knavdeep152002</code></a></li>
<li><a
href="https://github.com/maxmynter"><code>@​maxmynter</code></a></li>
<li><a href="https://github.com/mtshiba"><code>@​mtshiba</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/w0nder1ng"><code>@​w0nder1ng</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.7</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>airflow</code>] Apply auto fixes to cases where the names
have changed in Airflow 3 (<code>AIR301</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17355">#17355</a>)</li>
<li>[<code>perflint</code>] Implement fix for
<code>manual-dict-comprehension</code> (<code>PERF403</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/16719">#16719</a>)</li>
<li>[syntax-errors] Make duplicate parameter names a semantic error (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17131">#17131</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>airflow</code>] Fix typos in provider package names
(<code>AIR302</code>, <code>AIR312</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17574">#17574</a>)</li>
<li>[<code>flake8-type-checking</code>] Visit keyword arguments in
checks involving <code>typing.cast</code>/<code>typing.NewType</code>
arguments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17538">#17538</a>)</li>
<li>[<code>pyupgrade</code>] Preserve parenthesis when fixing native
literals containing newlines (<code>UP018</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17220">#17220</a>)</li>
<li>[<code>refurb</code>] Mark the <code>FURB161</code> fix unsafe
except for integers and booleans (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17240">#17240</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>perflint</code>] Allow list function calls to be replaced
with a comprehension (<code>PERF401</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17519">#17519</a>)</li>
<li>[<code>pycodestyle</code>] Auto-fix redundant boolean comparison
(<code>E712</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17090">#17090</a>)</li>
<li>[<code>pylint</code>] make fix unsafe if delete comments
(<code>PLR1730</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17459">#17459</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Add fix safety sections to docs for several rules (<a
href="https://redirect.github.com/astral-sh/ruff/pull/17410">#17410</a>,<a
href="https://redirect.github.com/astral-sh/ruff/pull/17440">#17440</a>,<a
href="https://redirect.github.com/astral-sh/ruff/pull/17441">#17441</a>,<a
href="https://redirect.github.com/astral-sh/ruff/pull/17443">#17443</a>,<a
href="https://redirect.github.com/astral-sh/ruff/pull/17444">#17444</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/f7b48510b58026f73c153ecb57720754365ba92e"><code>f7b4851</code></a>
Bump 0.11.7 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/17613">#17613</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/99370647615c853e1fdd5bebb3fdff221a826d15"><code>9937064</code></a>
[red-knot] Use iterative approach to collect overloads (<a
href="https://redirect.github.com/astral-sh/ruff/issues/17607">#17607</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/8d2c79276d167fcfcf9143a2bc1b328bb9d0f876"><code>8d2c792</code></a>
red_knot_python_semantic: avoid Rust's screaming snake case convention
in mdtest</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/0f4781076864e60db0dabd52c8e0cd8955b7e2a9"><code>0f47810</code></a>
red_knot_python_semantic: improve diagnostics for unsupported boolean
convers...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/eb1d2518c131e31ab1a1faee9061f79ed23b3eff"><code>eb1d251</code></a>
red_knot_python_semantic: add &quot;return type span&quot; helper
method</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/a45a0a92bd1a9cea2a48e6c00c44c206e56da6b5"><code>a45a0a9</code></a>
red_knot_python_semantic: move parameter span helper method</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/43bd0437559a5c267b1ac8b44dfc436d7fcff3bb"><code>43bd043</code></a>
ruff_db: add a <code>From</code> impl for <code>FileRange</code> to
<code>Span</code></li>
<li><a
href="https://github.com/astral-sh/ruff/commit/9a54ee3a1cb030027dc83e6257599ed06e6f28ba"><code>9a54ee3</code></a>
red_knot_python_semantic: add snapshot tests for unsupported boolean
conversions</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/25c3be51d24e4436654baabe8f4ae79dfc31fa02"><code>25c3be5</code></a>
[red-knot] simplify != narrowing (<a
href="https://redirect.github.com/astral-sh/ruff/issues/17610">#17610</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/e71f3ed2c589976aaae5de69639351ab132790db"><code>e71f3ed</code></a>
[red-knot] Update <code>==</code> and <code>!=</code> narrowing (<a
href="https://redirect.github.com/astral-sh/ruff/issues/17567">#17567</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.11.6...0.11.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.11.6&new-version=0.11.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] 1 kuukausi sitten
vanhempi
commit
45b72c8a15
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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.6",
+    "ruff==0.11.7",
     "mypy==1.15.0"
 ]