Add option to keep tmp dir to stubtest script (#12151)

This commit is contained in:
Sebastian Rittau
2024-10-03 04:48:52 +02:00
committed by GitHub
parent 8acc85dbab
commit 26b3c69ee4
3 changed files with 34 additions and 6 deletions

View File

@@ -60,8 +60,9 @@ def run_mypy_as_subprocess(directory: str, platform: str, version: str) -> Retur
"--no-error-summary",
"--enable-error-code",
"ignore-without-code",
"--enable-error-code",
"possibly-undefined",
# https://github.com/python/mypy/issues/14309
# "--enable-error-code",
# "possibly-undefined",
"--enable-error-code",
"redundant-expr",
"--enable-error-code",