ruff
[ty] Allow `if type(x) is Y` narrowing for types other than class-literal types
#22729
Merged

[ty] Allow `if type(x) is Y` narrowing for types other than class-literal types #22729

AlexWaygood merged 1 commit into main from alex/type-t-narrow
AlexWaygood
AlexWaygood [ty] Allow `if type(x) is Y` narrowing for types other than class-lit…
5e79802e
AlexWaygood AlexWaygood requested a review from carljm carljm 4 days ago
AlexWaygood AlexWaygood requested a review from sharkdp sharkdp 4 days ago
AlexWaygood AlexWaygood requested a review from dcreager dcreager 4 days ago
AlexWaygood AlexWaygood added ty
astral-sh-bot
astral-sh-bot
AlexWaygood AlexWaygood added ecosystem-analyzer
astral-sh-bot
AlexWaygood
MichaReiser
MichaReiser approved these changes on 2026-01-20
AlexWaygood AlexWaygood merged af886b06 into main 4 days ago
AlexWaygood AlexWaygood deleted the alex/type-t-narrow branch 4 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone