Commit 35c346d
authored
Build(deps-dev): bump ruff from 0.12.4 to 0.12.5 (#256)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.12.4 to 0.12.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.12.5</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-use-pathlib</code>] Add autofix for
<code>PTH101</code>, <code>PTH104</code>, <code>PTH105</code>,
<code>PTH121</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/19404">#19404</a>)</li>
<li>[<code>ruff</code>] Support byte strings (<code>RUF055</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/18926">#18926</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Fix <code>unreachable</code> panic in parser (<a
href="https://redirect.github.com/astral-sh/ruff/pull/19183">#19183</a>)</li>
<li>[<code>flake8-pyi</code>] Skip fix if all <code>Union</code> members
are <code>None</code> (<code>PYI016</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/19416">#19416</a>)</li>
<li>[<code>perflint</code>] Parenthesize generator expressions
(<code>PERF401</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/19325">#19325</a>)</li>
<li>[<code>pylint</code>] Handle empty comments after line continuation
(<code>PLR2044</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/19405">#19405</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>pep8-naming</code>] Fix <code>N802</code> false positives for
<code>CGIHTTPRequestHandler</code> and
<code>SimpleHTTPRequestHandler</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/19432">#19432</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/CodeMan62"><code>@CodeMan62</code></a></li>
<li><a href="https://github.com/Gankra"><code>@Gankra</code></a></li>
<li><a
href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li>
<li><a
href="https://github.com/UnboundVariable"><code>@UnboundVariable</code></a></li>
<li><a
href="https://github.com/chirizxc"><code>@chirizxc</code></a></li>
<li><a
href="https://github.com/danparizher"><code>@danparizher</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/dylwil3"><code>@dylwil3</code></a></li>
<li><a
href="https://github.com/github-actions"><code>@github-actions</code></a></li>
<li><a
href="https://github.com/ibraheemdev"><code>@ibraheemdev</code></a></li>
<li><a href="https://github.com/ntBre"><code>@ntBre</code></a></li>
<li><a
href="https://github.com/oconnor663"><code>@oconnor663</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/soundsonacid"><code>@soundsonacid</code></a></li>
<li><a
href="https://github.com/thejchap"><code>@thejchap</code></a></li>
</ul>
<h2>Install ruff 0.12.5</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.12.5/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.12.5</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-use-pathlib</code>] Add autofix for
<code>PTH101</code>, <code>PTH104</code>, <code>PTH105</code>,
<code>PTH121</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/19404">#19404</a>)</li>
<li>[<code>ruff</code>] Support byte strings (<code>RUF055</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/18926">#18926</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Fix <code>unreachable</code> panic in parser (<a
href="https://redirect.github.com/astral-sh/ruff/pull/19183">#19183</a>)</li>
<li>[<code>flake8-pyi</code>] Skip fix if all <code>Union</code> members
are <code>None</code> (<code>PYI016</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/19416">#19416</a>)</li>
<li>[<code>perflint</code>] Parenthesize generator expressions
(<code>PERF401</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/19325">#19325</a>)</li>
<li>[<code>pylint</code>] Handle empty comments after line continuation
(<code>PLR2044</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/19405">#19405</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>pep8-naming</code>] Fix <code>N802</code> false positives for
<code>CGIHTTPRequestHandler</code> and
<code>SimpleHTTPRequestHandler</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/19432">#19432</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/d13228ab856f8cce47b3031cb2b4f2a35401e7eb"><code>d13228a</code></a>
Bump 0.12.5 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/19528">#19528</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/9461d3076f611a81b7aba88cfcee5b85e08abf8c"><code>9461d30</code></a>
[ty] Rename type_api => ty_extensions (<a
href="https://redirect.github.com/astral-sh/ruff/issues/19523">#19523</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/63d1d332b30dfde4668e680308816b4174955170"><code>63d1d33</code></a>
[ty] Added support for "go to references" in ty playground.
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/19516">#19516</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/e0149cd9f3712dbe719335216015f09ceab0e70c"><code>e0149cd</code></a>
[ty] Return a tuple spec from the iterator protocol (<a
href="https://redirect.github.com/astral-sh/ruff/issues/19496">#19496</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/2a00eca66b17de90498445996712149a8fc0e3bb"><code>2a00eca</code></a>
[ty] Exhaustiveness checking & reachability for <code>match</code>
statements (<a
href="https://redirect.github.com/astral-sh/ruff/issues/19508">#19508</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/3d17897c02d5842e0857c2dbbc55436835fb4e05"><code>3d17897</code></a>
[ty] Fix narrowing and reachability of class patterns with arguments (<a
href="https://redirect.github.com/astral-sh/ruff/issues/19512">#19512</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/fa1df4cedc0ebccab519b377d0ae23e381d75493"><code>fa1df4c</code></a>
[ty] Implemented partial support for "find references"
language server featur...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/89258f1938f142a3e63aac06c101eb09ff77bc6e"><code>89258f1</code></a>
[<code>flake8-use-pathlib</code>] Add autofix for <code>PTH101</code>,
<code>PTH104</code>, <code>PTH105</code>, <code>PTH121</code>...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/1dcef1a0113c62d4d9e32346883e7d1781d55503"><code>1dcef1a</code></a>
[<code>perflint</code>] Parenthesize generator expressions
(<code>PERF401</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/19325">#19325</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/ba629fe262d03756000aa7e15f13fa79dfeff060"><code>ba629fe</code></a>
[<code>pep8-naming</code>] Fix <code>N802</code> false positives for
<code>CGIHTTPRequestHandler</code> and `S...</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.12.4...0.12.5">compare
view</a></li>
</ul>
</details>
<br />
[](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>2 files changed
+21
-21
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
0 commit comments