19 Commits

Author SHA1 Message Date
Ghostkeeper
5af4acc49e
Remove trailing spaces 2020-02-17 15:25:17 +01:00
Ghostkeeper
5599618d19
Fix spelling
D/T mistakes are very common amoung Dutch natives, but this is just madness.
2020-01-03 14:08:13 +01:00
Jaime van Kessel
e28a662d7c
Speed up mypy checking
Checking Cura takes up most of the time, but during that time we could
check for the plugins.
2019-12-30 13:44:54 +01:00
Ghostkeeper
e4c3ab33f8
Fix message saying all is good if it isn't 2019-09-17 09:37:18 +02:00
Ghostkeeper
e4edd5732f
Fix success code in MyPy script
The 'return' variable was used for two things, shadowing each other. Because of that, it would fill the variable with a subprocess.run result which would evaluate to True so it would always say that the test failed.
2019-09-17 09:35:12 +02:00
Nino van Hooff
5efc0e7f27 Mypy: do not stop after finding issues in a module 2019-09-16 15:41:04 +02:00
Lipu Fei
de551ccf51 WIP: Fix run_mypy on Windows via cmake 2018-07-09 16:46:53 +02:00
Lipu Fei
08249a8b06 WIP: Fix run_mypy.py for Windows 2018-07-09 16:18:43 +02:00
Lipu Fei
1a32e90cd0 WIP: Fix run_mypy.py for Windows 2018-07-09 16:13:40 +02:00
Ian Paschal
5e30fdf0fe Make sure searchPath is always a string 2018-07-09 15:54:54 +02:00
Diego Prado Gesto
ae7875a756 Revert changes in run_mypy script by mistake 2018-07-03 12:09:01 +02:00
Diego Prado Gesto
762a1b1bfd Fix code-style 2018-07-03 12:06:06 +02:00
Ghostkeeper
adafea73cc
Ignore missing imports
We don't want to be type checking inside those files.

Contributes to issue CURA-5330.
2018-06-08 16:19:20 +02:00
Ghostkeeper
651f2ffbc9
Return proper exit value if test failed
Return 1 then.

Contributes to issue CURA-5330.
2018-05-04 15:57:06 +02:00
Simon Edwards
60d4e6e4fd Make the run_mypy.py script find Uranium via the PYTHONPATH env var. 2017-02-15 08:53:18 +01:00
Simon Edwards
4928c91942 Make run_mypy.py slightly more cross platform. 2017-02-14 13:47:37 +01:00
Simon Edwards
4715afdad6 Fixed one new class variable. Updated the script to run mypy. 2017-02-01 14:53:22 +01:00
Simon Edwards
cf85831d87 Also check the upgrade plugins. 2017-01-17 20:56:28 +01:00
Simon Edwards
1b43e4981e Fixes for all of the plugins. Added a script to invoke mypy. (I'm stiiiick of .bat files. They are just broken.) 2017-01-17 16:57:37 +01:00