mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +00:00
mypy: Move follow-imports to config file.
It's cleaner to have this configuration in a nice declarative config file than embedded in a script.
This commit is contained in:
@@ -83,8 +83,7 @@ if not python_files and not pyi_files:
|
||||
print("There are no files to run mypy on.")
|
||||
sys.exit(0)
|
||||
|
||||
extra_args = ["--follow-imports=silent",
|
||||
"--cache-dir=var/mypy-cache"]
|
||||
extra_args = ["--cache-dir=var/mypy-cache"]
|
||||
if args.linecoverage_report:
|
||||
extra_args.append("--linecoverage-report")
|
||||
extra_args.append("var/linecoverage-report")
|
||||
|
||||
Reference in New Issue
Block a user