-
Notifications
You must be signed in to change notification settings - Fork 0
chore(deps): update dependency ty to v0.0.16 #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/ty-0.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3b8718b to
05372ec
Compare
05372ec to
2aa9506
Compare
78bcf27 to
d890748
Compare
d890748 to
b93326d
Compare
9ede6ec to
c7da841
Compare
c7da841 to
871412b
Compare
8feda5a to
713d39a
Compare
f60599e to
b1dd2c6
Compare
b1dd2c6 to
f6e0129
Compare
f6e0129 to
0332e3c
Compare
0332e3c to
99f5307
Compare
99f5307 to
c516326
Compare
c516326 to
2b9b206
Compare
2b9b206 to
db686ce
Compare
8767935 to
6f5cf01
Compare
6f5cf01 to
ac7fa37
Compare
ac7fa37 to
5fa870a
Compare
9640508 to
4d5bf95
Compare
4d5bf95 to
48e0270
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.1a25→==0.0.16Release Notes
astral-sh/ty (ty)
v0.0.16Compare Source
Released on 2026-02-10.
Bug fixes
Optional(#23200)@no_type_checkwhen combined with other decorators (#23177)LSP server
Fooin autocomplete suggestions when the user is typing outFoo's bases (#23141)CLI
TY_OUTPUT_FORMATenvironment variable (#23123)python3found in$PATHif no environment is found (#22843)Type checking
inconsistent-mroautofix to moveGeneric[]to the end of the bases list (#22998)struct.unpack(#22562, #23130)@classmethodor@staticmethod(#23182)total=keyword toTypedDictclasses that had PEP-695 type parameters (#23114)__dataclass_transform__to support SQLModel (#23070)__gt__, etc.) where a parameter is annotated with aLiteraltype (#23100)TypedDictconstructor calls for generic aliases andtype[...]targets (#23113)Performance
Contributors
v0.0.15Compare Source
Released on 2026-02-04.
Bug fixes
dist-packagesdirectories (#22466)not-iterablefalse positives when iterating over an instance of an intersection type with only negated elements (#22089)Finalsymbol cannot be reassigned even after a conditional binding (#22986)Selfresolution for classes nested within methods (#22964)matchstatements (#22870)__contains__to respect descriptors (#23056)nonlocalvariables with conditional assignments (#22966)NewTypes ofNewTypes offloat(#22997)Callabletype (#22902)dataclass_transform: Fix visibility of field specifiers when models are nested inside methods (#23069)LSP server
Unknownfor bareFinalinstance attributes (#23003)Finalin on-hover hints (#23005)Configuration
unused-type-ignore-commentrule (#22790)./srcas a search path if./src/__init__.py(i)does not exist (#22851)Type checking
Finalbut never has any bindings (#23001)order=Truedataclasses (#22689)invalid-argument-typeandinvalid-assignmentdiagnostics if a variable is annotated with a type from thenumbersmodule (#22931, #22938)unresolved-referenceto suggest using "list" instead of "List" (#22827)...in odd places inside tuple specializations (#22889)Required,NotRequiredandReadOnlyin parameter annotations (#22888)TypeVarbounds or constraints from containing type variables (#22949)tuplespecialization (#22884)Callables in the return type of function signatures (#22954)isinstance()andissubclass()calls againstTypedDictclasses (#22887)issubclass()calls againstProtocolclasses with non-method members (#22896)Protocol[]andGeneric[]simultaneously (#22948)TypeVarTupleis used to subscriptGenericorProtocolwithout being unpacked (#22952)__getattr__or__getattribute__when looking up attributes on class objects (#22985)NewTypes with generic bases (#22961)**is used with a non-mapping in the context of a call to an overloaded function (#22921)ParamSpecfrom class constructors for callable protocols (#22853)invalid-overloaddiagnostics (#22933)@finaldecorator when emittinginvalid-overloaderrors for invalid@finaldecorators (#22893)Literaltypes when inferring elements for very large unannotated tuples, for improved performance (#22841)Protocolclasses as implicitly abstract (#22838)TypeVarTuples (#22950)Any()inmatchclass patterns (#23011)type[None]in type expressions (#22892)pkg_resources.declare_namespace(#22987)__post_init__methods (#22730)Contributors
v0.0.14Compare Source
Released on 2026-01-26.
Bug fixes
unsupported-operatorfor "symmetric" TypeVars (#22756)memo.changed_atassertion panics (#22498)LSP server
Configuration
allowed-unresolved-importssetting (#22800)Other changes
assert-type-unspellable-subtypediagnostic, for failedassert_type()where the actual type is a subtype of the named type that can't be spelled in a type expression (#22815)empty-bodyreturn code for functions with stub bodies that have non-Nonereturn annotations (#22846)awaitoutside functions (#22826)Generic[]subscript (#22738)Unknownfallback (#22778)matchclass pattern (#22836)TypedDicttypes with >=1 required key as being always truthy (#22808)@finaldecoator when emittinginvalid-overloaderrors for invalid@finaldecorators (#22812)*argsand**kwargswhen calling aParamSpeccallable (#22820)TypedDictdefinitions (#22811)typing.NamedTuples (#22718)namedtuple()andNamedTuplecalls (#22765)Contributors
v0.0.13Compare Source
Released on 2026-01-21.
Bug fixes
--force-excludewhen excluding entire directories (#22595)LSP server
Core type checking
ParamSpec(#21946)...as a default value for any parameter if the function is in anif TYPE_CHECKINGblock (#22624)if type(x) is Ynarrowing for types other than class-literal types (#22729)NewTypes with generic bases (#22653)NamedTuple.__new__methods (#22625)NamedTuple,TypedDict,EnumorProtocolclasses decorated with@dataclass(#22672)invalid-type-formdiagnostics for stringified annotations where the quoted expression is invalid (#22752)clsin__new__methods (#22584)ModuleTypeandobjectattributes available on namespace packages (#22606)NamedTuple(...)andnamedtuple(...)calls stricter (#22601)__file__tostrwhen applicable on imported modules (#22333)Sequence[Literal[chars]](#22415)if Foo is type(x)expressions (#22608)typenameandfield_namesby keyword argument tocollections.namedtuple()calls (#22660)typing.NamedTuple(...)(#22599)__setattr__and__delattr__in frozen dataclasses (#21430)NewTypes offloatorcomplex(#22605)Configuration
respect-type-ignore-comments(#22615)Diagnostics
Self(#22646)type[]elements together when displaying union types (#22592)Performance
ClassType::nearest_disjoint_base(#22065)Other changes
Contributors
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)Core 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
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
This PR was generated by Mend Renovate. View the repository job log.