Skip to content

⬆️ Update dependency ty to v0.0.20#1384

Merged
liudger merged 1 commit intomainfrom
renovate/ty-0.x
Mar 3, 2026
Merged

⬆️ Update dependency ty to v0.0.20#1384
liudger merged 1 commit intomainfrom
renovate/ty-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 3, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ty (changelog) ==0.0.19==0.0.20 age adoption passing 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 - "before 2am" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 this update 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 added dependencies Upgrade or downgrade of project dependencies. no-stale This issue or PR is exempted from the stable bot. labels Mar 3, 2026
@codecov
Copy link

codecov bot commented Mar 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.89%. Comparing base (c5ec8b4) to head (8f911a5).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1384   +/-   ##
=======================================
  Coverage   99.89%   99.89%           
=======================================
  Files           6        6           
  Lines         997      997           
  Branches      139      139           
=======================================
  Hits          996      996           
  Partials        1        1           

☔ 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.

@renovate renovate bot force-pushed the renovate/ty-0.x branch from 2126781 to 8f911a5 Compare March 3, 2026 05:51
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 3, 2026

@liudger liudger merged commit f86f19d into main Mar 3, 2026
14 checks passed
@renovate renovate bot deleted the renovate/ty-0.x branch March 3, 2026 08:29
@github-actions github-actions bot locked and limited conversation to collaborators Mar 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Upgrade or downgrade of project dependencies. no-stale This issue or PR is exempted from the stable bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant