src/eric7/MicroPython/Devices/DeviceBase.py

branch
eric7
changeset 11148
15e30f0c76a8
parent 11090
f5f5f5803935
child 11167
a3f5af773bc7
--- a/src/eric7/MicroPython/Devices/DeviceBase.py	Mon Feb 24 15:11:18 2025 +0100
+++ b/src/eric7/MicroPython/Devices/DeviceBase.py	Mon Feb 24 15:43:49 2025 +0100
@@ -1400,7 +1400,7 @@
         else:
             return ""
 
-    def syncTime(self, _deviceType, hasCPy=False):  # noqa: U100
+    def syncTime(self, _deviceType, hasCPy=False):  # noqa: U-100
         """
         Public method to set the time of the connected device to the local
         computer's time.
@@ -1588,7 +1588,7 @@
         """
         return {}, {}, {}
 
-    def connectWifi(self, ssid, password, hostname):  # noqa: U100
+    def connectWifi(self, ssid, password, hostname):  # noqa: U-100
         """
         Public method to connect a device to a WiFi network.
 
@@ -1630,7 +1630,7 @@
         """
         return False
 
-    def writeCredentials(self, ssid, password, hostname, country):  # noqa: U100
+    def writeCredentials(self, ssid, password, hostname, country):  # noqa: U-100
         """
         Public method to write the given credentials to the connected device and modify
         the start script to connect automatically.
@@ -1676,7 +1676,7 @@
         """
         return [], ""
 
-    def deactivateInterface(self, interface):  # noqa: U100
+    def deactivateInterface(self, interface):  # noqa: U-100
         """
         Public method to deactivate a given WiFi interface of the connected device.
 
@@ -1690,11 +1690,11 @@
 
     def startAccessPoint(
         self,
-        ssid,  # noqa: U100
-        security=None,  # noqa: U100
-        password=None,  # noqa: U100
-        hostname=None,  # noqa: U100
-        ifconfig=None,  # noqa: U100
+        ssid,  # noqa: U-100
+        security=None,  # noqa: U-100
+        password=None,  # noqa: U-100
+        hostname=None,  # noqa: U-100
+        ifconfig=None,  # noqa: U-100
     ):
         """
         Public method to start the access point interface.
@@ -1734,7 +1734,7 @@
         """
         return [], ""
 
-    def enableWebrepl(self, password):  # noqa: U100
+    def enableWebrepl(self, password):  # noqa: U-100
         """
         Public method to write the given WebREPL password to the connected device and
         modify the start script to start the WebREPL server.
@@ -1789,7 +1789,7 @@
         """
         return []
 
-    def connectToLan(self, config, hostname):  # noqa: U100
+    def connectToLan(self, config, hostname):  # noqa: U-100
         """
         Public method to connect the connected device to the LAN.
 
@@ -1840,7 +1840,7 @@
         """
         return True, ""
 
-    def writeLanAutoConnect(self, config, hostname):  # noqa: U100
+    def writeLanAutoConnect(self, config, hostname):  # noqa: U-100
         """
         Public method to generate a script and associated configuration to connect the
         device to the LAN during boot time.
@@ -1917,7 +1917,7 @@
         """
         return False
 
-    def getDeviceScan(self, timeout=10):  # noqa: U100
+    def getDeviceScan(self, timeout=10):  # noqa: U-100
         """
         Public method to perform a Bluetooth device scan.
 
@@ -1944,7 +1944,7 @@
         return False
 
     def setNetworkTime(
-        self, server="pool.ntp.org", tzOffset=0, timeout=10  # noqa: U100
+        self, server="pool.ntp.org", tzOffset=0, timeout=10  # noqa: U-100
     ):
         """
         Public method to set the time to the network time retrieved from an
@@ -1985,4 +1985,4 @@
 
 
 #
-# eflag: noqa = M613
+# eflag: noqa = M-613

eric ide

mercurial