-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Label
Projects
Milestones
Assignee
Sort
Issues list
For loop with a mypy got something wrong
topic-reachability
Detecting unreachable code
Generator[Any, Any, NoReturn]
doesn't cause unreachable code.
bug
#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 mypy got something wrong
topic-match-statement
Python 3.10's match statement
topic-reachability
Detecting unreachable code
match
on type
objects
bug
#18524
opened Jan 24, 2025 by
woodruffw
Flag mypy got something wrong
topic-reachability
Detecting unreachable code
None
check on value that cannot be None
bug
#18386
opened Dec 30, 2024 by
nickdrozd
[regression] no type checking beyond perceived isinstance guard failure
bug
mypy got something wrong
topic-reachability
Detecting unreachable code
topic-usability
#18329
opened Dec 23, 2024 by
yonilerner
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 mypy got something wrong
topic-reachability
Detecting unreachable code
topic-type-ignore
# type: ignore comments
unreachable
code, type: ignore[...]
, and pass
or ...
bug
#16232
opened Oct 6, 2023 by
finite-state-machine
(π) Report unreachable when Detecting unreachable code
topic-typeguard-typeis
TypeGuard / TypeIs / PEP 647 / PEP 742
TypeGuard[Never]
feature
topic-reachability
#16160
opened Sep 22, 2023 by
KotlinIsland
[match-case] Python 3.10's match statement
topic-reachability
Detecting unreachable code
topic-type-ignore
# type: ignore comments
unreachable
raised multiple times instead of once.
feature
topic-match-statement
#15866
opened Aug 14, 2023 by
randolf-scholz
Exhaustiveness checking false positives when using mypy got something wrong
topic-reachability
Detecting unreachable code
match self
or match self.value
inside an Enum
bug
#15186
opened May 4, 2023 by
rouge8
Context manager mypy got something wrong
topic-reachability
Detecting unreachable code
__exit__
return type bool | None
is treated as None for reachability analysis
bug
#15158
opened Apr 30, 2023 by
VincentVanlaer
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
#14771
opened Feb 23, 2023 by
sjdemartini
None is not a possible value for type variable bound to optional value?!
bug
mypy got something wrong
topic-reachability
Detecting unreachable code
topic-type-variables
#14754
opened Feb 21, 2023 by
NeilGirdhar
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
Support exhaustiveness checking of single enumerable properties
feature
topic-reachability
Detecting unreachable code
#14261
opened Dec 7, 2022 by
aiven-anton
False positive mypy got something wrong
topic-reachability
Detecting unreachable code
statement is unreachable
in try-finally related to KeyboardInterrupt
bug
#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 mypy got something wrong
topic-reachability
Detecting unreachable code
NoReturn
overloaded method
bug
#12402
opened Mar 21, 2022 by
KotlinIsland
(π) Artificially literal bools not considered when performing reachability checks where branch terminates
feature
topic-reachability
Detecting unreachable code
#12365
opened Mar 16, 2022 by
KotlinIsland
Previous Next
ProTip!
Add no:assignee to see everything thatβs not assigned.