Skip to content

Conversation

@MatthewMckee4
Copy link
Contributor

Summary

I think this is especially useful for inside class methods for example.

Test Plan

Add test to show initial assignment of instance variable via self and assignment after instantiation of a class

@github-actions
Copy link
Contributor

Diagnostic diff on typing conformance tests

No changes detected when running ty on typing conformance tests ✅

@MatthewMckee4 MatthewMckee4 marked this pull request as ready for review September 19, 2025 16:18
@github-actions
Copy link
Contributor

mypy_primer results

No ecosystem changes detected ✅
No memory usage changes detected ✅

@AlexWaygood AlexWaygood added server Related to the LSP server ty Multi-file analysis & type inference labels Sep 19, 2025
@AlexWaygood AlexWaygood changed the title Add support for inlay hints on attribute assignment [ty] Add support for inlay hints on attribute assignment Sep 19, 2025
@AlexWaygood AlexWaygood removed their request for review September 19, 2025 17:06
@carljm carljm removed their request for review September 22, 2025 22:20
Copy link
Member

@MichaReiser MichaReiser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@MichaReiser MichaReiser merged commit fd5c48c into astral-sh:main Sep 23, 2025
41 checks passed
@MatthewMckee4 MatthewMckee4 deleted the inlay-hint-attribute-type-hint branch November 6, 2025 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

server Related to the LSP server ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants