Skip to content

Update dependency ty to v0.0.98 - #16785

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ty
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ty

Conversation

@renovate

@renovate renovate Bot commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
ty (changelog) ==0.0.95 → ==0.0.98 age confidence

Release Notes

astral-sh/ty (ty)

v0.0.98

Compare Source

Released on 2026-11-05.

Bug fixes
  • Avoid cubic narrowing for enum OR patterns (#​30019)
  • Avoid duplicate warnings for unknown rules and override sections (#​30028)
  • Fix class-pattern exhaustiveness after class identity checks (#​30045)
  • Fix conditional type and tuple annotations (#​29987)
  • Prefer active unnamed Conda and Pixi environments (#​29974)
  • Preserve baseline matches when a rule is renamed (#​30040)
  • Preserve exception types after tuple truthiness checks (#​30018)
  • Report invalid module globs once per override pattern (#​30031)
  • Skip active Conda and Pixi environments during discovery if the environment doesn't contain Python (#​30066)
Configuration changes
  • Don't fail configuration deserialization on conflicting rule names (#​30023)
  • Inherit project settings and overrides for PEP 723 scripts (#​29793)
  • Warn when configuration uses a renamed rule (#​30024)
Memory usage improvements
  • Reuse callable signatures in function definition checks (#​30042)
Other changes
  • Retain all successful generic call narrowing attempts (#​29666)
  • Reuse specialized ancestors in class relations (#​29881)
  • Support shadowing methods on instances (#​29482)
  • Warn about renamed rules in ignore comments (#​30026)
Contributors

v0.0.97

Compare Source

Released on 2026-11-04.

Bug fixes
  • Apply a cycle iteration cutoff across type inference (#​30010)
  • Cap the size of inferred bytes literals during concatenation (#​29942)
  • Django: support ForeignKey and OneToOneField as primary keys (#​29785)
  • Fix a call hierarchy panic when expanding outgoing calls (#​29964)
  • Handle decorators that replace overrides of final methods (#​29961)
  • Ignore an empty VIRTUAL_ENV (#​29973)
  • Preserve narrowed type variables in union inference (#​29989)
Diagnostic improvements
  • Lower severity of diagnostics on recoverable invalid globs (#​29946)
  • Rename unresolved-import to import-not-found (#​29960)
Other changes
  • Document baseline support (#​4897)
  • Document third-party library support. (#​4879)
  • Pydantic: Respect extra-field configuration on settings models (#​29902)
  • Reuse matching constraints at branch joins (#​29875)
  • Reuse normalization of wide unions (#​29874)
  • Skip empty diagnostic context for overloaded callables (#​29959)
  • Speed up comparisons of deeply nested tuples (#​29933)
  • Update PyCharm setup instructions for 2026.2 (#​4914)
Contributors

v0.0.96

Compare Source

Released on 2026-11-03.

Bug fixes
  • Fix a panic when checking protocols involving runtime type aliases (#​29840)
  • Preserve Pydantic field metadata in quoted annotations (#​29851)
  • Resolve class-local names in generic type aliases (#​29915)
LSP server
  • Keep argument name hints display-only before later positional arguments or *args (#​29801)
  • Keep argument name hints display-only when they would insert duplicate or invalid keywords (#​29806)
  • Show field docstrings on hover for constructor keyword arguments (#​29907)
CLI
  • Give NO_COLOR precedence over FORCE_COLOR and CLICOLOR_FORCE in diagnostics (#​29898)
  • Honor color overrides in progress bars (#​29891)
  • Respect FORCE_COLOR in ty check even when output is piped (#​29830)
Diagnostic improvements
  • Avoid false redundant-cast diagnostics when casting the result of a generic call (#​29835)
Core type checking
  • Infer type arguments for union parameters using constraints from the whole call (#​29236)
  • Infer type arguments from generic TypedDict values passed to functions (#​29903)
  • Sync vendored typeshed stubs (#​29869). Typeshed diff
Performance
  • Avoid constraint solving when checking overlap between type variables in invariant positions (#​29878)
  • Cache subscript method resolution (#​29824)
  • Cache substitutions for generic type aliases (#​29861)
  • Defer member lookup when checking overrides (#​29866)
  • Find existing imports without scanning nested scopes (#​29882)
  • Reuse class metadata during member lookup (#​29864)
  • Reuse constructor bindings and defer looking up enclosing type variables (#​29897)
  • Reuse generic argument contexts across calls (#​29877)
  • Reuse inferred annotations when checking function returns (#​29879)
  • Reuse inherited override checks across subclasses (#​29867)
  • Reuse parameter unions when filtering overloads (#​29823)
  • Short-circuit equivalence checks against Never (#​29862)
  • Skip generic call inference when only a concrete receiver's Self needs binding (#​29747)
  • Skip unrelated statement calls when checking a single condition (#​29826)
  • Stop scanning package initializers once a legacy namespace declaration is found (#​29885)
Memory usage improvements
  • Prevent exponential memory growth when narrowing unions of intersections by equality (#​29904)
Contributors

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 4am"
  • 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.

@renovate renovate Bot added the bot: dependencies 🤖 Dependency file updates by renovate 🤖 label Nov 13, 2026

This branch has not been deployed

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

Labels

bot: dependencies 🤖 Dependency file updates by renovate 🤖

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants