Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
astral-sh
/
ruff
Public
Notifications
You must be signed in to change notification settings
Fork
2.4k
Star
49.8k
Code
Issues
1.7k
Pull requests
490
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
[ty] Narrow tuple expression match subjects
- #25874
#25874
Merged
charliermarsh
merged 9 commits into
main
astral-sh/ruff:main
from
charlie/fix-tuple-match-subject-narrowing
astral-sh/ruff:charlie/fix-tuple-match-subject-narrowing
Copy head branch name to clipboard
Jun 12, 2026
Conversation
Commits
9
(9)
Checks
Files changed
Merged
[ty] Narrow tuple expression match subjects
#25874
charliermarsh
merged 9 commits into
main
astral-sh/ruff:main
from
charlie/fix-tuple-match-subject-narrowing
astral-sh/ruff:charlie/fix-tuple-match-subject-narrowing
Copy head branch name to clipboard
Commits
Commits on Jun 12, 2026
[ty] Target narrowing constraints at earlier bindings
charliermarsh
committed
de2d677
View commit details
Copy full SHA for de2d677
Browse repository at this point
[ty] Narrow tuple expression match subjects
charliermarsh
committed
4e8a3d9
View commit details
Copy full SHA for 4e8a3d9
Browse repository at this point
[ty] Project starred tuple match patterns
charliermarsh
committed
eba530e
View commit details
Copy full SHA for eba530e
Browse repository at this point
[ty] Ignore impossible tuple match alternatives
charliermarsh
committed
369188d
View commit details
Copy full SHA for 369188d
Browse repository at this point
[ty] Project nested sequence match subjects
charliermarsh
committed
18d4a8c
View commit details
Copy full SHA for 18d4a8c
Browse repository at this point
[ty] Simplify match pattern constraint merging
charliermarsh
committed
84073a1
View commit details
Copy full SHA for 84073a1
Browse repository at this point
[ty] Build projected constraints in the narrowing arena
charliermarsh
committed
8beeb84
View commit details
Copy full SHA for 8beeb84
Browse repository at this point
[ty] Keep match subject constraints binding-specific
charliermarsh
committed
098f8e1
View commit details
Copy full SHA for 098f8e1
Browse repository at this point
[ty] Organize match subject narrowing tests
charliermarsh
committed
76d9c6b
View commit details
Copy full SHA for 76d9c6b
Browse repository at this point
You can’t perform that action at this time.