[ty] Support own instance members for type(...) classes#22480
Merged
charliermarsh merged 3 commits intomainfrom Jan 13, 2026
Merged
[ty] Support own instance members for type(...) classes#22480charliermarsh merged 3 commits intomainfrom
type(...) classes#22480charliermarsh merged 3 commits intomainfrom
Conversation
Diagnostic diff on typing conformance testsNo changes detected when running ty on typing conformance tests ✅ |
2229070 to
a247e28
Compare
type(...) classestype(...) classes
|
| Lint rule | Added | Removed | Changed |
|---|---|---|---|
invalid-argument-type |
62 | 0 | 3 |
possibly-missing-attribute |
9 | 0 | 3 |
invalid-await |
9 | 0 | 0 |
invalid-return-type |
2 | 1 | 6 |
invalid-assignment |
0 | 0 | 5 |
unresolved-attribute |
0 | 0 | 2 |
unused-ignore-comment |
0 | 1 | 0 |
| Total | 82 | 2 | 19 |
a247e28 to
5a1e412
Compare
|
AlexWaygood
reviewed
Jan 9, 2026
30c9ac0 to
1300b10
Compare
cdf7e18 to
928ceb4
Compare
fc892d3 to
4c2819f
Compare
928ceb4 to
4e43509
Compare
4c2819f to
0e041b2
Compare
AlexWaygood
reviewed
Jan 10, 2026
AlexWaygood
reviewed
Jan 10, 2026
bd2297c to
dbe05b9
Compare
0d7c581 to
68295e5
Compare
efc280f to
31f7d7e
Compare
15c846c to
7729353
Compare
31f7d7e to
4988e78
Compare
7729353 to
dd8e67d
Compare
4988e78 to
169208a
Compare
8df0d85 to
dd2fbb3
Compare
1378f8a to
18a38a3
Compare
18a38a3 to
a25eda6
Compare
a25eda6 to
e27e11d
Compare
AlexWaygood
reviewed
Jan 13, 2026
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.
Summary
Addresses #22291 (comment).