Skip to content

Commit f5a8c8c

Browse files
Bump ty from 0.0.11 to 0.0.12 (#1903)
Bumps [ty](https://github.com/astral-sh/ty) from 0.0.11 to 0.0.12. <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.12</h2> <h2>Release Notes</h2> <p>Released on 2026-01-14.</p> <h3>Bug fixes</h3> <ul> <li>Avoid panic that could occur when <code>cast</code>ing an object to a TypedDict or union of TypedDicts (<a href="https://redirect.github.com/astral-sh/ruff/pull/22509">#22509</a>)</li> <li>Fix incorrect narrowing for <code>if type(x) == y</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/22531">#22531</a>)</li> <li>Fix stack overflow with recursive type aliases containing tuple types (<a href="https://redirect.github.com/astral-sh/ruff/pull/22543">#22543</a>)</li> <li><code>functools.total_ordering</code>: ensure the signatures of generated methods reflect the signature of the user-provided method (<a href="https://redirect.github.com/astral-sh/ruff/pull/22496">#22496</a>)</li> <li>Support <code>dataclass_transform</code> as a function call (<a href="https://redirect.github.com/astral-sh/ruff/pull/22378">#22378</a>)</li> <li>Use the top materialization of classes for <code>if type(x) is y</code> narrowing. For example, <code>if type(x) is tuple</code> will cause the type of <code>x</code> to be intersected with <code>tuple[object, ...]</code> rather than <code>tuple[Unknown, ...]</code>. (<a href="https://redirect.github.com/astral-sh/ruff/pull/22553">#22553</a>)</li> <li>Avoid emitting Liskov violations with respect to a grandparent class if such violations could not be fixed without introducing Liskov violations with respect to a parent class (<a href="https://redirect.github.com/astral-sh/ruff/pull/22484">#22484</a>)</li> <li>Fix interaction between classmethod, contextmanager, and Self (<a href="https://redirect.github.com/astral-sh/ruff/pull/22407">#22407</a>)</li> <li>Check contravariant type variable bounds contravariantly in specialization inference (<a href="https://redirect.github.com/astral-sh/ruff/pull/22488">#22488</a>)</li> <li>Fix false positive for bounded type parameters with NewType (<a href="https://redirect.github.com/astral-sh/ruff/pull/22542">#22542</a>)</li> </ul> <h3>Type checking</h3> <ul> <li>Add support for dynamic <code>type()</code> classes (<a href="https://redirect.github.com/astral-sh/ruff/pull/22291">#22291</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/22499">#22499</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/22537">#22537</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/22480">#22480</a>)</li> <li>Add support for functional <code>namedtuple</code> creation (<a href="https://redirect.github.com/astral-sh/ruff/pull/22327">#22327</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/22573">#22573</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/22575">#22575</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/22574">#22574</a>)</li> <li>Add a diagnostic for non-decorator uses of <code>final</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/22555">#22555</a>)</li> <li>Add diagnostic to catch generic enums (<a href="https://redirect.github.com/astral-sh/ruff/pull/22482">#22482</a>)</li> <li>Add diagnostics for <code>__init_subclass__</code> argument mismatch (<a href="https://redirect.github.com/astral-sh/ruff/pull/22185">#22185</a>)</li> <li>Add diagnostics to validate <code>TypeIs</code> and <code>TypeGuard</code> definitions (<a href="https://redirect.github.com/astral-sh/ruff/pull/22300">#22300</a>)</li> <li>Apply type narrowing to walrus targets (<a href="https://redirect.github.com/astral-sh/ruff/pull/22369">#22369</a>)</li> <li>Detect invalid <code>@total_ordering</code> applications in non-decorator contexts (<a href="https://redirect.github.com/astral-sh/ruff/pull/22486">#22486</a>)</li> <li>Fix <code>@todo</code> type for starred expressions (<a href="https://redirect.github.com/astral-sh/ruff/pull/22503">#22503</a>)</li> <li>Improve disambiguation of types in diagnostics (<a href="https://redirect.github.com/astral-sh/ruff/pull/22547">#22547</a>)</li> <li>Include type parameters in the display for generic <code>Callable</code> types (<a href="https://redirect.github.com/astral-sh/ruff/pull/22435">#22435</a>)</li> <li>Infer <code>type[Unknown]</code> for calls to <code>type()</code> when overload evaluation is ambiguous (<a href="https://redirect.github.com/astral-sh/ruff/pull/22569">#22569</a>)</li> <li>Support assignment to unions of <code>TypedDict</code>s (<a href="https://redirect.github.com/astral-sh/ruff/pull/22294">#22294</a>)</li> <li>Use the key and value parameter types as type context for <code>__setitem__</code> dunder calls (<a href="https://redirect.github.com/astral-sh/ruff/pull/22148">#22148</a>)</li> <li>Narrow the right-hand side of <code>==</code>, <code>!=</code>, <code>is</code> and <code>is not</code> conditions when the left-hand side is not narrowable (<a href="https://redirect.github.com/astral-sh/ruff/pull/22511">#22511</a>)</li> </ul> <h3>LSP server</h3> <ul> <li>Fix <code>__file__</code> type in completions to show <code>str</code> instead of <code>str | None</code> when the inferred type is <code>str</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/22510">#22510</a>)</li> <li>Improve rendering of ReST directives in docstrings (<a href="https://redirect.github.com/astral-sh/ruff/pull/22512">#22512</a>)</li> </ul> <h3>Contributors</h3> <ul> <li><a href="https://github.com/eclbg"><code>@​eclbg</code></a></li> <li><a href="https://github.com/RasmusNygren"><code>@​RasmusNygren</code></a></li> <li><a href="https://github.com/carljm"><code>@​carljm</code></a></li> <li><a href="https://github.com/drbh"><code>@​drbh</code></a></li> <li><a href="https://github.com/AryanBagade"><code>@​AryanBagade</code></a></li> <li><a href="https://github.com/bxff"><code>@​bxff</code></a></li> <li><a href="https://github.com/ibraheemdev"><code>@​ibraheemdev</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/ty/blob/main/CHANGELOG.md">ty's changelog</a>.</em></p> <blockquote> <h2>0.0.12</h2> <p>Released on 2026-01-14.</p> <h3>Bug fixes</h3> <ul> <li>Avoid panic that could occur when <code>cast</code>ing an object to a TypedDict or union of TypedDicts (<a href="https://redirect.github.com/astral-sh/ruff/pull/22509">#22509</a>)</li> <li>Fix incorrect narrowing for <code>if type(x) == y</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/22531">#22531</a>)</li> <li>Fix stack overflow with recursive type aliases containing tuple types (<a href="https://redirect.github.com/astral-sh/ruff/pull/22543">#22543</a>)</li> <li><code>functools.total_ordering</code>: ensure the signatures of generated methods reflect the signature of the user-provided method (<a href="https://redirect.github.com/astral-sh/ruff/pull/22496">#22496</a>)</li> <li>Support <code>dataclass_transform</code> as a function call (<a href="https://redirect.github.com/astral-sh/ruff/pull/22378">#22378</a>)</li> <li>Use the top materialization of classes for <code>if type(x) is y</code> narrowing. For example, <code>if type(x) is tuple</code> will cause the type of <code>x</code> to be intersected with <code>tuple[object, ...]</code> rather than <code>tuple[Unknown, ...]</code>. (<a href="https://redirect.github.com/astral-sh/ruff/pull/22553">#22553</a>)</li> <li>Avoid emitting Liskov violations with respect to a grandparent class if such violations could not be fixed without introducing Liskov violations with respect to a parent class (<a href="https://redirect.github.com/astral-sh/ruff/pull/22484">#22484</a>)</li> <li>Fix interaction between classmethod, contextmanager, and Self (<a href="https://redirect.github.com/astral-sh/ruff/pull/22407">#22407</a>)</li> <li>Check contravariant type variable bounds contravariantly in specialization inference (<a href="https://redirect.github.com/astral-sh/ruff/pull/22488">#22488</a>)</li> <li>Fix false positive for bounded type parameters with NewType (<a href="https://redirect.github.com/astral-sh/ruff/pull/22542">#22542</a>)</li> </ul> <h3>Type checking</h3> <ul> <li>Add support for dynamic <code>type()</code> classes (<a href="https://redirect.github.com/astral-sh/ruff/pull/22291">#22291</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/22499">#22499</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/22537">#22537</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/22480">#22480</a>)</li> <li>Add support for functional <code>namedtuple</code> creation (<a href="https://redirect.github.com/astral-sh/ruff/pull/22327">#22327</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/22573">#22573</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/22575">#22575</a>, <a href="https://redirect.github.com/astral-sh/ruff/pull/22574">#22574</a>)</li> <li>Add a diagnostic for non-decorator uses of <code>final</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/22555">#22555</a>)</li> <li>Add diagnostic to catch generic enums (<a href="https://redirect.github.com/astral-sh/ruff/pull/22482">#22482</a>)</li> <li>Add diagnostics for <code>__init_subclass__</code> argument mismatch (<a href="https://redirect.github.com/astral-sh/ruff/pull/22185">#22185</a>)</li> <li>Add diagnostics to validate <code>TypeIs</code> and <code>TypeGuard</code> definitions (<a href="https://redirect.github.com/astral-sh/ruff/pull/22300">#22300</a>)</li> <li>Apply type narrowing to walrus targets (<a href="https://redirect.github.com/astral-sh/ruff/pull/22369">#22369</a>)</li> <li>Detect invalid <code>@total_ordering</code> applications in non-decorator contexts (<a href="https://redirect.github.com/astral-sh/ruff/pull/22486">#22486</a>)</li> <li>Fix <code>@todo</code> type for starred expressions (<a href="https://redirect.github.com/astral-sh/ruff/pull/22503">#22503</a>)</li> <li>Improve disambiguation of types in diagnostics (<a href="https://redirect.github.com/astral-sh/ruff/pull/22547">#22547</a>)</li> <li>Include type parameters in the display for generic <code>Callable</code> types (<a href="https://redirect.github.com/astral-sh/ruff/pull/22435">#22435</a>)</li> <li>Infer <code>type[Unknown]</code> for calls to <code>type()</code> when overload evaluation is ambiguous (<a href="https://redirect.github.com/astral-sh/ruff/pull/22569">#22569</a>)</li> <li>Support assignment to unions of <code>TypedDict</code>s (<a href="https://redirect.github.com/astral-sh/ruff/pull/22294">#22294</a>)</li> <li>Use the key and value parameter types as type context for <code>__setitem__</code> dunder calls (<a href="https://redirect.github.com/astral-sh/ruff/pull/22148">#22148</a>)</li> <li>Narrow the right-hand side of <code>==</code>, <code>!=</code>, <code>is</code> and <code>is not</code> conditions when the left-hand side is not narrowable (<a href="https://redirect.github.com/astral-sh/ruff/pull/22511">#22511</a>)</li> </ul> <h3>LSP server</h3> <ul> <li>Fix <code>__file__</code> type in completions to show <code>str</code> instead of <code>str | None</code> when the inferred type is <code>str</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/22510">#22510</a>)</li> <li>Improve rendering of ReST directives in docstrings (<a href="https://redirect.github.com/astral-sh/ruff/pull/22512">#22512</a>)</li> </ul> <h3>Contributors</h3> <ul> <li><a href="https://github.com/eclbg"><code>@​eclbg</code></a></li> <li><a href="https://github.com/RasmusNygren"><code>@​RasmusNygren</code></a></li> <li><a href="https://github.com/carljm"><code>@​carljm</code></a></li> <li><a href="https://github.com/drbh"><code>@​drbh</code></a></li> <li><a href="https://github.com/AryanBagade"><code>@​AryanBagade</code></a></li> <li><a href="https://github.com/bxff"><code>@​bxff</code></a></li> <li><a href="https://github.com/ibraheemdev"><code>@​ibraheemdev</code></a></li> <li><a href="https://github.com/charliermarsh"><code>@​charliermarsh</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/ty/commit/4b74e4ded20b6ea1a6ff7d06de867c64324c6d8d"><code>4b74e4d</code></a> Bump to 0.0.12 (<a href="https://redirect.github.com/astral-sh/ty/issues/2500">#2500</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/3b83666f7b3c90da384d0a0d9a198e2743ed04c5"><code>3b83666</code></a> Re-add fixed-width size for image (<a href="https://redirect.github.com/astral-sh/ty/issues/2485">#2485</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/11540c5a2fc88cebee8378e6016a81e3a19db1e5"><code>11540c5</code></a> Update VS Code extension docs (<a href="https://redirect.github.com/astral-sh/ty/issues/2475">#2475</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/c7f64046ddf88346dc024d544f2afb2236f631da"><code>c7f6404</code></a> Fix the docs links to the benchmark results (<a href="https://redirect.github.com/astral-sh/ty/issues/2459">#2459</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/5264371179dddb087e27ac16f95453e6be1a4ee9"><code>5264371</code></a> Use prek in documentation and CI (<a href="https://redirect.github.com/astral-sh/ty/issues/2469">#2469</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/29072a56f4c109f35d53ec27ff6cdea2d3098cba"><code>29072a5</code></a> Fix changelog typo (<a href="https://redirect.github.com/astral-sh/ty/issues/2461">#2461</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/6b5938a5cbff201f1a6bebad991df9095ee76cbf"><code>6b5938a</code></a> Stylize 'ty' correctly in zed configuration docs (<a href="https://redirect.github.com/astral-sh/ty/issues/2458">#2458</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/2ebb37cf605437231fa7fa1c555df4db93270998"><code>2ebb37c</code></a> Update actions/checkout digest to 0c366fd (<a href="https://redirect.github.com/astral-sh/ty/issues/2452">#2452</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/5fbc4728ef2403ecbc597421394aa9ff253145e4"><code>5fbc472</code></a> Update pre-commit dependencies (<a href="https://redirect.github.com/astral-sh/ty/issues/2453">#2453</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/d2176ebf749f952e1882741736c31bf6ff413a41"><code>d2176eb</code></a> Update astral-sh/setup-uv action to v7.2.0 (<a href="https://redirect.github.com/astral-sh/ty/issues/2454">#2454</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ty/compare/0.0.11...0.0.12">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.11&new-version=0.0.12)](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>
1 parent 2d9fdc6 commit f5a8c8c

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

uv.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)