[ty] Add support for narrowing on tuple match cases by charliermarsh · Pull Request #25493 · astral-sh/ruff (original) (raw)

@astral-sh-bot Bot added the ty

Multi-file analysis & type inference

label

May 30, 2026

@charliermarsh charliermarsh changed the title[ty] Narrow exact sequence patterns [ty] Add support for narrowing on tuple match cases

May 30, 2026

Base automatically changed from charlie/tuple-match to main

June 3, 2026 16:23

AlexWaygood

AlexWaygood

AlexWaygood

@carljm carljm removed their request for review

June 4, 2026 15:25

AlexWaygood

AlexWaygood

@charliermarsh

thejchap added a commit to thejchap/ruff that referenced this pull request

Jun 7, 2026

@thejchap

thejchap added a commit to thejchap/ruff that referenced this pull request

Jun 13, 2026

@thejchap

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})