Skip to content

Commit f5c01e4

Browse files
Build(deps-dev): bump ruff from 0.12.3 to 0.12.4 (#289)
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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.github.com/astral-sh/ruff/pull/19356">#19356</a>)</li> <li>Make more documentation examples error out-of-the-box (<a href="https://redirect.github.com/astral-sh/ruff/pull/19288">#19288</a>,<a href="https://redirect.github.com/astral-sh/ruff/pull/19272">#19272</a>,<a href="https://redirect.github.com/astral-sh/ruff/pull/19291">#19291</a>,<a href="https://redirect.github.com/astral-sh/ruff/pull/19296">#19296</a>,<a href="https://redirect.github.com/astral-sh/ruff/pull/19292">#19292</a>,<a href="https://redirect.github.com/astral-sh/ruff/pull/19295">#19295</a>,<a href="https://redirect.github.com/astral-sh/ruff/pull/19297">#19297</a>,<a href="https://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.github.com/astral-sh/ruff/pull/19356">#19356</a>)</li> <li>Make more documentation examples error out-of-the-box (<a href="https://redirect.github.com/astral-sh/ruff/pull/19288">#19288</a>,<a href="https://redirect.github.com/astral-sh/ruff/pull/19272">#19272</a>,<a href="https://redirect.github.com/astral-sh/ruff/pull/19291">#19291</a>,<a href="https://redirect.github.com/astral-sh/ruff/pull/19296">#19296</a>,<a href="https://redirect.github.com/astral-sh/ruff/pull/19292">#19292</a>,<a href="https://redirect.github.com/astral-sh/ruff/pull/19295">#19295</a>,<a href="https://redirect.github.com/astral-sh/ruff/pull/19297">#19297</a>,<a href="https://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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://redirect.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>
2 parents 8ebcb9a + 5716265 commit f5c01e4

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

poetry.lock

Lines changed: 19 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)