chore(deps): update dependency ty to v0.0.19#256
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Conversation
3b9819e to
fe12113
Compare
fe12113 to
31bbe03
Compare
31bbe03 to
91ede4d
Compare
91ede4d to
4871cb8
Compare
4871cb8 to
7577a3b
Compare
7577a3b to
f152429
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.12→==0.0.19Release Notes
astral-sh/ty (ty)
v0.0.19Compare Source
Released on 2026-02-26.
Bug fixes
x = y = {"a": 1}(#23523)TypeAliasTypedefinitions (#23397)LSP server
Core type checking
typing.Generatorprior to Python 3.13 (#23386)await foo()iffooreturnstyping.Awaitable[typing.Never]or similar (#23479)type[T]types (#23472)case {...}:patterns inmatchstatements (#23462)assert_typecalls or false-positiveredundant-castdiagnostics by reimplementing the equivalence type relation as mutual subtyping of top and bottom materializations (#23428)__contains__narrowing with PEP-695 type aliases (#23545)_value_annotations on enum classes (#22228)v0.0.18Compare Source
Released on 2026-02-20.
Bug fixes
type(...)with cyclic bases (#22792)TypeOfin annotations (#23407)LSP server
ty serverinteractively (#23416)call_signature_detailsparameter types (#23149)CLI
--output-formattoty version(#23387)Configuration
replace-imports-with-anyoption (#23122)Type checking
matchstatements (#22939)SelfinClassVartype annotations (#23362)ClassVar-qualified declarations when determining whether an abstract method has been overridden in a subclass (#23381)FinalandClassVar(#23365)assert_never(#23389)assert_typediagnostic messages (#23342)LiteralStringforf"{literal_str_a} {literal_str_b}"(#23346)[abstract-method-in-final-class]diagnostics less verbose for classes with many abstract methods (#23379)@finalclasses (#23376)Neverto terminate control flow (#23419)Sequence[<constituent integers in the bytestring>](#23329)Iterableparameter in type variable inference. (#23326)Callabletype returning aTypeGuardtype (#23280)Performance
Typeshed
Contributors
v0.0.17Compare Source
Released on 2026-02-13.
Bug fixes
Literalpromotion for constrainedTypeVars withLiteralbounds (#23209)TypeVarshadowing checks (#23222)Core type checking
typing.Selfin attribute annotations (#23108)NoReturnfunctions (#23109)os.namechecks (#23230)Finalclass variables in subclasses (#23180)None(#23246)Any(#23248)ParamSpecs in some situations (#23211)LSP server
__init__.py(#21795)datetime.UTC) in auto-import in more cases (#23249)Performance
UnionBuilderoverhead when creating a new union from the filtered elements of an existing union (#22352)Other changes
--output-format=junit(#22125)inconsistent-mrodiagnostics (#23213)Contributors
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
Configuration
📅 Schedule: Branch creation - "before 6am on Monday" in timezone Europe/Paris, 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.