From 879d8cdca0121c8261d72506c23b075240eb03a1 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Fri, 10 Feb 2017 18:58:40 -0800 Subject: [PATCH] mypy: Stop using deprecated --silent-imports. --- tools/run-mypy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/run-mypy b/tools/run-mypy index 9386c651b6..fc7494809f 100755 --- a/tools/run-mypy +++ b/tools/run-mypy @@ -94,7 +94,8 @@ else: mypy_command = "mypy" extra_args = ["--fast-parser", - "--silent-imports", + "--ignore-missing-imports", + "--follow-imports=silent", "--check-untyped-defs", "--scripts-are-modules", "-i", "--cache-dir=var/mypy-cache"]