Fixes for all of the plugins. Added a script to invoke mypy. (I'm stiiiick of .bat files. They are just broken.)

This commit is contained in:
Simon Edwards 2017-01-17 16:57:37 +01:00
parent fb70eb6813
commit 1b43e4981e
12 changed files with 62 additions and 20 deletions

View file

@ -7,7 +7,7 @@ import struct
import sys
import time
from serial import Serial
from serial import Serial # type: ignore
from serial import SerialException
from serial import SerialTimeoutException
from UM.Logger import Logger
@ -184,7 +184,7 @@ class Stk500v2(ispBase.IspBase):
def portList():
ret = []
import _winreg
import _winreg # type: ignore
key=_winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE,"HARDWARE\\DEVICEMAP\\SERIALCOMM") #@UndefinedVariable
i=0
while True: