Ignore missing imports

We don't want to be type checking inside those files.

Contributes to issue CURA-5330.
This commit is contained in:
Ghostkeeper 2018-06-08 16:19:20 +02:00
parent 51462b20c3
commit adafea73cc
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A

View file

@ -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