Skip to content

Issues: python/mypy

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Author
Filter by author
Loading
Label
Filter by label
Loading
Use alt + click/return to exclude labels
or ⇧ + click/return for logical OR
Projects
Filter by project
Loading
Milestones
Filter by milestone
Loading
Assignee
Filter by who’s assigned
Assigned to nobody Loading
Sort

Issues list

For loop with a Generator[Any, Any, NoReturn] doesn't cause unreachable code. bug mypy got something wrong topic-reachability Detecting unreachable code
#18891 opened Apr 7, 2025 by MoonMountain2k
For tuple in match, _ isn't determined to be Never, but _, _ is bug mypy got something wrong topic-match-statement Python 3.10's match statement topic-reachability Detecting unreachable code
#18792 opened Mar 12, 2025 by wyattscarpenter
"Statement is unreachable" when doing match on type objects bug mypy got something wrong topic-match-statement Python 3.10's match statement topic-reachability Detecting unreachable code
#18524 opened Jan 24, 2025 by woodruffw
Flag None check on value that cannot be None bug mypy got something wrong topic-reachability Detecting unreachable code
#18386 opened Dec 30, 2024 by nickdrozd
Enable --warn-unreachable in --strict in Mypy 2.0 topic-configuration Configuration files and flags topic-reachability Detecting unreachable code
#18078 opened Oct 31, 2024 by davidhalter
assert_never on exclusive union of tuples (type narrowing issue?) topic-match-statement Python 3.10's match statement topic-reachability Detecting unreachable code
#16835 opened Jan 29, 2024 by hjwp
Adverse interaction between unreachable code, type: ignore[...], and pass or ... bug mypy got something wrong topic-reachability Detecting unreachable code topic-type-ignore # type: ignore comments
#16232 opened Oct 6, 2023 by finite-state-machine
(🎁) Report unreachable when TypeGuard[Never] feature topic-reachability Detecting unreachable code topic-typeguard-typeis TypeGuard / TypeIs / PEP 647 / PEP 742
#16160 opened Sep 22, 2023 by KotlinIsland
[match-case] unreachable raised multiple times instead of once. feature topic-match-statement Python 3.10's match statement topic-reachability Detecting unreachable code topic-type-ignore # type: ignore comments
#15866 opened Aug 14, 2023 by randolf-scholz
Exhaustiveness checking fails on non-trivial use of pattern matching bug mypy got something wrong topic-match-statement Python 3.10's match statement topic-reachability Detecting unreachable code
#14833 opened Mar 4, 2023 by ajasmin
possibly-undefined rule should respect exhaustive checking feature topic-possibly-undefined possibly-undefined error code topic-reachability Detecting unreachable code
#14771 opened Feb 23, 2023 by sjdemartini
False unreachable warning on match statement bug mypy got something wrong topic-match-statement Python 3.10's match statement topic-reachability Detecting unreachable code
#14485 opened Jan 21, 2023 by delfick
False positive statement is unreachable in try-finally related to KeyboardInterrupt bug mypy got something wrong topic-reachability Detecting unreachable code
#13104 opened Jul 11, 2022 by bbatliner
Narrowing an optional class type to an unrelated Protocol causes a false unreachable error bug mypy got something wrong topic-protocols topic-reachability Detecting unreachable code topic-type-narrowing Conditional type narrowing / binder
#12802 opened May 17, 2022 by ajkaijanaho
False positive unreachable after type:ignore (also possibly invalid erorr code) bug mypy got something wrong topic-error-reporting How we report errors topic-reachability Detecting unreachable code topic-type-ignore # type: ignore comments topic-usability
#12785 opened May 14, 2022 by mortoray
Maybe a problem with reachability of Match cases bug mypy got something wrong topic-match-statement Python 3.10's match statement topic-reachability Detecting unreachable code
#12778 opened May 12, 2022 by mrolle45
type narrowing leads to "unreachable" code being actually reachable bug mypy got something wrong topic-reachability Detecting unreachable code
#12598 opened Apr 16, 2022 by Akuli
(🐞) Inconsistent reachability depending if module level or not bug mypy got something wrong topic-reachability Detecting unreachable code
#12409 opened Mar 21, 2022 by KotlinIsland
(🐞) False error "statement is unreachable" with NoReturn overloaded method bug mypy got something wrong topic-reachability Detecting unreachable code
#12402 opened Mar 21, 2022 by KotlinIsland
ProTip! Add no:assignee to see everything that’s not assigned.