Repository navigation
⬆️ deps: bump dependency ty to >=0.0.112 - #9
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
Author
|
renovate
Bot
force-pushed
the
renovate/python-dev-dependencies
branch
from
November 30, 2026 06:45
81c9cb5 to
68bbc7a
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.109→>=0.0.112Release Notes
astral-sh/ty (ty)
v0.0.112Compare Source
Released on 2026-11-26.
Bug fixes
ty check --watchnow exits with the usual interrupt status 130. (#29976)Performance improvements
Finalqualifiers together. (#30797)from OpenGL.GL import *. (#30790)Finaldeclarations by skipping the search forFinalnames that never receive a value. (#30946)Core type checking
@field_name.convertermethod when checking generated constructor arguments and field assignments. Reading the field gives its declared type. If several converters are registered, the first one determines the accepted input type. (#30959)__attrs_attrs__as a tuple of field metadata on attrs classes and instances. ty also recognizes the attribute afterattrs.hasnarrows a class totype[AttrsInstance]. (#30958)invalid-argument-typewhenattrs.fieldsorattrs.asdictreceives an argument that lacks the__attrs_attrs__member required by theAttrsInstanceprotocol. (#30958)Contributors
v0.0.111Compare Source
Released on 2026-11-25.
Bug fixes
Selfinference even if the decorated name widens to a union. (#30845)Performance improvements
trystatements. (#30776)Anyarguments faster when the earlier overloads infer the same argument types and all rule outobject()at the same argument position. (#30866)self.namefaster by indexing their assignments and declarations once per class. (#30901)self.items = wrap(value)determines the type ofitems. (#30862)list[int]andlist[str]by reusing their method resolution order across type arguments. (#30908)TypedDictor a protocol or inherits from explicitAny. (#30906)__len__. (#30907)items = []by looking up the initializer only for uses that can constrain its type, such asitems.append(1). (#30904)self.name. (#30904)Contributors
v0.0.110Compare Source
Released on 2026-11-25.
Bug fixes
T | Tree[T]. (#30847)[1]to a function with parameter typeT | list[T]and return typelist[T]can now inferlist[int]when that choice fits the other arguments and the expected return type. (#30847)valuesislist[int] | None, ty now accepts appending1to the result ofvalues or [None]and still rejects appendingNone. (#30911)value in ("all", "open")now narrowsstr | list[str]to the two string literals under the default equality settings. The change also covers!=for built-in lists and dictionaries, while respecting custom comparison methods andanalysis.strict-equality-semantics. (#30762)# regionand# endregioncomments, such as those inside a function. (#30893)Diagnostic improvements
incompatible-property-overrideandincompatible-mutable-overridediagnostics when an attribute has neither a matching__slots__entry nor an instance dictionary. When a custom__setattr__rejects writes of a type accepted by the base class, point to that method. (#29531)Configuration changes
project-manager.project = "uv". It requires uv 0.12.3 or later and an already synchronized environment. The default is"none", and an explicitTY_UVtakes precedence. (#30568)Performance improvements
pandas.Series. (#30842)ty check --force-exclude. (#30635)LiteralStringinlay hints can also link to the declaration for the configured Python version. (#30863)contextlib.contextmanager. (#30804, #30903)builtinsmodule and the project’s optional__builtins__module. (#30884)Core type checking
__attrs_init__on attrs classes declared withinit=False, using the same field parameters as a generated__init__. (#30852)@field_name.default. (#30872)Nonecan inferint | Nonefrom an assignment annotation when the list contains anAnyvalue and ty previously inferred onlyNone. (#30480)invalid-assignmentdiagnostics for incompatible collections. For example,x: list[int] = ["a"]now reportslist[str]as the source type. (#30478)Contributors
Configuration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 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.