mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-25 20:36:44 +08:00
Optional pytype install on Windows (no CI) (#12669)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user