src/eric7/MicroPython/Devices/EspDevices.py

branch
eric7
changeset 10069
435cc5875135
parent 10032
102b79b2a8cd
child 10138
56614cf9d03c
equal deleted inserted replaced
10068:7febcdccb2a1 10069:435cc5875135
1530 else: 1530 else:
1531 res = ast.literal_eval(out.decode("utf-8")) 1531 res = ast.literal_eval(out.decode("utf-8"))
1532 return res["result"], res["error"] 1532 return res["result"], res["error"]
1533 1533
1534 1534
1535 def createDevice(microPythonWidget, deviceType, vid, pid, boardName, serialNumber): 1535 def createDevice(
1536 microPythonWidget, deviceType, vid, pid, boardName, serialNumber # noqa: U100
1537 ):
1536 """ 1538 """
1537 Function to instantiate a MicroPython device object. 1539 Function to instantiate a MicroPython device object.
1538 1540
1539 @param microPythonWidget reference to the main MicroPython widget 1541 @param microPythonWidget reference to the main MicroPython widget
1540 @type MicroPythonWidget 1542 @type MicroPythonWidget

eric ide

mercurial