mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-04 04:25:50 +08:00
Run stubtest with --strict-type-check-only (#15604)
This commit is contained in:
@@ -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"),
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user