Skip to content

Commit f676b3d

Browse files
committed
Set --strict-type-check-only in tests
1 parent c3908a9 commit f676b3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/test/teststubtest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def test(*args: Any, **kwargs: Any) -> None:
256256
output = run_stubtest(
257257
stub="\n\n".join(textwrap.dedent(c.stub.lstrip("\n")) for c in cases),
258258
runtime="\n\n".join(textwrap.dedent(c.runtime.lstrip("\n")) for c in cases),
259-
options=["--generate-allowlist"],
259+
options=["--generate-allowlist", "--strict-type-check-only"],
260260
)
261261

262262
actual_errors = set(output.splitlines())

0 commit comments

Comments
 (0)