mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Add aiohttp and tomlkit to requirements-tests.txt (#8605)
This commit is contained in:
@@ -60,11 +60,8 @@ def run_mypy_as_subprocess(directory: str, platform: str, version: str) -> Retur
|
||||
"ignore-without-code",
|
||||
"--namespace-packages",
|
||||
]
|
||||
if directory == "tests":
|
||||
if platform == "win32":
|
||||
command.extend(["--exclude", "tests/pytype_test.py"])
|
||||
else:
|
||||
command.append("--ignore-missing-imports")
|
||||
if directory == "tests" and platform == "win32":
|
||||
command.extend(["--exclude", "tests/pytype_test.py"])
|
||||
result = subprocess.run(command, capture_output=True)
|
||||
stdout, stderr = result.stdout, result.stderr
|
||||
if stderr:
|
||||
|
||||
Reference in New Issue
Block a user