[ty] Support empty function bodies in `if TYPE_CHECKING` blocks #19372
Support if TYPE_CHECKING
889cfb9e
Update tests
bd817963
Add methods inside a class
4024501a
Rename variables and methods
c49a6b8f
Rename variables
1528da02
MatthewMckee4
marked this pull request as ready for review 1 year ago
MatthewMckee4
changed the title Support `if TYPE_CHECKING` [ty] Support empty function bodies in `if TYPE_CHECKING` blocks 1 year ago
Add attribute to Scope
f28be6cc
Update infer type checking context logic
2586750f
Add function comment
4c6ddbcd
Fix nested ifs
049a2fe4
Comments and doc strings
f7f2572f
carljm
approved these changes
on 2025-07-16
Update return_type.md
c2320fc8
Remove duplicated comment
5f00c526
carljm
enabled auto-merge (squash) 1 year ago
carljm
dismissed their stale review
1 year ago
carljm
merged
cbe94b09
into main 1 year ago
Assignees
No one assigned
Labels
ty
ecosystem-analyzer