Skip to content

fix(deps): update dependency ty to v0.0.20#1594

Merged
renovate[bot] merged 1 commit intomasterfrom
renovate/ty-0.x
Mar 2, 2026
Merged

fix(deps): update dependency ty to v0.0.20#1594
renovate[bot] merged 1 commit intomasterfrom
renovate/ty-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 2, 2026

This PR contains the following updates:

Package Change Age Confidence
ty (changelog) ==0.0.19==0.0.20 age confidence

Release Notes

astral-sh/ty (ty)

v0.0.20

Compare Source

Released on 2026-03-02.

Bug fixes
  • Disallow negative narrowing for isinstance() or issubclass() checks involving type[] types (#​23598)
  • Fix binary operations between an instance of a NewType of float and an instance of Any/Unknown (#​23620)
  • Fix bug where ty would think that a Callable with a variadic positional parameter could be a subtype of a Callable with a positional-or-keyword parameter (#​23610)
  • Fix inference of t.__mro__ if t is an instance of type[Any] (#​23632)
  • Fix overloaded callable assignability for unary Callable targets (#​23277)
  • Limit recursion depth when displaying self-referential function types (#​23647)
  • Ensure that python -m ty works even when ty was installed into an ephemeral virtual environment (#​2852)
LSP server
  • Add support for the LSP protocol's "type hierarchy" feature (#​23566)
Type checking
  • Add more ParamSpec validation for P.args and P.kwargs (#​23640)
  • Ban nested Required/NotRequired, and ban them both outside of TypedDict fields (#​23627)
  • Detect inconsistent generic base class specializations that appear in the same MRO (#​23615)
  • Detect invalid uses of @final on non-methods (#​23604)
  • Add partial support and validation for Unpack when used with tuple types (#​23651)
  • Recurse into tuples and nested tuples when applying special-cased validation of arguments passed to isinstance() and issubclass() (#​23607)
  • Reject ellipsis literals in odd places in type/annotation expressions (#​23611)
  • Reject functions with PEP-695 type parameters that shadow type parameters from enclosing scopes (#​23619)
  • Reject generic metaclasses parameterized by type variables (#​23628)
  • Treat dataclass_transform dataclasses as neither frozen nor non-frozen (#​23366)
  • Validate that type variable defaults don't reference later type parameters or type parameters out of scope (#​23623)
Typeshed
Contributors

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) March 2, 2026 17:45
@renovate renovate bot merged commit 088857b into master Mar 2, 2026
24 checks passed
@renovate renovate bot deleted the renovate/ty-0.x branch March 2, 2026 17:49
@codecov
Copy link

codecov bot commented Mar 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.15%. Comparing base (3044354) to head (426107a).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1594   +/-   ##
=======================================
  Coverage   79.15%   79.15%           
=======================================
  Files         354      354           
  Lines       11658    11658           
  Branches      536      536           
=======================================
  Hits         9228     9228           
  Misses       2245     2245           
  Partials      185      185           
Flag Coverage Δ
unittests 79.15% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

0 participants