Commit e523651
authored
Bump ty from 0.0.12 to 0.0.13 (#1911)
Bumps [ty](https://github.com/astral-sh/ty) from 0.0.12 to 0.0.13.
<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.13</h2>
<h2>Release Notes</h2>
<p>Released on 2026-01-21.</p>
<h3>Bug fixes</h3>
<ul>
<li>Fix <code>--force-exclude</code> when excluding entire directories
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/22595">#22595</a>)</li>
<li>Fix missing syntax highlighting for aliased import names (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22675">#22675</a>)</li>
<li>Highlight interpolated-parts in t-strings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22674">#22674</a>)</li>
<li>Fix the inferred MRO of functional namedtuple classes (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22722">#22722</a>)</li>
<li>Make special cases for subscript inference exhaustive, ensuring that
the special casing for tuple subscripts is applied when a union of
tuples or an alias to a tuple type is subscripted (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22035">#22035</a>)</li>
</ul>
<h3>LSP server</h3>
<ul>
<li>Improve completion suggestions inside class definitions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22571">#22571</a>)</li>
<li>Improve performance of completions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22630">#22630</a>)</li>
<li>Remove completion suggestions for redundant re-exports that share
the same top-most module (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22581">#22581</a>)</li>
</ul>
<h3>Core type checking</h3>
<ul>
<li>Add basic support for overloads in <code>ParamSpec</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21946">#21946</a>)</li>
<li>Allow <code>...</code> as a default value for any parameter if the
function is in an <code>if TYPE_CHECKING</code> block (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22624">#22624</a>)</li>
<li>Allow <code>if type(x) is Y</code> narrowing for types other than
class-literal types (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22729">#22729</a>)</li>
<li>Avoid overload errors when detecting dataclass-on-tuple (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22687">#22687</a>)</li>
<li>Avoid reporting overload errors for successful union variants (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22688">#22688</a>)</li>
<li>Ban <code>NewType</code>s with generic bases (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22653">#22653</a>)</li>
<li>Fix PEP 695 type aliases not expanding in overload resolution (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22589">#22589</a>)</li>
<li>Fix the return type for synthesized <code>NamedTuple.__new__</code>
methods (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22625">#22625</a>)</li>
<li>Emit diagnostics for <code>NamedTuple</code>,
<code>TypedDict</code>, <code>Enum</code> or <code>Protocol</code>
classes decorated with <code>@DataClass</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22672">#22672</a>)</li>
<li>Emit <code>invalid-type-form</code> diagnostics for stringified
annotations where the quoted expression is invalid (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22752">#22752</a>)</li>
<li>Infer the implicit type of <code>cls</code> in <code>__new__</code>
methods (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22584">#22584</a>)</li>
<li>Make <code>ModuleType</code> and <code>object</code> attributes
available on namespace packages (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22606">#22606</a>)</li>
<li>Make <code>NamedTuple(...)</code> and <code>namedtuple(...)</code>
calls stricter (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22601">#22601</a>)</li>
<li>Narrow on bool and byte subscripts (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22684">#22684</a>)</li>
<li>Narrow on negative subscript indexing (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22682">#22682</a>)</li>
<li>Override <code>__file__</code> to <code>str</code> when applicable
on imported modules (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22333">#22333</a>)</li>
<li>Add bidirectional inference for comprehensions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22564">#22564</a>)</li>
<li>Recognize string-literal types as subtypes of
<code>Sequence[Literal[chars]]</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22415">#22415</a>)</li>
<li>Add right-hand-side narrowing for <code>if Foo is type(x)</code>
expressions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22608">#22608</a>)</li>
<li>Add simple syntactic validation for the right-hand side of PEP-613
type aliases (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22652">#22652</a>)</li>
<li>Add support for passing <code>typename</code> and
<code>field_names</code> by keyword argument to
<code>collections.namedtuple()</code> calls (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22660">#22660</a>)</li>
<li>Add support for starred unpacking in class bases (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22591">#22591</a>)</li>
<li>Validate constructor arguments when a class is used as a decorator
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/22377">#22377</a>)</li>
<li>Validate field names for <code>typing.NamedTuple(...)</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22599">#22599</a>)</li>
<li>Add diagnostic on overridden <code>__setattr__</code> and
<code>__delattr__</code> in frozen dataclasses (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21430">#21430</a>)</li>
<li>Fix unary operators on <code>NewType</code>s of <code>float</code>
or <code>complex</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22605">#22605</a>)</li>
</ul>
<h3>Configuration</h3>
<!-- 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.13</h2>
<p>Released on 2026-01-21.</p>
<h3>Bug fixes</h3>
<ul>
<li>Fix <code>--force-exclude</code> when excluding entire directories
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/22595">#22595</a>)</li>
<li>Fix missing syntax highlighting for aliased import names (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22675">#22675</a>)</li>
<li>Highlight interpolated-parts in t-strings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22674">#22674</a>)</li>
<li>Fix the inferred MRO of functional namedtuple classes (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22722">#22722</a>)</li>
<li>Make special cases for subscript inference exhaustive, ensuring that
the special casing for tuple subscripts is applied when a union of
tuples or an alias to a tuple type is subscripted (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22035">#22035</a>)</li>
</ul>
<h3>LSP server</h3>
<ul>
<li>Improve completion suggestions inside class definitions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22571">#22571</a>)</li>
<li>Improve performance of completions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22630">#22630</a>)</li>
<li>Remove completion suggestions for redundant re-exports that share
the same top-most module (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22581">#22581</a>)</li>
</ul>
<h3>Core type checking</h3>
<ul>
<li>Add basic support for overloads in <code>ParamSpec</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21946">#21946</a>)</li>
<li>Allow <code>...</code> as a default value for any parameter if the
function is in an <code>if TYPE_CHECKING</code> block (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22624">#22624</a>)</li>
<li>Allow <code>if type(x) is Y</code> narrowing for types other than
class-literal types (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22729">#22729</a>)</li>
<li>Avoid overload errors when detecting dataclass-on-tuple (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22687">#22687</a>)</li>
<li>Avoid reporting overload errors for successful union variants (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22688">#22688</a>)</li>
<li>Ban <code>NewType</code>s with generic bases (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22653">#22653</a>)</li>
<li>Fix PEP 695 type aliases not expanding in overload resolution (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22589">#22589</a>)</li>
<li>Fix the return type for synthesized <code>NamedTuple.__new__</code>
methods (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22625">#22625</a>)</li>
<li>Emit diagnostics for <code>NamedTuple</code>,
<code>TypedDict</code>, <code>Enum</code> or <code>Protocol</code>
classes decorated with <code>@DataClass</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22672">#22672</a>)</li>
<li>Emit <code>invalid-type-form</code> diagnostics for stringified
annotations where the quoted expression is invalid (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22752">#22752</a>)</li>
<li>Infer the implicit type of <code>cls</code> in <code>__new__</code>
methods (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22584">#22584</a>)</li>
<li>Make <code>ModuleType</code> and <code>object</code> attributes
available on namespace packages (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22606">#22606</a>)</li>
<li>Make <code>NamedTuple(...)</code> and <code>namedtuple(...)</code>
calls stricter (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22601">#22601</a>)</li>
<li>Narrow on bool and byte subscripts (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22684">#22684</a>)</li>
<li>Narrow on negative subscript indexing (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22682">#22682</a>)</li>
<li>Override <code>__file__</code> to <code>str</code> when applicable
on imported modules (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22333">#22333</a>)</li>
<li>Add bidirectional inference for comprehensions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22564">#22564</a>)</li>
<li>Recognize string-literal types as subtypes of
<code>Sequence[Literal[chars]]</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22415">#22415</a>)</li>
<li>Add right-hand-side narrowing for <code>if Foo is type(x)</code>
expressions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22608">#22608</a>)</li>
<li>Add simple syntactic validation for the right-hand side of PEP-613
type aliases (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22652">#22652</a>)</li>
<li>Add support for passing <code>typename</code> and
<code>field_names</code> by keyword argument to
<code>collections.namedtuple()</code> calls (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22660">#22660</a>)</li>
<li>Add support for starred unpacking in class bases (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22591">#22591</a>)</li>
<li>Validate constructor arguments when a class is used as a decorator
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/22377">#22377</a>)</li>
<li>Validate field names for <code>typing.NamedTuple(...)</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22599">#22599</a>)</li>
<li>Add diagnostic on overridden <code>__setattr__</code> and
<code>__delattr__</code> in frozen dataclasses (<a
href="https://redirect.github.com/astral-sh/ruff/pull/21430">#21430</a>)</li>
<li>Fix unary operators on <code>NewType</code>s of <code>float</code>
or <code>complex</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22605">#22605</a>)</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>Support overriding <code>respect-type-ignore-comments</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/22615">#22615</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/fc1478bd96387a0ce5fe077cce0b316a798a641d"><code>fc1478b</code></a>
Bump version to 0.0.13 (<a
href="https://redirect.github.com/astral-sh/ty/issues/2576">#2576</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/608dc5019652c9503b38d7f8b1e4250a57e7295e"><code>608dc50</code></a>
Drop PPC64 builds (<a
href="https://redirect.github.com/astral-sh/ty/issues/2571">#2571</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/9ffe443a93ea6769ca70f6f424b7b348f785cae8"><code>9ffe443</code></a>
Update prek dependencies (<a
href="https://redirect.github.com/astral-sh/ty/issues/2558">#2558</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/9569569def95081f93582dfbc2f7e405bcaf8d8f"><code>9569569</code></a>
Always target manylinux 2_17 and better pre-upload checks (<a
href="https://redirect.github.com/astral-sh/ty/issues/2393">#2393</a>)</li>
<li>See full diff in <a
href="https://github.com/astral-sh/ty/compare/0.0.12...0.0.13">compare
view</a></li>
</ul>
</details>
<br />
[](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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent be108d8 commit e523651
1 file changed
Lines changed: 18 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments