chore(deps): update dependency ty to v0.0.12 #301
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.0.1a27→==0.0.12Release Notes
astral-sh/ty (ty)
v0.0.12Compare Source
Released on 2026-01-14.
Bug fixes
casting an object to a TypedDict or union of TypedDicts (#22509)if type(x) == y(#22531)functools.total_ordering: ensure the signatures of generated methods reflect the signature of the user-provided method (#22496)dataclass_transformas a function call (#22378)if type(x) is ynarrowing. For example,if type(x) is tuplewill cause the type ofxto be intersected withtuple[object, ...]rather thantuple[Unknown, ...]. (#22553)Type checking
type()classes (#22291, #22499, #22537, #22480)namedtuplecreation (#22327, #22573, #22575, #22574)final(#22555)__init_subclass__argument mismatch (#22185)TypeIsandTypeGuarddefinitions (#22300)@total_orderingapplications in non-decorator contexts (#22486)@Todotype for starred expressions (#22503)Callabletypes (#22435)type[Unknown]for calls totype()when overload evaluation is ambiguous (#22569)TypedDicts (#22294)__setitem__dunder calls (#22148)==,!=,isandis notconditions when the left-hand side is not narrowable (#22511)LSP server
__file__type in completions to showstrinstead ofstr | Nonewhen the inferred type isstr(#22510)Contributors
v0.0.11Compare Source
Released on 2026-01-09.
Bug fixes
super()with TypeVar-annotatedselfandclsparameter (#22208)LSP server
Configuration
unused-ignore-commentby default (#22474)Performance
UnionBuilderperformance by changingType::is_subtype_ofcalls toType::is_redundant_with(#22337)Other changes
Contributors
v0.0.10Compare Source
Released on 2026-01-07.
Bug fixes
ParamSpecin overloaded functions (#22416)NewTypes offloat(#22105)LSP server
Twhen a value has typeUnknown | T(#22436)Core type checking
@total_ordering(#22181, #22183)TypedDictclass bodies (#22351)len()(#22330)CLI
--add-ignoreCLI option (#21696)Configuration
include = ["myscript"]will now checkmyscripteven though it doesn't have a Python extension (#22243)Performance
Documentation
Callable__name__FAQ directly fromunresolved-attributediagnostic (#22437)Contributors
v0.0.9Compare Source
Released on 2026-01-05.
Bug fixes
Core type checking
typing.TypeGuard(#20974)__setattr__as fallback-only (#22014)TypedDictunions withnot in(#22349)propertyin subclasses properties (#22088)TypedDicts inmatchstatements (#22299)xto be inferred aslist[int]forx: Iterable[int] = [42](#21930)Literaltype (#22303)LSP server
classstatements (#22110)Other changes
Contributors
v0.0.8Compare Source
Released on 2025-12-29.
Breaking changes
non-subscriptablerule tonot-subscriptable(#22193)Core type checking
LSP server
Diagnostics
unsupported-basesub-diagnostic (#22194)Other changes
Contributors
v0.0.7Compare Source
Released on 2025-12-24.
Bug fixes
import x as yfor semantic syntax highlighting (#22175)Other changes
__delitem__instead of__getitem__fordel x[k](#22121)@staticmethodcombined with other decorators incorrectly bindingself(#22128)Top[Callable[..., object]](#22145)callableis used in a type expression instead ofcollections.abc.Callableortyping.Callable(#22180)Callabletype (#22182)TypedDictas part of its display (#22174)__delitem__for TypedDict to allow deleting non-required keys (#22122)Contributors
v0.0.6Compare Source
Released on 2025-12-23.
Bug fixes
type[T]whereTis a type alias to a union of types (#22115)==narrowing for tuples in unions with disjoint types (#22129)LSP server
ty.configurationandty.configurationFileoptions (#22053)diagnosticMode: offto disable diagnostics while retaining Go To Definition, etc. (#22073)type[T@f]being inserted when you double-click on the inlay (#22139)CLI
Ctrl+C(#22083)Configuration
respect-type-ignore-commentsconfiguration option (#22137)__builtins__.pyi(#22021)Other changes
__get__(#22155)_fieldsattribute for NamedTuples (#22163)_replacemethod for NamedTuples (#22153)TypedDicts (#22104)Contributors
v0.0.5Compare Source
Released on 2025-12-20.
Bug fixes
LSP server
CLI
--force-excludeoption (#22076)Other changes
dict(...)calls inTypedDictcontexts (#22113)Xon an enum class will beintifXis defined usingenum.nonmemberin the class definition (#22025)Contributors
v0.0.4Compare Source
Released on 2025-12-18.
LSP server
from module import submodule(#22042)Other changes
Contributors
v0.0.3Compare Source
Released on 2025-12-17.
LSP server
Core type checking
lencalls based on argument size (#22026)unsupported-baseandinvalid-super-argumentdiagnostics to avoid extremely long lines when encountering verbose types (#22022).pyifiles (#22029)**kwargsand recognize metaclass-based transformers as instances ofDataclassInstance(#22018)Contributors
v0.0.2Released on 2025-12-16.
This is the first Beta release of ty, which we're now ready to recommend to motivated users for
production use. See our blog post for more details.
LSP server
Core type checking
isinstance(…)calls involving type variables (#21999)TypeVarspecializations forCallabletypes (#21551)classmethod-ness through decorators returningCallables (#21958)Callable(#22011)Other
Contributors
v0.0.1Released on 2026-01-09.
Bug fixes
super()with TypeVar-annotatedselfandclsparameter (#22208)LSP server
Configuration
unused-ignore-commentby default (#22474)Performance
UnionBuilderperformance by changingType::is_subtype_ofcalls toType::is_redundant_with(#22337)Other changes
Contributors
v0.0.1a35Compare Source
v0.0.1a34Compare Source
v0.0.1a33Compare Source
v0.0.1a32Compare Source
v0.0.1a31Compare Source
v0.0.1a30Compare Source
v0.0.1a29Compare Source
v0.0.1a28Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
This PR was generated by Mend Renovate. View the repository job log.