Repository navigation
⬆️ Update dependency ty to v0.0.109 - #845
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/ty-0.x
branch
from
November 11, 2026 18:31
301fcff to
ce96450
Compare
renovate
Bot
force-pushed
the
renovate/ty-0.x
branch
2 times, most recently
from
November 13, 2026 00:06
996f7f8 to
668943d
Compare
renovate
Bot
force-pushed
the
renovate/ty-0.x
branch
from
November 13, 2026 17:55
668943d to
938be33
Compare
renovate
Bot
force-pushed
the
renovate/ty-0.x
branch
from
November 13, 2026 22:33
938be33 to
6c67d19
Compare
auto-merge was automatically disabled
November 14, 2026 02:59
Pull request was closed
renovate
Bot
force-pushed
the
renovate/ty-0.x
branch
3 times, most recently
from
November 16, 2026 12:15
25bead2 to
842f1fc
Compare
renovate
Bot
force-pushed
the
renovate/ty-0.x
branch
4 times, most recently
from
November 17, 2026 11:02
a4dc8d8 to
bca3a16
Compare
renovate
Bot
force-pushed
the
renovate/ty-0.x
branch
from
November 18, 2026 18:34
bca3a16 to
607474e
Compare
renovate
Bot
force-pushed
the
renovate/ty-0.x
branch
from
November 19, 2026 07:11
607474e to
9d3d115
Compare
renovate
Bot
force-pushed
the
renovate/ty-0.x
branch
3 times, most recently
from
November 23, 2026 00:30
45b301a to
8a3ca27
Compare
renovate
Bot
force-pushed
the
renovate/ty-0.x
branch
2 times, most recently
from
November 23, 2026 22:49
d93e701 to
6ad8a5b
Compare
renovate
Bot
force-pushed
the
renovate/ty-0.x
branch
from
November 24, 2026 03:43
6ad8a5b to
941736e
Compare
renovate
Bot
force-pushed
the
renovate/ty-0.x
branch
from
November 24, 2026 20:43
941736e to
ed82392
Compare
This branch has not been deployed
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.99→0.0.109Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
astral-sh/ty (ty)
v0.0.109Compare Source
Released on 2026-11-23.
Bug fixes
list[T]through a generic helper can now preservelist[T]as the result type. (#30423)unknown-argumentwhencopy.replaceor a generated__replace__receives aninit=Falsefield. This applies to standard-library and Pydantic dataclasses, attrs classes, and other classes usingdataclass_transform. (#30850)selfas a field keyword in dataclass and Pydantic constructors and in dataclass and named tuple replacement methods. (#29341)Selffrom the receiver and field arguments in generated dataclass and named tuple methods, so an inherited method can accept a base-class value for a field annotated withSelf. (#29341)LSP server
Iconsand PySide6’sQt.Key. (#30707)Diagnostic improvements
unknown-rule-in-ignore-comment. The old name,ignore-comment-unknown-rule, remains a compatibility alias in configuration and ignore comments. Runty check --fixto update ignore comments automatically. (#30827)Performance improvements
Calls and overloads
dot(dot(a, b), c)faster when several outer overloads give the inner call the same expected return type. (#30785)Selfacross generic calls with matching parameter and argument types, when there’s no expected return type or unpacked variadic parameter. (#30815)boto3client calls. (#30789)TypedDict.getoverloads that share the type of the default argument. (#30813)*argsor**kwargs. (#30734)Generics and recursive types
Classes and
TypedDictsTypedDicts and unions, including recursive unions such as Pydantic’sCoreSchema. (#30555)Unions, narrowing, and literals
matchstatements that rule out many literal values, such as integer opcode dispatch. (#30736, #30767)analysis.strict-generic-narrowing = true, this also lets anisinstancecheck narrow a value to a more specific type when a recursively inferred type argument was approximated asobject. (#30829)str.startswithchecks on values with many possible literal strings, such as enum member names. (#30811)Collections and iteration
floatandcomplex. (#30796, #30695)File discovery, imports, and control flow
src.includepattern or when all exclude patterns apply only to directories. (#30772, #30794)withblocks. (#30803)import a.b.c. (#30722)Core type checking
enum.auto()values from preceding members in both class-based and functional enums. For sequential integer values, ty counts from the last value through Python 3.10 and from the highest value for Python 3.11 and later targets. It can inferintwhen the exact value depends on runtime data or control flow. (#30548)copy.replace. For example, a field accessed as_idtakes the keywordidby default. An explicitaliastakes precedence. (#30824)except ... as excwhen the handler uses a type alias for a tuple of exception classes or a union of an exception class and a tuple. (#30758)@field_name.validatoron fields declared withattrs.fieldorattr.ib, fixing false missing-attribute errors and preserving the decorated method’s signature. (#30839)not-callableerrors on attrs@field_name.defaultdecorators for fields that ty treats as required constructor arguments. (#30839)Contributors
v0.0.108Compare Source
Released on 2026-11-22.
Breaking changes
mismatched-type-namewith eight rules. In configuration, CLI flags, and suppression comments, use the rule for each constructor you want to configure. (#29957)mismatched-newtype-name,mismatched-typevar-name,mismatched-paramspec-name,mismatched-typevartuple-name,mismatched-typeddict-name, andmismatched-type-alias-namewarn by default.mismatched-enum-nameandmismatched-namedtuple-nameare disabled by default. They check names only when ty can infer a single string literal.Bug fixes
Genericbase whose required type parameter follows one with a default. Theinvalid-generic-classdiagnostic now points to the type parameters in the unpacked base. (#30630)ParamSpecwhen an unpacked tuple supplies both a wrapper's own positional parameters and arguments for the callback. (#30594)ParamSpec. (#30547)Unknownresult. (#30549)type Id[T] = T, so ty can infer a generic call's result from the callback's return type. (#30590)invalid-generic-classalso silencedshadowed-type-variablediagnostics in nested classes. (#30588)invalid-paramspecerror on*argswith# ty: ignorecaused the error to reappear on**kwargs. (#30595)LSP server
fromimports outside the requested range. (#30665)CLI
ty check --output-format gitlabreports faster when the same rule produces many diagnostics in one file. (#30724)Diagnostic improvements
uv-metadatadiagnostic toproject-managerand clarify whether uv failed to load project metadata or set up a script environment. Whenproject-manager.script = "uv"is set and ty cannot run a supported version of uv, the script diagnostic points to that setting. Concise output now includes uv's error when it cannot resolve a script's dependencies. (#30528)Core type checking
TypeVar,ParamSpec,TypeVarTuple,NewType, andTypeAliasTypedefinitions even when their names are only known at runtime. By default, ty warns that it cannot verify the name and continues to use the defined type. (#29957)float*) for-0.5and+0.5as for0.5. (#30720)Performance improvements
Calls and overloads
**-unpacked mappings faster by reusing the inferred type for each keyword. (#30638)boto3.client("s3")faster when many overloads expect different string literals. This optimization applies to files that are not open in the editor. (#30642)listorbytessooner. Reuse the inferred type of a tuple literal when those parameter types give its elements no type context. (#30667, #30675)TypeGuardandTypeIs. (#30671)Generics and recursive types
listtypes, overlap. (#30653)Anyfrom a generic base class faster when matching an argument to a union parameter. (#30685)typestatement. (#30682)Classes and
TypedDictsTypedDicttypes, rule out alternatives with missing required keys or conflicting literal tags before inferring field values. (#30641)TypedDictwhen checking a**kwargs: Unpack[SomeTypedDict]annotation. (#30691)TypedDictfields with identical types, including recursive types. (#30554)TypedDictdoes not inherit from anotherTypedDict. (#30706)Unions, narrowing, and literals
dtype. (#30698)type[C]. (#30716)|=on unions of literals. (#30746, #30733)Imports, name resolution, and control flow
__init__.pyto check whether it declares a legacy namespace package. (#30646)ty checkruns that list many individual files. (#30702)self.titlefaster. (#30678)trystatements with oneexceptclause and nofinallyblock. (#30739)Memory usage improvements
isinstancechecks, including unions of unrelated class types or disjoint literals combined withAny. (#30737, #30742)__all__. (#30668)Other changes
NamedTupleLikeprivate in thety_extensionsstubs. (#30567)Contributors
v0.0.107Compare Source
Released on 2026-11-18.
Preview features
Bug fixes
Other changes
Contributors
v0.0.106Compare Source
Released on 2026-11-18.
Breaking changes
Bug fixes
LSP server
diagnosticMode: "openFilesOnly"(#30381)Configuration changes
project-manager.script = "uv"(#30489)Other changes
Contributors
v0.0.105Compare Source
Released on 2026-11-17.
Breaking changes
missing-module-memberout ofimport-not-found(#30342)__post_init__signatures into a separate rule (#30335)Bug fixes
diagnosticMode: "workspace"(#30415)LSP server
Memory usage improvements
Other changes
assert_neverarguments (#30389)Contributors
v0.0.104Compare Source
Released on 2026-11-13.
Bug fixes
__hash__ = Nonewhen a class defines__eq__(#30145)LSP server
Contributors
v0.0.103Compare Source
Released on 2026-11-13.
Bug fixes
FinalandClassVar(#30293)LSP server
Contributors
v0.0.102Compare Source
Released on 2026-11-12.
Breaking changes
invalid-return-typeinto 3 focussed rules; renameempty-bodyandunsound-return(#29947)Bug fixes
Diagnostic improvements
call-abstract-methodtoabstract-method-call(#30287)call-non-callabletonot-callable(#30284)call-top-callabletocall-to-function-with-unknown-signature(#30285)dataclass-field-ordertoinvalid-dataclass-field-order(#30289)implicit-concatenated-string-type-annotationtoimplicit-string-concatenation-in-annotation; improve documentation (#30286)Memory usage improvements
Other changes
Contributors
v0.0.101Compare Source
Released on 2026-11-11.
Bug fixes
LSP server
Other changes
Field[..]specializations to expanded unions (#30264)Contributors
v0.0.100Compare Source
Released on 2026-11-09.
Breaking changes
invalid-keyinto three TypedDict diagnostic rules (#29955)lost-keyword-for-regular-parameterfromincompatible-method-override(#30143)Bug fixes
Diagnostic improvements
Memory usage improvements
Other changes
Contributors
Configuration
📅 Schedule: (UTC)
🚦 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.