Skip to content

Make it possible to narrow in --check-unreachable - #21868

Open
A5rocks wants to merge 1 commit into
python:masterfrom
A5rocks:unreachable-narrowing
Open

Make it possible to narrow in --check-unreachable#21868
A5rocks wants to merge 1 commit into
python:masterfrom
A5rocks:unreachable-narrowing

Conversation

@A5rocks

@A5rocks A5rocks commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Refs #21835

This fixes the first issue I ran into when doing a self-check w/ --check-unreachable.

@A5rocks

A5rocks commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator Author

Actually, it turns out self-check with --check-unreachable succeeds after this PR. I'll make a followup adding it afterwards!

@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant