Skip to content

⬆️ Update dependency ty to v0.0.21#1391

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

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

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 7, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ty (changelog) ==0.0.20==0.0.21 age adoption passing 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 - "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 7, 2026
@codecov
Copy link

codecov bot commented Mar 7, 2026

Codecov Report

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

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1391   +/-   ##
=======================================
  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 fa5dcca to 2bf9144 Compare March 7, 2026 05:47
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 7, 2026

@liudger liudger merged commit 3df8ae8 into main Mar 7, 2026
14 checks passed
@renovate renovate bot deleted the renovate/ty-0.x branch March 7, 2026 07:48
@github-actions github-actions bot locked and limited conversation to collaborators Mar 8, 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