ruff
[ty] Support empty function bodies in `if TYPE_CHECKING` blocks
#19372
Merged

[ty] Support empty function bodies in `if TYPE_CHECKING` blocks #19372

MatthewMckee4
MatthewMckee4 Support if TYPE_CHECKING
889cfb9e
github-actions
MatthewMckee4 Update tests
bd817963
MatthewMckee4 Add methods inside a class
4024501a
MatthewMckee4 Rename variables and methods
c49a6b8f
MatthewMckee4 Rename variables
1528da02
MatthewMckee4 MatthewMckee4 marked this pull request as ready for review 1 year ago
MatthewMckee4 MatthewMckee4 requested a review from carljm carljm 1 year ago
MatthewMckee4 MatthewMckee4 requested a review from AlexWaygood AlexWaygood 1 year ago
MatthewMckee4 MatthewMckee4 requested a review from sharkdp sharkdp 1 year ago
MatthewMckee4 MatthewMckee4 requested a review from dcreager dcreager 1 year ago
AlexWaygood AlexWaygood added ty
MichaReiser
MichaReiser commented on 2025-07-15
MatthewMckee4
MatthewMckee4 commented on 2025-07-15
MatthewMckee4 MatthewMckee4 changed the title Support `if TYPE_CHECKING` [ty] Support empty function bodies in `if TYPE_CHECKING` blocks 1 year ago
MatthewMckee4 Add attribute to Scope
f28be6cc
MatthewMckee4 Update infer type checking context logic
2586750f
MatthewMckee4 Add function comment
4c6ddbcd
MichaReiser MichaReiser added ecosystem-analyzer
github-actions
MichaReiser
MichaReiser dismissed these changes on 2025-07-16
sharkdp sharkdp removed review request from sharkdp sharkdp 1 year ago
MatthewMckee4 Fix nested ifs
049a2fe4
carljm Comments and doc strings
f7f2572f
carljm
carljm approved these changes on 2025-07-16
MatthewMckee4 Update return_type.md
c2320fc8
carljm Remove duplicated comment
5f00c526
carljm carljm enabled auto-merge (squash) 1 year ago
carljm carljm dismissed their stale review 1 year ago
The issues identified were fixed
carljm carljm merged cbe94b09 into main 1 year ago
MatthewMckee4
carljm
MatthewMckee4
MatthewMckee4 MatthewMckee4 deleted the in-type-checking branch 1 year ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone