Optional pytype install on Windows (no CI) (#12669)

This commit is contained in:
Avasam
2024-09-17 04:58:31 -04:00
committed by GitHub
parent 3266319a76
commit d34ef50754
8 changed files with 33 additions and 37 deletions

View File

@@ -69,8 +69,6 @@ def run_mypy_as_subprocess(directory: str, platform: str, version: str) -> Retur
"--custom-typeshed-dir",
".",
]
if directory == "tests" and platform == "win32":
command.extend(["--exclude", "tests/pytype_test.py"])
result = subprocess.run(command, capture_output=True, text=True)
if result.stderr:
print_error(result.stderr)