Skip to content

Commit 54cd64d

Browse files
committed
NOMERGE: mypy_primer: Enable --enable-incomplete-feature=TypeForm when checking open source code
1 parent 5fb5bd8 commit 54cd64d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mypy/options.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,10 @@ def __init__(self) -> None:
329329
self.dump_type_stats = False
330330
self.dump_inference_stats = False
331331
self.dump_build_stats = False
332-
self.enable_incomplete_feature: list[str] = []
332+
# FIXME: Temporarily TypeForm support by default so that mypy_primer
333+
# can check how enabling it by default would affect typechecker
334+
# for projects that are already trying to use TypeForm.
335+
self.enable_incomplete_feature: list[str] = [TYPE_FORM]
333336
self.timing_stats: str | None = None
334337
self.line_checking_stats: str | None = None
335338

0 commit comments

Comments
 (0)