ruff
[ty] narrow `TypedDict` unions with `not in`
#22349
Merged

[ty] narrow `TypedDict` unions with `not in` #22349

felixscherz
felixscherz felixscherz requested a review from carljm carljm 13 days ago
felixscherz felixscherz requested a review from AlexWaygood AlexWaygood 13 days ago
felixscherz felixscherz requested a review from sharkdp sharkdp 13 days ago
felixscherz felixscherz requested a review from dcreager dcreager 13 days ago
AlexWaygood AlexWaygood added ty
AlexWaygood
felixscherz feat: narrow `TypedDict` unions with `not in`
502d8a65
felixscherz fix: remove standalone intersection match arm
b6ea46e5
felixscherz felixscherz force pushed from c4b8b2e6 to b6ea46e5 13 days ago
felixscherz fix: convert type into narrowing constraint
d2426cb9
astral-sh-bot
astral-sh-bot
AlexWaygood AlexWaygood added ecosystem-analyzer
felixscherz
felixscherz fix: replace lambda with method call
9e6e5093
AlexWaygood
AlexWaygood commented on 2026-01-02
AlexWaygood AlexWaygood changed the title feat: narrow `TypedDict` unions with `not in` [ty] narrow `TypedDict` unions with `not in` 13 days ago
astral-sh-bot
codspeed-hq
felixscherz refactor: simplify union filtering
e599fce7
felixscherz feat: avoid adding constraint if narrowed type is the same
c02aaa73
felixscherz chore: format with rustfmt
cf426d71
AlexWaygood minor fixups
840c4adb
AlexWaygood
AlexWaygood approved these changes on 2026-01-03
AlexWaygood AlexWaygood merged fd86e699 into main 13 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone