mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Revert changes in run_mypy script by mistake
This commit is contained in:
parent
7714515204
commit
ae7875a756
1 changed files with 3 additions and 3 deletions
|
@ -34,13 +34,13 @@ def main():
|
|||
os.putenv("MYPYPATH", ":".join(mypyPathParts))
|
||||
|
||||
# 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")
|
||||
mypyModule = os.path.join(os.path.dirname(mypyExe), "mypy.exe")
|
||||
mypyExe = where("mypy.bat" if sys.platform == "win32" else "mypy")
|
||||
mypyModule = os.path.join(os.path.dirname(mypyExe), "mypy")
|
||||
|
||||
plugins = findModules("plugins")
|
||||
plugins.sort()
|
||||
|
||||
mods = plugins + findModules("plugins/VersionUpgrade")
|
||||
mods = ["cura"] + plugins + findModules("plugins/VersionUpgrade")
|
||||
|
||||
for mod in mods:
|
||||
print("------------- Checking module {mod}".format(**locals()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue