diff --git a/run_mypy.py b/run_mypy.py index a72c555b8a..2a2c72dbbe 100644 --- a/run_mypy.py +++ b/run_mypy.py @@ -44,7 +44,7 @@ def main(): for mod in mods: print("------------- Checking module {mod}".format(**locals())) - result = subprocess.run([sys.executable, mypyModule, "-p", mod]) + result = subprocess.run([sys.executable, mypyModule, "-p", mod, "--ignore-missing-imports"]) if result.returncode != 0: print("\nModule {mod} failed checking. :(".format(**locals())) return 1