mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 04:07:57 -06:00
Ignore missing imports
We don't want to be type checking inside those files. Contributes to issue CURA-5330.
This commit is contained in:
parent
51462b20c3
commit
adafea73cc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue