Skip to content

⬆️🐍 Update dependency ty to v0.0.40#698

Merged
denialhaag merged 1 commit into
mainfrom
renovate/ty-0.x
Jun 7, 2026
Merged

⬆️🐍 Update dependency ty to v0.0.40#698
denialhaag merged 1 commit into
mainfrom
renovate/ty-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Jun 6, 2026

This PR contains the following updates:

Package Change Age Confidence
ty (changelog) ==0.0.39==0.0.40 age confidence

Release Notes

astral-sh/ty (ty)

v0.0.40

Compare Source

Released on 2026-05-27.

Bug fixes
  • Accept complete enum-literal alias unions as enums (#​25341)
  • Fix diagnostics in ignored folders after adding new files (#​25236)
  • Show LiteralString when hovering over an inline of a literal string in an IDE (#​25373)
LSP server
  • Follow aliases when attempting to map a definition in a stub file to its "real" runtime definition (#​25328)
  • Treat Python notebook text documents as Python sources (#​25393)
  • Fix autocompletion for elements inside incomplete list comprehensions (#​25326)
Diagnostics
  • Add a subdiagnostic help message to invalid-generic-class diagnostics regarding incompatible variance (#​25385)
Core type checking
  • Ignore and reject annotations on non-name targets (#​25324)
  • Infer class attributes assigned by metaclass initialization (#​25342)
  • Reject inconsistent generic bases in "dynamic" classes created using type(...), types.new_type(...), etc. (#​25413)
  • Resolve enum names for all unions arms in Literal enum subsets (#​25379)
  • Support typing.TypeForm (#​25334)
  • Fix many issues in the generics solver by using constraint sets more widely to solve type variables (#​24540)
Contributors

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "every weekend"
  • 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 Pull requests that update Python code labels Jun 6, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@denialhaag denialhaag merged commit 7801807 into main Jun 7, 2026
13 checks passed
@denialhaag denialhaag deleted the renovate/ty-0.x branch June 7, 2026 23:31
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 Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant