Skip to content

Commit 0f9ed6a

Browse files
committed
Set default True for CI run, will revert before merge
Requested in PR
1 parent 3581ec9 commit 0f9ed6a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mypy/options.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,8 @@ def __init__(self) -> None:
350350
self.test_env = False
351351

352352
# Only allow exhaustive match statements
353-
self.disallow_inexhaustive_match_statements = False
353+
# TODO: Set this to default to False once a commit in CI runs mypy_primer
354+
self.disallow_inexhaustive_match_statements = True
354355

355356
# -- experimental options --
356357
self.shadow_file: list[list[str]] | None = None

0 commit comments

Comments
 (0)