src/eric7/MicroPython/Devices/GenericMicroPythonDevices.py

branch
eric7
changeset 10683
779cda568acb
parent 10621
f5631f40c4d9
child 10806
2f6df822e3b9
--- a/src/eric7/MicroPython/Devices/GenericMicroPythonDevices.py	Tue Apr 16 15:47:11 2024 +0200
+++ b/src/eric7/MicroPython/Devices/GenericMicroPythonDevices.py	Sat Apr 20 18:01:36 2024 +0200
@@ -397,9 +397,7 @@
 """
 
 
-def createDevice(
-    microPythonWidget, deviceType, vid, pid, boardName, serialNumber  # noqa: U100
-):
+def createDevice(microPythonWidget, deviceType, vid, pid, _boardName, _serialNumber):
     """
     Function to instantiate a MicroPython device object.
 
@@ -411,9 +409,9 @@
     @type int
     @param pid product ID
     @type int
-    @param boardName name of the board
+    @param _boardName name of the board (unused)
     @type str
-    @param serialNumber serial number of the board
+    @param _serialNumber serial number of the board (unused)
     @type str
     @return reference to the instantiated device object
     @rtype GenericMicroPythonDevice

eric ide

mercurial