Skip to content

⬆️🐍 Update dependency ty to v0.0.21#358

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/ty-0.x
Open

⬆️🐍 Update dependency ty to v0.0.21#358
renovate[bot] wants to merge 1 commit intomainfrom
renovate/ty-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 14, 2026

This PR contains the following updates:

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

Release Notes

astral-sh/ty (ty)

v0.0.21

Compare Source

Released on 2026-03-05.

Bug fixes
  • Avoid stack overflow with recursive typevar (#​23652)
  • Fix panic on incomplete except handlers (#​23708)
  • Allow unions of different-length iterables in *args unpacking into optional positional parameters (#​23124)
  • Don't replace Any attributes with object after isinstance narrowing (#​23725)
LSP server
  • Exclude decorators from class/def code folding (#​23543)
  • Fix handling of non-Python text documents (#​23704)
Configuration
  • Add all selector to ty.json schema (#​23721)
  • Fix precedence of all selector in TOML configurations (#​23723)
  • Make all selector case-sensitive (#​23713)
Type checking
  • Add invalid-enum-member-annotation lint rule (#​23648)
  • Add a diagnostic for an unused awaitable (#​23650)
  • Add a diagnostic if a TypeVar is used to specialize a ParamSpec, or vice versa (#​23738)
  • Add more type-variable default validation (#​23639)
  • Add unbound type variable detection in annotations (#​23641)
  • Apply narrowing to walrus values (#​23687)
  • Do not union Unknown into unannotated container types (#​23718)
  • Avoid inferring generics with negative intersections (#​23750)
  • More precise types for name and value of an enum (#​23683)
  • Better preserve user-provided union order in inferred specializations (#​23715)
  • Support narrowing in ternary expressions (#​23726)
  • Validate bare ParamSpec usage in type annotations, and support stringified ParamSpecs as the first argument to Callable (#​23625)
Contributors

Configuration

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

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

Rebasing: Whenever PR becomes conflicted, 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.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot added dependencies Pull requests that update a dependency file python labels Mar 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants