Skip to content

Commit 11fc416

Browse files
Bump the python group with 2 updates (#174)
Bumps the python group with 2 updates: [ruff](https://github.com/astral-sh/ruff) and [ty](https://github.com/astral-sh/ty). Updates `ruff` from 0.15.8 to 0.15.9 <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.15.9</h2> <h2>Release Notes</h2> <p>Released on 2026-04-02.</p> <h3>Preview features</h3> <ul> <li>[<code>pyflakes</code>] Flag annotated variable redeclarations as <code>F811</code> in preview mode (<a href="https://redirect.github.com/astral-sh/ruff/pull/24244">#24244</a>)</li> <li>[<code>ruff</code>] Allow dunder-named assignments in non-strict mode for <code>RUF067</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/24089">#24089</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>flake8-errmsg</code>] Avoid shadowing existing <code>msg</code> in fix for <code>EM101</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/24363">#24363</a>)</li> <li>[<code>flake8-simplify</code>] Ignore pre-initialization references in <code>SIM113</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/24235">#24235</a>)</li> <li>[<code>pycodestyle</code>] Fix <code>W391</code> fixes for consecutive empty notebook cells (<a href="https://redirect.github.com/astral-sh/ruff/pull/24236">#24236</a>)</li> <li>[<code>pyupgrade</code>] Fix <code>UP008</code> nested class matching (<a href="https://redirect.github.com/astral-sh/ruff/pull/24273">#24273</a>)</li> <li>[<code>pyupgrade</code>] Ignore strings with string-only escapes (<code>UP012</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16058">#16058</a>)</li> <li>[<code>ruff</code>] <code>RUF072</code>: skip formfeeds on dedent (<a href="https://redirect.github.com/astral-sh/ruff/pull/24308">#24308</a>)</li> <li>[<code>ruff</code>] Avoid re-using symbol in <code>RUF024</code> fix (<a href="https://redirect.github.com/astral-sh/ruff/pull/24316">#24316</a>)</li> <li>[<code>ruff</code>] Parenthesize expression in <code>RUF050</code> fix (<a href="https://redirect.github.com/astral-sh/ruff/pull/24234">#24234</a>)</li> <li>Disallow starred expressions as values of starred expressions (<a href="https://redirect.github.com/astral-sh/ruff/pull/24280">#24280</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-simplify</code>] Suppress <code>SIM105</code> for <code>except*</code> before Python 3.12 (<a href="https://redirect.github.com/astral-sh/ruff/pull/23869">#23869</a>)</li> <li>[<code>pyflakes</code>] Extend <code>F507</code> to flag <code>%</code>-format strings with zero placeholders (<a href="https://redirect.github.com/astral-sh/ruff/pull/24215">#24215</a>)</li> <li>[<code>pyupgrade</code>] <code>UP018</code> should detect more unnecessarily wrapped literals (UP018) (<a href="https://redirect.github.com/astral-sh/ruff/pull/24093">#24093</a>)</li> <li>[<code>pyupgrade</code>] Fix <code>UP008</code> callable scope handling to support lambdas (<a href="https://redirect.github.com/astral-sh/ruff/pull/24274">#24274</a>)</li> <li>[<code>ruff</code>] <code>RUF010</code>: Mark fix as unsafe when it deletes a comment (<a href="https://redirect.github.com/astral-sh/ruff/pull/24270">#24270</a>)</li> </ul> <h3>Formatter</h3> <ul> <li>Add <code>nested-string-quote-style</code> formatting option (<a href="https://redirect.github.com/astral-sh/ruff/pull/24312">#24312</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>[<code>flake8-bugbear</code>] Clarify RUF071 fix safety for non-path string comparisons (<a href="https://redirect.github.com/astral-sh/ruff/pull/24149">#24149</a>)</li> <li>[<code>flake8-type-checking</code>] Clarify import cycle wording for <code>TC001</code>/<code>TC002</code>/<code>TC003</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/24322">#24322</a>)</li> </ul> <h3>Other changes</h3> <ul> <li>Avoid rendering fix lines with trailing whitespace after <code>|</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/24343">#24343</a>)</li> </ul> <h3>Contributors</h3> <ul> <li><a href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@​MichaReiser</code></a></li> <li><a href="https://github.com/tranhoangtu-it"><code>@​tranhoangtu-it</code></a></li> <li><a href="https://github.com/dylwil3"><code>@​dylwil3</code></a></li> <li><a href="https://github.com/zsol"><code>@​zsol</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.15.9</h2> <p>Released on 2026-04-02.</p> <h3>Preview features</h3> <ul> <li>[<code>pyflakes</code>] Flag annotated variable redeclarations as <code>F811</code> in preview mode (<a href="https://redirect.github.com/astral-sh/ruff/pull/24244">#24244</a>)</li> <li>[<code>ruff</code>] Allow dunder-named assignments in non-strict mode for <code>RUF067</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/24089">#24089</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>flake8-errmsg</code>] Avoid shadowing existing <code>msg</code> in fix for <code>EM101</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/24363">#24363</a>)</li> <li>[<code>flake8-simplify</code>] Ignore pre-initialization references in <code>SIM113</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/24235">#24235</a>)</li> <li>[<code>pycodestyle</code>] Fix <code>W391</code> fixes for consecutive empty notebook cells (<a href="https://redirect.github.com/astral-sh/ruff/pull/24236">#24236</a>)</li> <li>[<code>pyupgrade</code>] Fix <code>UP008</code> nested class matching (<a href="https://redirect.github.com/astral-sh/ruff/pull/24273">#24273</a>)</li> <li>[<code>pyupgrade</code>] Ignore strings with string-only escapes (<code>UP012</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/16058">#16058</a>)</li> <li>[<code>ruff</code>] <code>RUF072</code>: skip formfeeds on dedent (<a href="https://redirect.github.com/astral-sh/ruff/pull/24308">#24308</a>)</li> <li>[<code>ruff</code>] Avoid re-using symbol in <code>RUF024</code> fix (<a href="https://redirect.github.com/astral-sh/ruff/pull/24316">#24316</a>)</li> <li>[<code>ruff</code>] Parenthesize expression in <code>RUF050</code> fix (<a href="https://redirect.github.com/astral-sh/ruff/pull/24234">#24234</a>)</li> <li>Disallow starred expressions as values of starred expressions (<a href="https://redirect.github.com/astral-sh/ruff/pull/24280">#24280</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-simplify</code>] Suppress <code>SIM105</code> for <code>except*</code> before Python 3.12 (<a href="https://redirect.github.com/astral-sh/ruff/pull/23869">#23869</a>)</li> <li>[<code>pyflakes</code>] Extend <code>F507</code> to flag <code>%</code>-format strings with zero placeholders (<a href="https://redirect.github.com/astral-sh/ruff/pull/24215">#24215</a>)</li> <li>[<code>pyupgrade</code>] <code>UP018</code> should detect more unnecessarily wrapped literals (UP018) (<a href="https://redirect.github.com/astral-sh/ruff/pull/24093">#24093</a>)</li> <li>[<code>pyupgrade</code>] Fix <code>UP008</code> callable scope handling to support lambdas (<a href="https://redirect.github.com/astral-sh/ruff/pull/24274">#24274</a>)</li> <li>[<code>ruff</code>] <code>RUF010</code>: Mark fix as unsafe when it deletes a comment (<a href="https://redirect.github.com/astral-sh/ruff/pull/24270">#24270</a>)</li> </ul> <h3>Formatter</h3> <ul> <li>Add <code>nested-string-quote-style</code> formatting option (<a href="https://redirect.github.com/astral-sh/ruff/pull/24312">#24312</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>[<code>flake8-bugbear</code>] Clarify RUF071 fix safety for non-path string comparisons (<a href="https://redirect.github.com/astral-sh/ruff/pull/24149">#24149</a>)</li> <li>[<code>flake8-type-checking</code>] Clarify import cycle wording for <code>TC001</code>/<code>TC002</code>/<code>TC003</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/24322">#24322</a>)</li> </ul> <h3>Other changes</h3> <ul> <li>Avoid rendering fix lines with trailing whitespace after <code>|</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/24343">#24343</a>)</li> </ul> <h3>Contributors</h3> <ul> <li><a href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@​MichaReiser</code></a></li> <li><a href="https://github.com/tranhoangtu-it"><code>@​tranhoangtu-it</code></a></li> <li><a href="https://github.com/dylwil3"><code>@​dylwil3</code></a></li> <li><a href="https://github.com/zsol"><code>@​zsol</code></a></li> <li><a href="https://github.com/renovate"><code>@​renovate</code></a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/724ccc1ae8a61e872cf58435f2c073189dc248f2"><code>724ccc1</code></a> Bump 0.15.9 (<a href="https://redirect.github.com/astral-sh/ruff/issues/24369">#24369</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/96d9e0964cb87498ef15510ea7f896ba336659f9"><code>96d9e09</code></a> [ty] Move the <code>deferred</code> submodule inside <code>infer/builder</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/24368">#24368</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/130da28d610a466721bb942e8a5e0ec47bbe3469"><code>130da28</code></a> [ty] Infer the <code>extra_items</code> keyword argument to class-based TypedDicts as an...</li> <li><a href="https://github.com/astral-sh/ruff/commit/a617c54b0708a8c1eb850cc3b2a5caee21137a28"><code>a617c54</code></a> [ty] Validate type qualifiers in functional TypedDict fields and the `extra_i...</li> <li><a href="https://github.com/astral-sh/ruff/commit/d8517087c6cd0aa4f33dcede605ff642941dd74b"><code>d851708</code></a> [ty] Improve robustness of various type-qualifier-related checks (<a href="https://redirect.github.com/astral-sh/ruff/issues/24251">#24251</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/aecb5877c6d6fe035c03aba994ec3a7b935b8f02"><code>aecb587</code></a> Only run the release-gate on workflow dispatch (<a href="https://redirect.github.com/astral-sh/ruff/issues/24366">#24366</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/b88957174311030927bf564da32d05dee0eb89d9"><code>b889571</code></a> [ty] Use <code>infer_type_expression</code> for parsing parameter annotations and return...</li> <li><a href="https://github.com/astral-sh/ruff/commit/3286a62be986a8d6d04d95b3bc619f06e012fa2f"><code>3286a62</code></a> Add a &quot;release-gate&quot; step to the release workflow (<a href="https://redirect.github.com/astral-sh/ruff/issues/24365">#24365</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/5f88756ee10e3faf0e96c883c34c95fc78200536"><code>5f88756</code></a> Disallow starred expressions as values of starred expressions (<a href="https://redirect.github.com/astral-sh/ruff/issues/24280">#24280</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/5c59f8a46965cac3470f09972196c8620faa4626"><code>5c59f8a</code></a> [<code>pyupgrade</code>] Ignore strings with string-only escapes (<code>UP012</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/16058">#16058</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.15.8...0.15.9">compare view</a></li> </ul> </details> <br /> Updates `ty` from 0.0.27 to 0.0.28 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ty/releases">ty's releases</a>.</em></p> <blockquote> <h2>0.0.28</h2> <h2>Release Notes</h2> <p>Released on 2026-04-02.</p> <h3>Bug fixes</h3> <ul> <li>Mark loop header assignments as used to avoid false positives in &quot;unused variable&quot; diagnostics (<a href="https://redirect.github.com/astral-sh/ruff/pull/24336">#24336</a>)</li> </ul> <h3>LSP server</h3> <ul> <li>Show constructor signature of classes when hovering over them (<a href="https://redirect.github.com/astral-sh/ruff/pull/24257">#24257</a>)</li> </ul> <h3>Core type checking</h3> <ul> <li>Avoid emitting cascading diagnostics when parsing invalid type expressions (<a href="https://redirect.github.com/astral-sh/ruff/pull/24326">#24326</a>)</li> <li>Handle most &quot;deep&quot; mutual TypeVar constraints (<a href="https://redirect.github.com/astral-sh/ruff/pull/24079">#24079</a>)</li> <li>Improve consistency and quality of diagnostics relating to invalid type forms (<a href="https://redirect.github.com/astral-sh/ruff/pull/24325">#24325</a>)</li> <li>Improve robustness of various type-qualifier-related checks (<a href="https://redirect.github.com/astral-sh/ruff/pull/24251">#24251</a>)</li> <li>Infer the <code>extra_items</code> keyword argument to class-based TypedDicts as an annotation expression (<a href="https://redirect.github.com/astral-sh/ruff/pull/24362">#24362</a>)</li> <li>Use bidirectional inference to fix false positives on operations such as <code>x: list[int | None] = [None] * 2</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/24197">#24197</a>)</li> <li>Sync vendored typeshed stubs (<a href="https://redirect.github.com/astral-sh/ruff/pull/24340">#24340</a>). <a href="https://github.com/python/typeshed/compare/f8f0794d0fe249c06dc9f31a004d85be6cca6ced...c5e47faeda2cf9d233f91bc1dc95814b0cc7ccba">Typeshed diff</a></li> <li>Tighten up validation of subscripts and attributes in type expressions (<a href="https://redirect.github.com/astral-sh/ruff/pull/24329">#24329</a>)</li> <li>Use <code>infer_type_expression</code> for parsing parameter annotations and return-type annotations (<a href="https://redirect.github.com/astral-sh/ruff/pull/24353">#24353</a>)</li> <li>Use <code>infer_type_expression</code> for validating PEP-613 type aliases (<a href="https://redirect.github.com/astral-sh/ruff/pull/24370">#24370</a>)</li> <li>Validate TypedDict fields when subclassing (<a href="https://redirect.github.com/astral-sh/ruff/pull/24338">#24338</a>)</li> <li>Validate type qualifiers in functional TypedDict fields and the <code>extra_items</code> keyword to functional TypedDicts (<a href="https://redirect.github.com/astral-sh/ruff/pull/24360">#24360</a>)</li> <li>Improve diagnostics for invalid functional <code>TypedDict</code>s (<a href="https://redirect.github.com/astral-sh/ruff/pull/24345">#24345</a>)</li> </ul> <h3>Contributors</h3> <ul> <li><a href="https://github.com/zsol"><code>@​zsol</code></a></li> <li><a href="https://github.com/dcreager"><code>@​dcreager</code></a></li> <li><a href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a></li> <li><a href="https://github.com/oconnor663"><code>@​oconnor663</code></a></li> <li><a href="https://github.com/AlexWaygood"><code>@​AlexWaygood</code></a></li> <li><a href="https://github.com/Glyphack"><code>@​Glyphack</code></a></li> </ul> <h2>Install ty 0.0.28</h2> <h3>Install prebuilt binaries via shell script</h3> <pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/ty/releases/download/0.0.28/ty-installer.sh | sh </code></pre> <h3>Install prebuilt binaries via powershell script</h3> <pre lang="sh"><code>powershell -ExecutionPolicy Bypass -c &quot;irm https://releases.astral.sh/github/ty/releases/download/0.0.28/ty-installer.ps1 | iex&quot; &lt;/tr&gt;&lt;/table&gt; </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ty/blob/main/CHANGELOG.md">ty's changelog</a>.</em></p> <blockquote> <h2>0.0.28</h2> <p>Released on 2026-04-02.</p> <h3>Bug fixes</h3> <ul> <li>Mark loop header assignments as used to avoid false positives in &quot;unused variable&quot; diagnostics (<a href="https://redirect.github.com/astral-sh/ruff/pull/24336">#24336</a>)</li> </ul> <h3>LSP server</h3> <ul> <li>Show constructor signature of classes when hovering over them (<a href="https://redirect.github.com/astral-sh/ruff/pull/24257">#24257</a>)</li> </ul> <h3>Core type checking</h3> <ul> <li>Avoid emitting cascading diagnostics when parsing invalid type expressions (<a href="https://redirect.github.com/astral-sh/ruff/pull/24326">#24326</a>)</li> <li>Handle most &quot;deep&quot; mutual TypeVar constraints (<a href="https://redirect.github.com/astral-sh/ruff/pull/24079">#24079</a>)</li> <li>Improve consistency and quality of diagnostics relating to invalid type forms (<a href="https://redirect.github.com/astral-sh/ruff/pull/24325">#24325</a>)</li> <li>Improve robustness of various type-qualifier-related checks (<a href="https://redirect.github.com/astral-sh/ruff/pull/24251">#24251</a>)</li> <li>Infer the <code>extra_items</code> keyword argument to class-based TypedDicts as an annotation expression (<a href="https://redirect.github.com/astral-sh/ruff/pull/24362">#24362</a>)</li> <li>Use bidirectional inference to fix false positives on operations such as <code>x: list[int | None] = [None] * 2</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/24197">#24197</a>)</li> <li>Sync vendored typeshed stubs (<a href="https://redirect.github.com/astral-sh/ruff/pull/24340">#24340</a>). <a href="https://github.com/python/typeshed/compare/f8f0794d0fe249c06dc9f31a004d85be6cca6ced...c5e47faeda2cf9d233f91bc1dc95814b0cc7ccba">Typeshed diff</a></li> <li>Tighten up validation of subscripts and attributes in type expressions (<a href="https://redirect.github.com/astral-sh/ruff/pull/24329">#24329</a>)</li> <li>Use <code>infer_type_expression</code> for parsing parameter annotations and return-type annotations (<a href="https://redirect.github.com/astral-sh/ruff/pull/24353">#24353</a>)</li> <li>Use <code>infer_type_expression</code> for validating PEP-613 type aliases (<a href="https://redirect.github.com/astral-sh/ruff/pull/24370">#24370</a>)</li> <li>Validate TypedDict fields when subclassing (<a href="https://redirect.github.com/astral-sh/ruff/pull/24338">#24338</a>)</li> <li>Validate type qualifiers in functional TypedDict fields and the <code>extra_items</code> keyword to functional TypedDicts (<a href="https://redirect.github.com/astral-sh/ruff/pull/24360">#24360</a>)</li> <li>Improve diagnostics for invalid functional <code>TypedDict</code>s (<a href="https://redirect.github.com/astral-sh/ruff/pull/24345">#24345</a>)</li> </ul> <h3>Contributors</h3> <ul> <li><a href="https://github.com/zsol"><code>@​zsol</code></a></li> <li><a href="https://github.com/dcreager"><code>@​dcreager</code></a></li> <li><a href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a></li> <li><a href="https://github.com/oconnor663"><code>@​oconnor663</code></a></li> <li><a href="https://github.com/AlexWaygood"><code>@​AlexWaygood</code></a></li> <li><a href="https://github.com/Glyphack"><code>@​Glyphack</code></a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ty/commit/927aad261f59c957f83237471b4441dfce1ff425"><code>927aad2</code></a> Bump version to 0.0.28 (<a href="https://redirect.github.com/astral-sh/ty/issues/3206">#3206</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/29d288e5e8012277f94aff7fdcff913b65f13f39"><code>29d288e</code></a> Publish installers to <code>/installers/ty/latest</code> on the mirror (<a href="https://redirect.github.com/astral-sh/ty/issues/3202">#3202</a>)</li> <li>See full diff in <a href="https://github.com/astral-sh/ty/compare/0.0.27...0.0.28">compare view</a></li> </ul> </details> <br /> 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 21a427f commit 11fc416

File tree

1 file changed

+41
-41
lines changed

1 file changed

+41
-41
lines changed

0 commit comments

Comments
 (0)