Run stubtest with --strict-type-check-only (#15604)

This commit is contained in:
Brian Schubert
2026-04-04 10:38:08 -04:00
committed by GitHub
parent f092cefe4e
commit 19ebf8bae6
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -28,6 +28,7 @@ def run_stubtest(typeshed_dir: Path) -> int:
"mypy.stubtest",
"--check-typeshed",
"--show-traceback",
"--strict-type-check-only",
"--custom-typeshed-dir",
str(typeshed_dir),
*allowlist_stubtest_arguments("stdlib"),
+1
View File
@@ -109,6 +109,7 @@ def run_stubtest(dist: Path, *, verbose: bool = False, ci_platforms_only: bool =
"--mypy-config-file",
temp.name,
"--show-traceback",
"--strict-type-check-only",
# Use --custom-typeshed-dir in case we make linked changes to stdlib or _typeshed
"--custom-typeshed-dir",
str(dist.parent.parent),