ruff
[ty] Return type inference
#29253
Merged

[ty] Return type inference #29253

sharkdp
sharkdp sharkdp added ty
astral-sh-bot
astral-sh-bot
astral-sh-bot
sharkdp sharkdp force pushed from 57576581 to 2768ea32 37 days ago
codspeed
Base automatically changed from david/return-type-inference-tests to main 34 days ago
sharkdp sharkdp force pushed from 2768ea32 to dc3ba2c4 34 days ago
sharkdp sharkdp force pushed from dc3ba2c4 to 80251baf 34 days ago
sharkdp sharkdp force pushed from 80251baf to f2daf739 34 days ago
sharkdp sharkdp changed the base branch from main to david/return-type-inference-prep 34 days ago
Base automatically changed from david/return-type-inference-prep to main 34 days ago
sharkdp sharkdp force pushed from f2daf739 to 3343aa2a 34 days ago
sharkdp sharkdp force pushed from 3343aa2a to dc6472c8 34 days ago
sharkdp sharkdp force pushed from dc6472c8 to 7e37569a 34 days ago
sharkdp sharkdp changed the base branch from main to david/return-type-inference-prep2 34 days ago
Base automatically changed from david/return-type-inference-prep2 to main 34 days ago
sharkdp sharkdp force pushed from 7e37569a to b9f44c59 34 days ago
sharkdp sharkdp force pushed from b9f44c59 to 4d4a907a 33 days ago
sharkdp sharkdp force pushed from 4d4a907a to ab44ff6a 33 days ago
sharkdp sharkdp changed the base branch from main to codex/ty-implicit-return-none-helper 33 days ago
Base automatically changed from codex/ty-implicit-return-none-helper to main 33 days ago
sharkdp sharkdp force pushed from ab44ff6a to b2ab1e55 33 days ago
sharkdp sharkdp force pushed from d77b8055 to 4c8353cf 33 days ago
sharkdp sharkdp changed the base branch from main to david/return-type-inference-config 33 days ago
astral-sh-bot
sharkdp sharkdp force pushed from 4c8353cf to 8ee72efb 33 days ago
sharkdp sharkdp changed the base branch from david/return-type-inference-config to codex/return-type-inference-edge-case-tests 33 days ago
sharkdp sharkdp force-pushed the codex/return-type-inference-edge-case-tests branch from 6188f798 to 3e22db4e 33 days ago
sharkdp sharkdp force pushed from 8ee72efb to ea366290 33 days ago
sharkdp sharkdp force pushed from ea366290 to d242748d 33 days ago
sharkdp sharkdp force-pushed the codex/return-type-inference-edge-case-tests branch from 3e22db4e to 42da4f12 33 days ago
Base automatically changed from codex/return-type-inference-edge-case-tests to david/return-type-inference-config 33 days ago
sharkdp sharkdp force pushed from d242748d to 57fb7ce5 33 days ago
sharkdp sharkdp force pushed from 57fb7ce5 to c81b80a0 32 days ago
sharkdp sharkdp force pushed from c81b80a0 to 2d7a48e2 32 days ago
sharkdp sharkdp force pushed from 2d7a48e2 to b0852e2b 31 days ago
sharkdp sharkdp marked this pull request as ready for review 31 days ago
sharkdp sharkdp requested a review 31 days ago
astral-sh-bot astral-sh-bot requested a review from charliermarsh charliermarsh 31 days ago
sharkdp sharkdp force pushed from 78206493 to 33fc266e 31 days ago
charliermarsh
charliermarsh commented on 2026-10-15
charliermarsh
charliermarsh commented on 2026-10-15
charliermarsh
charliermarsh commented on 2026-10-15
charliermarsh
charliermarsh commented on 2026-10-15
charliermarsh
charliermarsh commented on 2026-10-15
charliermarsh
charliermarsh commented on 2026-10-15
charliermarsh
charliermarsh approved these changes on 2026-10-15
sharkdp
sharkdp commented on 2026-10-15
charliermarsh
sharkdp [ty] Return type inference
c6ea2006
sharkdp Reuse scope-end reachability checking
259f176b
sharkdp [ty] Preserve existing signature inference comments
47e0809c
sharkdp [ty] Honor return-type-inference configuration
2e39366d
sharkdp [ty] Cover return inference edge cases and skip type-checking-only bo…
33527948
sharkdp Remove superfluous TODO
a44b299c
sharkdp [ty] Defer handling local types in inferred returns
80d39e3d
sharkdp Tests
a8d75255
sharkdp Simplify inheritance rules
ca940853
sharkdp Remove two TODOs
3c378a20
sharkdp Renaming and comments
27d3da62
sharkdp Make code nice
4f34b693
sharkdp More improvements
4d33e2ee
sharkdp Comments
49be4653
sharkdp More improvements
2aea0f21
sharkdp One more test
9a90fe02
sharkdp [ty] Remove unnecessary visibility on return inference helper
5a33303e
sharkdp Skip return type inference for abstract methods and protocol methods
a4603053
sharkdp Fix inference of static methods on generic classes
fce28c87
sharkdp Only exclude __init__/__new__ methods, not functions
f2c53076
sharkdp [ty] Restore partial test expectation with return inference disabled
3b952b55
sharkdp sharkdp force pushed from b6e8e4ac to 3b952b55 30 days ago
sharkdp sharkdp merged b99f71a4 into david/return-type-inference-config 30 days ago
sharkdp sharkdp deleted the david/return-type-inference branch 30 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone