mypy: In non-daemon mode, follow package imports.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg
2019-08-07 16:43:52 -07:00
committed by Tim Abbott
parent 86f8bb83ab
commit fc6a8396ed
3 changed files with 3 additions and 53 deletions

View File

@@ -78,6 +78,7 @@ mypy_args = extra_args + python_files + pyi_files
if args.no_daemon:
rc = subprocess.call([mypy_command] + mypy_args)
else:
mypy_args += ["--follow-imports=skip"]
rc = subprocess.call([mypy_command, "status"], stdout=subprocess.PIPE)
if rc != 0:
print("Starting mypy daemon, this will take a minute...")