fix(deps): update dependency ty to v0.0.31#1631
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1631 +/- ##
=======================================
Coverage 79.12% 79.12%
=======================================
Files 354 354
Lines 11701 11701
Branches 542 542
=======================================
Hits 9258 9258
Misses 2256 2256
Partials 187 187
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
6c9da85 to
04c73ce
Compare
9bdcd51 to
bbb30f2
Compare
cb00b14 to
329c4c7
Compare
329c4c7 to
19824a0
Compare
auto-merge was automatically disabled
April 7, 2026 16:54
Pull request was closed
19824a0 to
e20ace5
Compare
e20ace5 to
6127ed1
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.29→==0.0.31Release Notes
astral-sh/ty (ty)
v0.0.31Compare Source
Released on 2026-04-15.
Bug fixes
namedtuple(typename=T, field_names=x, **{})(#24641)Enum(...)names (#24638)Enum(value=...)(#24639)invalid-keyfix doesn't converge, andoverride-of-final-methodproduces invalid syntax (#24649)ty:ignorecomments inserted by--add-ignorefor diagnostics starting on the same line (#24651)CLI
--fixmode to enable auto-fix for diagnostics (#24097)Performance
Core type checking
NamedTuplefield conflicts (#24542)EnumMeta.__call__for enum constructor signatures (#24513)Contributors
v0.0.30Compare Source
Released on 2026-04-13.
As of v0.0.30, ty no longer unions
Unknowninto most inferred types of unannotated attributes. For example:In previous versions,
reveal_type(Foo().value)would have includedUnknown, so the assignment to"x"would not have been flagged. Since this can affect inferred attribute types throughout a codebase, upgrading may lead to both new and resolved diagnostics. Initializers ofNoneand other non-literal singleton types remain exceptions. See #24531 for details.Bug fixes
ParamSpecinConcatenateprefixes (#24474)Callabletypes (#24497)TYPE_CHECKINGstate from outer blocks (#24470)__init_subclass__calls (#24541)type[T]to a metaclass (#24515)ParamSpec-specialized class calls (#24399)TypedDictfield types as type context to inform the inference of arguments passed toTypedDictconstructors (#24422)LSP server
typingandcollectionshigher than third party re-exports (#23643)TypedDictconstructor support in the LSP by synthesizing__init__(#24476, #24522, #24535)infosubdiagnostics in LSP diagnostic messages (#24328)Diagnostics
Core type checking
Enum(...)syntax (#23602, #24570, #24571)Finalvariable assignments in__post_init__(#24529)type[...]annotations, e.g.type["MyClass"](#24518)__init_subclass__ = None(#24543)TypeGuardandTypeIsnarrowing for unbound method calls (#24612)list[int][0]leads to 1 diagnostic, rather than 2 (#24354)dataclass_transformmetadata from metaclass bases (#24615)Noneaccessors in manual property construction (#24492)Finalattributes (#24508)TypedDictunpacking (#24446)strconstructor (#24514)Unknowninto types of un-annotated attributes (#24531)super()in metaclass methods (#24483)Concatenatetype-expression parsing (#24172)if TYPE_CHECKINGblock (#24394)Contributors
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.