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

This commit is contained in:
Avasam authored and GitHub committed 2024-09-17 10:58:31 +02:00
1 parent 3266319a76
commit d34ef50754
8 files changed
+33 -37

No files matched your search

-2
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)