src/eric7/MicroPython/Devices/CircuitPythonDevices.py

branch
eric7
changeset 10683
779cda568acb
parent 10439
21c28b0f9e41
child 10806
2f6df822e3b9
--- a/src/eric7/MicroPython/Devices/CircuitPythonDevices.py	Tue Apr 16 15:47:11 2024 +0200
+++ b/src/eric7/MicroPython/Devices/CircuitPythonDevices.py	Sat Apr 20 18:01:36 2024 +0200
@@ -994,7 +994,7 @@
 
         return out.strip() == b"True"
 
-    def writeCredentials(self, ssid, password, hostname, country):  # noqa: U100
+    def writeCredentials(self, ssid, password, hostname, _country):
         """
         Public method to write the given credentials to the connected device and modify
         the start script to connect automatically.
@@ -1005,7 +1005,7 @@
         @type str
         @param hostname host name of the device
         @type str
-        @param country WiFi country code (unused)
+        @param _country WiFi country code (unused)
         @type str
         @return tuple containing a flag indicating success and an error message
         @rtype tuple of (bool, str)
@@ -2089,9 +2089,7 @@
         return True, ""
 
 
-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.
 
@@ -2105,7 +2103,7 @@
     @type int
     @param boardName name of the board
     @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 CircuitPythonDevice

eric ide

mercurial