mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
mypy: In non-daemon mode, follow package imports.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Tim Abbott
parent
86f8bb83ab
commit
fc6a8396ed
@@ -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...")
|
||||
|
Reference in New Issue
Block a user