Skip to content

Commit 5a0123d

Browse files
Bump ty from 0.0.29 to 0.0.31 (#466)
Bumps [ty](https://github.com/astral-sh/ty) from 0.0.29 to 0.0.31. <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.31</h2> <h2>Release Notes</h2> <p>Released on 2026-04-15.</p> <h3>Bug fixes</h3> <ul> <li>Avoid panic from double inference for <code>namedtuple(typename=T, field_names=x, **{})</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/24641">#24641</a>)</li> <li>Avoid panic from double inference with missing functional <code>Enum(...)</code> names (<a href="https://redirect.github.com/astral-sh/ruff/pull/24638">#24638</a>)</li> <li>Avoid panic from double inference with functional <code>Enum(value=...)</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/24639">#24639</a>)</li> <li>Fix cases where <code>invalid-key</code> fix doesn't converge, and <code>override-of-final-method</code> produces invalid syntax (<a href="https://redirect.github.com/astral-sh/ruff/pull/24649">#24649</a>)</li> <li>Fix unnecessary <code>ty:ignore</code> comments inserted by <code>--add-ignore</code> for diagnostics starting on the same line (<a href="https://redirect.github.com/astral-sh/ruff/pull/24651">#24651</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Add <code>--fix</code> mode to enable auto-fix for diagnostics (<a href="https://redirect.github.com/astral-sh/ruff/pull/24097">#24097</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Avoid excessive memory usage for dataclasses with many fields (<a href="https://redirect.github.com/astral-sh/ruff/pull/24620">#24620</a>)</li> </ul> <h3>Core type checking</h3> <ul> <li>Check inherited <code>NamedTuple</code> field conflicts (<a href="https://redirect.github.com/astral-sh/ruff/pull/24542">#24542</a>)</li> <li>Error when duplicate keywords are provided to TypedDict constructors (<a href="https://redirect.github.com/astral-sh/ruff/pull/24449">#24449</a>)</li> <li>Respect mixed positional and keyword arguments in TypedDict constructor (<a href="https://redirect.github.com/astral-sh/ruff/pull/24448">#24448</a>)</li> <li>Respect subclass shadowing for inherited NamedTuple fields (<a href="https://redirect.github.com/astral-sh/ruff/pull/24640">#24640</a>)</li> <li>Skip <code>EnumMeta.__call__</code> for enum constructor signatures (<a href="https://redirect.github.com/astral-sh/ruff/pull/24513">#24513</a>)</li> </ul> <h3>Contributors</h3> <ul> <li><a href="https://github.com/sharkdp"><code>@​sharkdp</code></a></li> <li><a href="https://github.com/Glyphack"><code>@​Glyphack</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@​MichaReiser</code></a></li> <li><a href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a></li> </ul> <h2>Install ty 0.0.31</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.31/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.31/ty-installer.ps1 | iex&quot; </code></pre> <!-- raw HTML omitted --> </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.31</h2> <p>Released on 2026-04-15.</p> <h3>Bug fixes</h3> <ul> <li>Avoid panic from double inference for <code>namedtuple(typename=T, field_names=x, **{})</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/24641">#24641</a>)</li> <li>Avoid panic from double inference with missing functional <code>Enum(...)</code> names (<a href="https://redirect.github.com/astral-sh/ruff/pull/24638">#24638</a>)</li> <li>Avoid panic from double inference with functional <code>Enum(value=...)</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/24639">#24639</a>)</li> <li>Fix cases where <code>invalid-key</code> fix doesn't converge, and <code>override-of-final-method</code> produces invalid syntax (<a href="https://redirect.github.com/astral-sh/ruff/pull/24649">#24649</a>)</li> <li>Fix unnecessary <code>ty:ignore</code> comments inserted by <code>--add-ignore</code> for diagnostics starting on the same line (<a href="https://redirect.github.com/astral-sh/ruff/pull/24651">#24651</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Add <code>--fix</code> mode to enable auto-fix for diagnostics (<a href="https://redirect.github.com/astral-sh/ruff/pull/24097">#24097</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Avoid excessive memory usage for dataclasses with many fields (<a href="https://redirect.github.com/astral-sh/ruff/pull/24620">#24620</a>)</li> </ul> <h3>Core type checking</h3> <ul> <li>Check inherited <code>NamedTuple</code> field conflicts (<a href="https://redirect.github.com/astral-sh/ruff/pull/24542">#24542</a>)</li> <li>Error when duplicate keywords are provided to TypedDict constructors (<a href="https://redirect.github.com/astral-sh/ruff/pull/24449">#24449</a>)</li> <li>Respect mixed positional and keyword arguments in TypedDict constructor (<a href="https://redirect.github.com/astral-sh/ruff/pull/24448">#24448</a>)</li> <li>Respect subclass shadowing for inherited NamedTuple fields (<a href="https://redirect.github.com/astral-sh/ruff/pull/24640">#24640</a>)</li> <li>Skip <code>EnumMeta.__call__</code> for enum constructor signatures (<a href="https://redirect.github.com/astral-sh/ruff/pull/24513">#24513</a>)</li> </ul> <h3>Contributors</h3> <ul> <li><a href="https://github.com/sharkdp"><code>@​sharkdp</code></a></li> <li><a href="https://github.com/Glyphack"><code>@​Glyphack</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@​MichaReiser</code></a></li> <li><a href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a></li> </ul> <h2>0.0.30</h2> <p>Released on 2026-04-13.</p> <p>As of v0.0.30, ty no longer unions <code>Unknown</code> into most inferred types of unannotated attributes. For example:</p> <pre lang="python"><code>class Foo: def __init__(self) -&gt; None: self.value = 1 <p>reveal_type(Foo().value) # revealed: int Foo().value = &quot;x&quot; # error: [invalid-assignment] </code></pre></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ty/commit/daaa40454966558ffd2a0ea3dcf86bc1749c8715"><code>daaa404</code></a> Bump version to 0.0.31 (<a href="https://redirect.github.com/astral-sh/ty/issues/3280">#3280</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/12e86b58b5034a29266268195afc16feeab6e3ea"><code>12e86b5</code></a> Bump version to 0.0.30 (<a href="https://redirect.github.com/astral-sh/ty/issues/3270">#3270</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/67077ad5fbde5adc1df0e3169525040ad1139dab"><code>67077ad</code></a> Reorder sections in FAQ (<a href="https://redirect.github.com/astral-sh/ty/issues/3267">#3267</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/01144db2dc10e0e8dbf1665fbb7faf1a545d0df4"><code>01144db</code></a> Update docker/login-action action to v4.1.0 (<a href="https://redirect.github.com/astral-sh/ty/issues/3262">#3262</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/48b3fe3d5636f8ac337f0e9cf014c80190a1b427"><code>48b3fe3</code></a> Update prek dependencies (<a href="https://redirect.github.com/astral-sh/ty/issues/3261">#3261</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/7c8133816405d504c81651f341b833ae12c9574b"><code>7c81338</code></a> Create a &quot;deployment&quot; for the release-gate job (<a href="https://redirect.github.com/astral-sh/ty/issues/3239">#3239</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/a447e03aa5a8147aa69ed9eac5d68d36198d6237"><code>a447e03</code></a> Add a &quot;release-gate&quot; step to the release workflow (<a href="https://redirect.github.com/astral-sh/ty/issues/3205">#3205</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/5131a0e5c26d3cb4daf5fb489ddd54beca8e4a61"><code>5131a0e</code></a> Update prek dependencies (<a href="https://redirect.github.com/astral-sh/ty/issues/3221">#3221</a>)</li> <li>See full diff in <a href="https://github.com/astral-sh/ty/compare/0.0.29...0.0.31">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ty&package-manager=uv&previous-version=0.0.29&new-version=0.0.31)](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 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>
1 parent 0256598 commit 5a0123d

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

uv.lock

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

0 commit comments

Comments
 (0)