Revert changes in run_mypy script by mistake

This commit is contained in:
Diego Prado Gesto 2018-07-03 12:09:01 +02:00
parent 7714515204
commit ae7875a756

View file

@ -34,13 +34,13 @@ def main():
os.putenv("MYPYPATH", ":".join(mypyPathParts)) os.putenv("MYPYPATH", ":".join(mypyPathParts))
# Mypy really needs to be run via its Python script otherwise it can't find its data files. # Mypy really needs to be run via its Python script otherwise it can't find its data files.
mypyExe = where("mypy.exe" if sys.platform == "win32" else "mypy") mypyExe = where("mypy.bat" if sys.platform == "win32" else "mypy")
mypyModule = os.path.join(os.path.dirname(mypyExe), "mypy.exe") mypyModule = os.path.join(os.path.dirname(mypyExe), "mypy")
plugins = findModules("plugins") plugins = findModules("plugins")
plugins.sort() plugins.sort()
mods = plugins + findModules("plugins/VersionUpgrade") mods = ["cura"] + plugins + findModules("plugins/VersionUpgrade")
for mod in mods: for mod in mods:
print("------------- Checking module {mod}".format(**locals())) print("------------- Checking module {mod}".format(**locals()))