Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 21, 2025

Bumps ruff from 0.12.3 to 0.12.4.

Release notes

Sourced from ruff's releases.

0.12.4

Release Notes

Preview features

  • [flake8-type-checking, pyupgrade, ruff] Add from __future__ import annotations when it would allow new fixes (TC001, TC002, TC003, UP037, RUF013) (#19100)
  • [flake8-use-pathlib] Add autofix for PTH109 (#19245)
  • [pylint] Detect indirect pathlib.Path usages for unspecified-encoding (PLW1514) (#19304)

Bug fixes

  • [flake8-bugbear] Fix B017 false negatives for keyword exception arguments (#19217)
  • [flake8-use-pathlib] Fix false negative on direct Path() instantiation (PTH210) (#19388)
  • [flake8-django] Fix DJ008 false positive for abstract models with type-annotated abstract field (#19221)
  • [isort] Fix I002 import insertion after docstring with multiple string statements (#19222)
  • [isort] Treat form feed as valid whitespace before a semicolon (#19343)
  • [pydoclint] Fix SyntaxError from fixes with line continuations (D201, D202) (#19246)
  • [refurb] FURB164 fix should validate arguments and should usually be marked unsafe (#19136)

Rule changes

  • [flake8-use-pathlib] Skip single dots for invalid-pathlib-with-suffix (PTH210) on versions >= 3.14 (#19331)
  • [pep8_naming] Avoid false positives on standard library functions with uppercase names (N802) (#18907)
  • [pycodestyle] Handle brace escapes for t-strings in logical lines (#19358)
  • [pylint] Extend invalid string character rules to include t-strings (#19355)
  • [ruff] Allow strict kwarg when checking for starmap-zip (RUF058) in Python 3.14+ (#19333)

Documentation

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.12.4

Preview features

  • [flake8-type-checking, pyupgrade, ruff] Add from __future__ import annotations when it would allow new fixes (TC001, TC002, TC003, UP037, RUF013) (#19100)
  • [flake8-use-pathlib] Add autofix for PTH109 (#19245)
  • [pylint] Detect indirect pathlib.Path usages for unspecified-encoding (PLW1514) (#19304)

Bug fixes

  • [flake8-bugbear] Fix B017 false negatives for keyword exception arguments (#19217)
  • [flake8-use-pathlib] Fix false negative on direct Path() instantiation (PTH210) (#19388)
  • [flake8-django] Fix DJ008 false positive for abstract models with type-annotated abstract field (#19221)
  • [isort] Fix I002 import insertion after docstring with multiple string statements (#19222)
  • [isort] Treat form feed as valid whitespace before a semicolon (#19343)
  • [pydoclint] Fix SyntaxError from fixes with line continuations (D201, D202) (#19246)
  • [refurb] FURB164 fix should validate arguments and should usually be marked unsafe (#19136)

Rule changes

  • [flake8-use-pathlib] Skip single dots for invalid-pathlib-with-suffix (PTH210) on versions >= 3.14 (#19331)
  • [pep8_naming] Avoid false positives on standard library functions with uppercase names (N802) (#18907)
  • [pycodestyle] Handle brace escapes for t-strings in logical lines (#19358)
  • [pylint] Extend invalid string character rules to include t-strings (#19355)
  • [ruff] Allow strict kwarg when checking for starmap-zip (RUF058) in Python 3.14+ (#19333)

Documentation

Commits
  • ee2759b Bump 0.12.4 (#19406)
  • 35f33d9 [ty] publish settings diagnostics (#19335)
  • 5d78b31 [flake8-use-pathlib] Add autofix for PTH109 (#19245)
  • c2a05b4 [ty] Use bitflags for resolved client capabilities (#19393)
  • fae0b5c [ty] Initial implementation of declaration and definition providers. (#19371)
  • cbe94b0 [ty] Support empty function bodies in if TYPE_CHECKING blocks (#19372)
  • 029de78 [flake8-use-pathlib] Fix false negative on direct Path() instantiation (`...
  • ff94fe7 Treat form feed as valid whitespace before a semicolon (#19343)
  • b2501b4 [pylint] Detect indirect pathlib.Path usages for unspecified-encoding (...
  • 291699b [refurb] FURB164 fix should validate arguments and should usually be mark...
  • 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)

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.12.3 to 0.12.4.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.12.3...0.12.4)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.12.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jul 21, 2025
@snnn snnn merged commit 93c51fe into main Jul 21, 2025
88 of 90 checks passed
@snnn snnn deleted the dependabot/pip/ruff-0.12.4 branch July 21, 2025 20:04
qti-yuduo pushed a commit to CodeLinaro/onnxruntime that referenced this pull request Aug 8, 2025
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.12.3 to 0.12.4.
<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.4</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-type-checking</code>, <code>pyupgrade</code>,
<code>ruff</code>] Add <code>from __future__ import annotations</code>
when it would allow new fixes (<code>TC001</code>, <code>TC002</code>,
<code>TC003</code>, <code>UP037</code>, <code>RUF013</code>) (<a
href="https://github.com/astral-sh/ruff/pull/19100">#19100</a>)</li>
<li>[<code>flake8-use-pathlib</code>] Add autofix for
<code>PTH109</code> (<a
href="https://github.com/astral-sh/ruff/pull/19245">#19245</a>)</li>
<li>[<code>pylint</code>] Detect indirect <code>pathlib.Path</code>
usages for <code>unspecified-encoding</code> (<code>PLW1514</code>) (<a
href="https://github.com/astral-sh/ruff/pull/19304">#19304</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>flake8-bugbear</code>] Fix <code>B017</code> false negatives
for keyword exception arguments (<a
href="https://github.com/astral-sh/ruff/pull/19217">#19217</a>)</li>
<li>[<code>flake8-use-pathlib</code>] Fix false negative on direct
<code>Path()</code> instantiation (<code>PTH210</code>) (<a
href="https://github.com/astral-sh/ruff/pull/19388">#19388</a>)</li>
<li>[<code>flake8-django</code>] Fix <code>DJ008</code> false positive
for abstract models with type-annotated <code>abstract</code> field (<a
href="https://github.com/astral-sh/ruff/pull/19221">#19221</a>)</li>
<li>[<code>isort</code>] Fix <code>I002</code> import insertion after
docstring with multiple string statements (<a
href="https://github.com/astral-sh/ruff/pull/19222">#19222</a>)</li>
<li>[<code>isort</code>] Treat form feed as valid whitespace before a
semicolon (<a
href="https://github.com/astral-sh/ruff/pull/19343">#19343</a>)</li>
<li>[<code>pydoclint</code>] Fix <code>SyntaxError</code> from fixes
with line continuations (<code>D201</code>, <code>D202</code>) (<a
href="https://github.com/astral-sh/ruff/pull/19246">#19246</a>)</li>
<li>[<code>refurb</code>] <code>FURB164</code> fix should validate
arguments and should usually be marked unsafe (<a
href="https://github.com/astral-sh/ruff/pull/19136">#19136</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-use-pathlib</code>] Skip single dots for
<code>invalid-pathlib-with-suffix</code> (<code>PTH210</code>) on
versions &gt;= 3.14 (<a
href="https://github.com/astral-sh/ruff/pull/19331">#19331</a>)</li>
<li>[<code>pep8_naming</code>] Avoid false positives on standard library
functions with uppercase names (<code>N802</code>) (<a
href="https://github.com/astral-sh/ruff/pull/18907">#18907</a>)</li>
<li>[<code>pycodestyle</code>] Handle brace escapes for t-strings in
logical lines (<a
href="https://github.com/astral-sh/ruff/pull/19358">#19358</a>)</li>
<li>[<code>pylint</code>] Extend invalid string character rules to
include t-strings (<a
href="https://github.com/astral-sh/ruff/pull/19355">#19355</a>)</li>
<li>[<code>ruff</code>] Allow <code>strict</code> kwarg when checking
for <code>starmap-zip</code> (<code>RUF058</code>) in Python 3.14+ (<a
href="https://github.com/astral-sh/ruff/pull/19333">#19333</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>[<code>flake8-type-checking</code>] Make <code>TC010</code> docs
example more realistic (<a
href="https://github.com/astral-sh/ruff/pull/19356">#19356</a>)</li>
<li>Make more documentation examples error out-of-the-box (<a
href="https://github.com/astral-sh/ruff/pull/19288">#19288</a>,<a
href="https://github.com/astral-sh/ruff/pull/19272">#19272</a>,<a
href="https://github.com/astral-sh/ruff/pull/19291">#19291</a>,<a
href="https://github.com/astral-sh/ruff/pull/19296">#19296</a>,<a
href="https://github.com/astral-sh/ruff/pull/19292">#19292</a>,<a
href="https://github.com/astral-sh/ruff/pull/19295">#19295</a>,<a
href="https://github.com/astral-sh/ruff/pull/19297">#19297</a>,<a
href="https://github.com/astral-sh/ruff/pull/19309">#19309</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/MatthewMckee4"><code>@​MatthewMckee4</code></a></li>
<li><a
href="https://github.com/MeGaGiGaGon"><code>@​MeGaGiGaGon</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/close2code-palm"><code>@​close2code-palm</code></a></li>
<li><a
href="https://github.com/corneliusroemer"><code>@​corneliusroemer</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/ntBre"><code>@​ntBre</code></a></li>
<li><a
href="https://github.com/oconnor663"><code>@​oconnor663</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.12.4</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-type-checking</code>, <code>pyupgrade</code>,
<code>ruff</code>] Add <code>from __future__ import annotations</code>
when it would allow new fixes (<code>TC001</code>, <code>TC002</code>,
<code>TC003</code>, <code>UP037</code>, <code>RUF013</code>) (<a
href="https://github.com/astral-sh/ruff/pull/19100">#19100</a>)</li>
<li>[<code>flake8-use-pathlib</code>] Add autofix for
<code>PTH109</code> (<a
href="https://github.com/astral-sh/ruff/pull/19245">#19245</a>)</li>
<li>[<code>pylint</code>] Detect indirect <code>pathlib.Path</code>
usages for <code>unspecified-encoding</code> (<code>PLW1514</code>) (<a
href="https://github.com/astral-sh/ruff/pull/19304">#19304</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>flake8-bugbear</code>] Fix <code>B017</code> false negatives
for keyword exception arguments (<a
href="https://github.com/astral-sh/ruff/pull/19217">#19217</a>)</li>
<li>[<code>flake8-use-pathlib</code>] Fix false negative on direct
<code>Path()</code> instantiation (<code>PTH210</code>) (<a
href="https://github.com/astral-sh/ruff/pull/19388">#19388</a>)</li>
<li>[<code>flake8-django</code>] Fix <code>DJ008</code> false positive
for abstract models with type-annotated <code>abstract</code> field (<a
href="https://github.com/astral-sh/ruff/pull/19221">#19221</a>)</li>
<li>[<code>isort</code>] Fix <code>I002</code> import insertion after
docstring with multiple string statements (<a
href="https://github.com/astral-sh/ruff/pull/19222">#19222</a>)</li>
<li>[<code>isort</code>] Treat form feed as valid whitespace before a
semicolon (<a
href="https://github.com/astral-sh/ruff/pull/19343">#19343</a>)</li>
<li>[<code>pydoclint</code>] Fix <code>SyntaxError</code> from fixes
with line continuations (<code>D201</code>, <code>D202</code>) (<a
href="https://github.com/astral-sh/ruff/pull/19246">#19246</a>)</li>
<li>[<code>refurb</code>] <code>FURB164</code> fix should validate
arguments and should usually be marked unsafe (<a
href="https://github.com/astral-sh/ruff/pull/19136">#19136</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-use-pathlib</code>] Skip single dots for
<code>invalid-pathlib-with-suffix</code> (<code>PTH210</code>) on
versions &gt;= 3.14 (<a
href="https://github.com/astral-sh/ruff/pull/19331">#19331</a>)</li>
<li>[<code>pep8_naming</code>] Avoid false positives on standard library
functions with uppercase names (<code>N802</code>) (<a
href="https://github.com/astral-sh/ruff/pull/18907">#18907</a>)</li>
<li>[<code>pycodestyle</code>] Handle brace escapes for t-strings in
logical lines (<a
href="https://github.com/astral-sh/ruff/pull/19358">#19358</a>)</li>
<li>[<code>pylint</code>] Extend invalid string character rules to
include t-strings (<a
href="https://github.com/astral-sh/ruff/pull/19355">#19355</a>)</li>
<li>[<code>ruff</code>] Allow <code>strict</code> kwarg when checking
for <code>starmap-zip</code> (<code>RUF058</code>) in Python 3.14+ (<a
href="https://github.com/astral-sh/ruff/pull/19333">#19333</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>[<code>flake8-type-checking</code>] Make <code>TC010</code> docs
example more realistic (<a
href="https://github.com/astral-sh/ruff/pull/19356">#19356</a>)</li>
<li>Make more documentation examples error out-of-the-box (<a
href="https://github.com/astral-sh/ruff/pull/19288">#19288</a>,<a
href="https://github.com/astral-sh/ruff/pull/19272">#19272</a>,<a
href="https://github.com/astral-sh/ruff/pull/19291">#19291</a>,<a
href="https://github.com/astral-sh/ruff/pull/19296">#19296</a>,<a
href="https://github.com/astral-sh/ruff/pull/19292">#19292</a>,<a
href="https://github.com/astral-sh/ruff/pull/19295">#19295</a>,<a
href="https://github.com/astral-sh/ruff/pull/19297">#19297</a>,<a
href="https://github.com/astral-sh/ruff/pull/19309">#19309</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/ee2759b365448e58503b63636c1cedaa65360bd1"><code>ee2759b</code></a>
Bump 0.12.4 (<a
href="https://github.com/astral-sh/ruff/issues/19406">#19406</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/35f33d9bf5b9dd1cdf4af96999c0f61b8e900579"><code>35f33d9</code></a>
[ty] publish settings diagnostics (<a
href="https://github.com/astral-sh/ruff/issues/19335">#19335</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/5d78b3117aecccbf02a43f10b759127149ae6ce3"><code>5d78b31</code></a>
[<code>flake8-use-pathlib</code>] Add autofix for <code>PTH109</code>
(<a
href="https://github.com/astral-sh/ruff/issues/19245">#19245</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/c2a05b4825a51d9875b88e5b8b05720ceb4b0e51"><code>c2a05b4</code></a>
[ty] Use <code>bitflags</code> for resolved client capabilities (<a
href="https://github.com/astral-sh/ruff/issues/19393">#19393</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/fae0b5c89e266237d10e5879df80f452fe2d4ad9"><code>fae0b5c</code></a>
[ty] Initial implementation of declaration and definition providers. (<a
href="https://github.com/astral-sh/ruff/issues/19371">#19371</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/cbe94b094b4d8ab88feea1ec8343e0ff033e8cae"><code>cbe94b0</code></a>
[ty] Support empty function bodies in <code>if TYPE_CHECKING</code>
blocks (<a
href="https://github.com/astral-sh/ruff/issues/19372">#19372</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/029de784f1ea5ef470cf1471c89e2cbe320f125a"><code>029de78</code></a>
[<code>flake8-use-pathlib</code>] Fix false negative on direct
<code>Path()</code> instantiation (`...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/ff94fe7447a8aff4f408fcac8d7dd1d686c50688"><code>ff94fe7</code></a>
Treat form feed as valid whitespace before a semicolon (<a
href="https://github.com/astral-sh/ruff/issues/19343">#19343</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/b2501b45e06ecdc653ae52565e90dd163aa30f8a"><code>b2501b4</code></a>
[<code>pylint</code>] Detect indirect <code>pathlib.Path</code> usages
for <code>unspecified-encoding</code> (...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/291699b375f694c659fe82bdd68b149bde2494ee"><code>291699b</code></a>
[<code>refurb</code>] <code>FURB164</code> fix should validate arguments
and should usually be mark...</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.12.3...0.12.4">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.12.3&new-version=0.12.4)](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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
sanketkaleoss pushed a commit to sanketkaleoss/onnxruntime that referenced this pull request Aug 11, 2025
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.12.3 to 0.12.4.
<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.4</h2>
<h2>Release Notes</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-type-checking</code>, <code>pyupgrade</code>,
<code>ruff</code>] Add <code>from __future__ import annotations</code>
when it would allow new fixes (<code>TC001</code>, <code>TC002</code>,
<code>TC003</code>, <code>UP037</code>, <code>RUF013</code>) (<a
href="https://github.com/astral-sh/ruff/pull/19100">#19100</a>)</li>
<li>[<code>flake8-use-pathlib</code>] Add autofix for
<code>PTH109</code> (<a
href="https://github.com/astral-sh/ruff/pull/19245">#19245</a>)</li>
<li>[<code>pylint</code>] Detect indirect <code>pathlib.Path</code>
usages for <code>unspecified-encoding</code> (<code>PLW1514</code>) (<a
href="https://github.com/astral-sh/ruff/pull/19304">#19304</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>flake8-bugbear</code>] Fix <code>B017</code> false negatives
for keyword exception arguments (<a
href="https://github.com/astral-sh/ruff/pull/19217">#19217</a>)</li>
<li>[<code>flake8-use-pathlib</code>] Fix false negative on direct
<code>Path()</code> instantiation (<code>PTH210</code>) (<a
href="https://github.com/astral-sh/ruff/pull/19388">#19388</a>)</li>
<li>[<code>flake8-django</code>] Fix <code>DJ008</code> false positive
for abstract models with type-annotated <code>abstract</code> field (<a
href="https://github.com/astral-sh/ruff/pull/19221">#19221</a>)</li>
<li>[<code>isort</code>] Fix <code>I002</code> import insertion after
docstring with multiple string statements (<a
href="https://github.com/astral-sh/ruff/pull/19222">#19222</a>)</li>
<li>[<code>isort</code>] Treat form feed as valid whitespace before a
semicolon (<a
href="https://github.com/astral-sh/ruff/pull/19343">#19343</a>)</li>
<li>[<code>pydoclint</code>] Fix <code>SyntaxError</code> from fixes
with line continuations (<code>D201</code>, <code>D202</code>) (<a
href="https://github.com/astral-sh/ruff/pull/19246">#19246</a>)</li>
<li>[<code>refurb</code>] <code>FURB164</code> fix should validate
arguments and should usually be marked unsafe (<a
href="https://github.com/astral-sh/ruff/pull/19136">#19136</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-use-pathlib</code>] Skip single dots for
<code>invalid-pathlib-with-suffix</code> (<code>PTH210</code>) on
versions &gt;= 3.14 (<a
href="https://github.com/astral-sh/ruff/pull/19331">#19331</a>)</li>
<li>[<code>pep8_naming</code>] Avoid false positives on standard library
functions with uppercase names (<code>N802</code>) (<a
href="https://github.com/astral-sh/ruff/pull/18907">#18907</a>)</li>
<li>[<code>pycodestyle</code>] Handle brace escapes for t-strings in
logical lines (<a
href="https://github.com/astral-sh/ruff/pull/19358">#19358</a>)</li>
<li>[<code>pylint</code>] Extend invalid string character rules to
include t-strings (<a
href="https://github.com/astral-sh/ruff/pull/19355">#19355</a>)</li>
<li>[<code>ruff</code>] Allow <code>strict</code> kwarg when checking
for <code>starmap-zip</code> (<code>RUF058</code>) in Python 3.14+ (<a
href="https://github.com/astral-sh/ruff/pull/19333">#19333</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>[<code>flake8-type-checking</code>] Make <code>TC010</code> docs
example more realistic (<a
href="https://github.com/astral-sh/ruff/pull/19356">#19356</a>)</li>
<li>Make more documentation examples error out-of-the-box (<a
href="https://github.com/astral-sh/ruff/pull/19288">#19288</a>,<a
href="https://github.com/astral-sh/ruff/pull/19272">#19272</a>,<a
href="https://github.com/astral-sh/ruff/pull/19291">#19291</a>,<a
href="https://github.com/astral-sh/ruff/pull/19296">#19296</a>,<a
href="https://github.com/astral-sh/ruff/pull/19292">#19292</a>,<a
href="https://github.com/astral-sh/ruff/pull/19295">#19295</a>,<a
href="https://github.com/astral-sh/ruff/pull/19297">#19297</a>,<a
href="https://github.com/astral-sh/ruff/pull/19309">#19309</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/MatthewMckee4"><code>@​MatthewMckee4</code></a></li>
<li><a
href="https://github.com/MeGaGiGaGon"><code>@​MeGaGiGaGon</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/close2code-palm"><code>@​close2code-palm</code></a></li>
<li><a
href="https://github.com/corneliusroemer"><code>@​corneliusroemer</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/ntBre"><code>@​ntBre</code></a></li>
<li><a
href="https://github.com/oconnor663"><code>@​oconnor663</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.12.4</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-type-checking</code>, <code>pyupgrade</code>,
<code>ruff</code>] Add <code>from __future__ import annotations</code>
when it would allow new fixes (<code>TC001</code>, <code>TC002</code>,
<code>TC003</code>, <code>UP037</code>, <code>RUF013</code>) (<a
href="https://github.com/astral-sh/ruff/pull/19100">#19100</a>)</li>
<li>[<code>flake8-use-pathlib</code>] Add autofix for
<code>PTH109</code> (<a
href="https://github.com/astral-sh/ruff/pull/19245">#19245</a>)</li>
<li>[<code>pylint</code>] Detect indirect <code>pathlib.Path</code>
usages for <code>unspecified-encoding</code> (<code>PLW1514</code>) (<a
href="https://github.com/astral-sh/ruff/pull/19304">#19304</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>flake8-bugbear</code>] Fix <code>B017</code> false negatives
for keyword exception arguments (<a
href="https://github.com/astral-sh/ruff/pull/19217">#19217</a>)</li>
<li>[<code>flake8-use-pathlib</code>] Fix false negative on direct
<code>Path()</code> instantiation (<code>PTH210</code>) (<a
href="https://github.com/astral-sh/ruff/pull/19388">#19388</a>)</li>
<li>[<code>flake8-django</code>] Fix <code>DJ008</code> false positive
for abstract models with type-annotated <code>abstract</code> field (<a
href="https://github.com/astral-sh/ruff/pull/19221">#19221</a>)</li>
<li>[<code>isort</code>] Fix <code>I002</code> import insertion after
docstring with multiple string statements (<a
href="https://github.com/astral-sh/ruff/pull/19222">#19222</a>)</li>
<li>[<code>isort</code>] Treat form feed as valid whitespace before a
semicolon (<a
href="https://github.com/astral-sh/ruff/pull/19343">#19343</a>)</li>
<li>[<code>pydoclint</code>] Fix <code>SyntaxError</code> from fixes
with line continuations (<code>D201</code>, <code>D202</code>) (<a
href="https://github.com/astral-sh/ruff/pull/19246">#19246</a>)</li>
<li>[<code>refurb</code>] <code>FURB164</code> fix should validate
arguments and should usually be marked unsafe (<a
href="https://github.com/astral-sh/ruff/pull/19136">#19136</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-use-pathlib</code>] Skip single dots for
<code>invalid-pathlib-with-suffix</code> (<code>PTH210</code>) on
versions &gt;= 3.14 (<a
href="https://github.com/astral-sh/ruff/pull/19331">#19331</a>)</li>
<li>[<code>pep8_naming</code>] Avoid false positives on standard library
functions with uppercase names (<code>N802</code>) (<a
href="https://github.com/astral-sh/ruff/pull/18907">#18907</a>)</li>
<li>[<code>pycodestyle</code>] Handle brace escapes for t-strings in
logical lines (<a
href="https://github.com/astral-sh/ruff/pull/19358">#19358</a>)</li>
<li>[<code>pylint</code>] Extend invalid string character rules to
include t-strings (<a
href="https://github.com/astral-sh/ruff/pull/19355">#19355</a>)</li>
<li>[<code>ruff</code>] Allow <code>strict</code> kwarg when checking
for <code>starmap-zip</code> (<code>RUF058</code>) in Python 3.14+ (<a
href="https://github.com/astral-sh/ruff/pull/19333">#19333</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>[<code>flake8-type-checking</code>] Make <code>TC010</code> docs
example more realistic (<a
href="https://github.com/astral-sh/ruff/pull/19356">#19356</a>)</li>
<li>Make more documentation examples error out-of-the-box (<a
href="https://github.com/astral-sh/ruff/pull/19288">#19288</a>,<a
href="https://github.com/astral-sh/ruff/pull/19272">#19272</a>,<a
href="https://github.com/astral-sh/ruff/pull/19291">#19291</a>,<a
href="https://github.com/astral-sh/ruff/pull/19296">#19296</a>,<a
href="https://github.com/astral-sh/ruff/pull/19292">#19292</a>,<a
href="https://github.com/astral-sh/ruff/pull/19295">#19295</a>,<a
href="https://github.com/astral-sh/ruff/pull/19297">#19297</a>,<a
href="https://github.com/astral-sh/ruff/pull/19309">#19309</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ruff/commit/ee2759b365448e58503b63636c1cedaa65360bd1"><code>ee2759b</code></a>
Bump 0.12.4 (<a
href="https://github.com/astral-sh/ruff/issues/19406">#19406</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/35f33d9bf5b9dd1cdf4af96999c0f61b8e900579"><code>35f33d9</code></a>
[ty] publish settings diagnostics (<a
href="https://github.com/astral-sh/ruff/issues/19335">#19335</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/5d78b3117aecccbf02a43f10b759127149ae6ce3"><code>5d78b31</code></a>
[<code>flake8-use-pathlib</code>] Add autofix for <code>PTH109</code>
(<a
href="https://github.com/astral-sh/ruff/issues/19245">#19245</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/c2a05b4825a51d9875b88e5b8b05720ceb4b0e51"><code>c2a05b4</code></a>
[ty] Use <code>bitflags</code> for resolved client capabilities (<a
href="https://github.com/astral-sh/ruff/issues/19393">#19393</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/fae0b5c89e266237d10e5879df80f452fe2d4ad9"><code>fae0b5c</code></a>
[ty] Initial implementation of declaration and definition providers. (<a
href="https://github.com/astral-sh/ruff/issues/19371">#19371</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/cbe94b094b4d8ab88feea1ec8343e0ff033e8cae"><code>cbe94b0</code></a>
[ty] Support empty function bodies in <code>if TYPE_CHECKING</code>
blocks (<a
href="https://github.com/astral-sh/ruff/issues/19372">#19372</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/029de784f1ea5ef470cf1471c89e2cbe320f125a"><code>029de78</code></a>
[<code>flake8-use-pathlib</code>] Fix false negative on direct
<code>Path()</code> instantiation (`...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/ff94fe7447a8aff4f408fcac8d7dd1d686c50688"><code>ff94fe7</code></a>
Treat form feed as valid whitespace before a semicolon (<a
href="https://github.com/astral-sh/ruff/issues/19343">#19343</a>)</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/b2501b45e06ecdc653ae52565e90dd163aa30f8a"><code>b2501b4</code></a>
[<code>pylint</code>] Detect indirect <code>pathlib.Path</code> usages
for <code>unspecified-encoding</code> (...</li>
<li><a
href="https://github.com/astral-sh/ruff/commit/291699b375f694c659fe82bdd68b149bde2494ee"><code>291699b</code></a>
[<code>refurb</code>] <code>FURB164</code> fix should validate arguments
and should usually be mark...</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.12.3...0.12.4">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.12.3&new-version=0.12.4)](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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant