-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
refactoringChanging mypy's internalsChanging mypy's internalstopic-reachabilityDetecting unreachable codeDetecting unreachable code
Description
Is it intentional that --warn-unreachable
is not used while self checking in the CI? (with mypy_self_check.ini)
I have recently realized that this is not turned on and it feels a bit strange. There are about 39 errors when running with --warn-unreachable and it brings up a few questionable things like https://github.com/python/mypy/blob/master/mypy/test/testpep561.py#L180.
@sobolevn told me to create this issue in #18076 (comment)
JelleZijlstra
Metadata
Metadata
Assignees
Labels
refactoringChanging mypy's internalsChanging mypy's internalstopic-reachabilityDetecting unreachable codeDetecting unreachable code