src/eric7/MicroPython/Devices/DeviceBase.py

branch
eric7
changeset 10069
435cc5875135
parent 10034
bf2d02317ba6
child 10083
62019277dd0a
--- a/src/eric7/MicroPython/Devices/DeviceBase.py	Thu May 25 11:12:05 2023 +0200
+++ b/src/eric7/MicroPython/Devices/DeviceBase.py	Thu May 25 19:51:47 2023 +0200
@@ -1321,7 +1321,7 @@
         else:
             return ""
 
-    def syncTime(self, deviceType, hasCPy=False):
+    def syncTime(self, deviceType, hasCPy=False):  # noqa: U100
         """
         Public method to set the time of the connected device to the local
         computer's time.
@@ -1476,7 +1476,7 @@
         """
         return {}, {}, {}
 
-    def connectWifi(self, ssid, password):
+    def connectWifi(self, ssid, password):  # noqa: U100
         """
         Public method to connect a device to a WiFi network.
 
@@ -1498,7 +1498,7 @@
         """
         return True, ""
 
-    def writeCredentials(self, ssid, password):
+    def writeCredentials(self, ssid, password):  # noqa: U100
         """
         Public method to write the given credentials to the connected device and modify
         the start script to connect automatically.
@@ -1540,7 +1540,7 @@
         """
         return [], ""
 
-    def deactivateInterface(self, interface):
+    def deactivateInterface(self, interface):  # noqa: U100
         """
         Public method to deactivate a given WiFi interface of the connected device.
 
@@ -1552,7 +1552,9 @@
         """
         return True, ""
 
-    def startAccessPoint(self, ssid, security=None, password=None, ifconfig=None):
+    def startAccessPoint(
+        self, ssid, security=None, password=None, ifconfig=None  # noqa: U100
+    ):
         """
         Public method to start the access point interface.
 
@@ -1589,7 +1591,7 @@
         """
         return [], ""
 
-    def enableWebrepl(self, password):
+    def enableWebrepl(self, password):  # noqa: U100
         """
         Public method to write the given WebREPL password to the connected device and
         modify the start script to start the WebREPL server.
@@ -1644,7 +1646,7 @@
         """
         return []
 
-    def connectToLan(self, config):
+    def connectToLan(self, config):  # noqa: U100
         """
         Public method to connect the connected device to the LAN.
 
@@ -1683,7 +1685,7 @@
         """
         return True, ""
 
-    def writeLanAutoConnect(self, config):
+    def writeLanAutoConnect(self, config):  # noqa: U100
         """
         Public method to generate a script and associated configuration to connect the
         device to the LAN during boot time.
@@ -1757,7 +1759,7 @@
         """
         return False
 
-    def getDeviceScan(self, timeout=10):
+    def getDeviceScan(self, timeout=10):  # noqa: U100
         """
         Public method to perform a Bluetooth device scan.
 
@@ -1783,7 +1785,9 @@
         """
         return False
 
-    def setNetworkTime(self, server="pool.ntp.org", tzOffset=0, timeout=10):
+    def setNetworkTime(
+        self, server="pool.ntp.org", tzOffset=0, timeout=10  # noqa: U100
+    ):
         """
         Public method to set the time to the network time retrieved from an
         NTP server.

eric ide

mercurial