Skip to content

Commit 19ebf8b

Browse files
Run stubtest with --strict-type-check-only (#15604)
1 parent f092cef commit 19ebf8b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/stubtest_stdlib.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def run_stubtest(typeshed_dir: Path) -> int:
2828
"mypy.stubtest",
2929
"--check-typeshed",
3030
"--show-traceback",
31+
"--strict-type-check-only",
3132
"--custom-typeshed-dir",
3233
str(typeshed_dir),
3334
*allowlist_stubtest_arguments("stdlib"),

tests/stubtest_third_party.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ def run_stubtest(dist: Path, *, verbose: bool = False, ci_platforms_only: bool =
109109
"--mypy-config-file",
110110
temp.name,
111111
"--show-traceback",
112+
"--strict-type-check-only",
112113
# Use --custom-typeshed-dir in case we make linked changes to stdlib or _typeshed
113114
"--custom-typeshed-dir",
114115
str(dist.parent.parent),

0 commit comments

Comments
 (0)