Added code to suppress a code style warning in RP2Devices.py. eric7

Fri, 02 May 2025 16:18:18 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 02 May 2025 16:18:18 +0200
branch
eric7
changeset 11254
cdb56075b4bc
parent 11253
c906437939b3
child 11255
1c2bd52f2002

Added code to suppress a code style warning in RP2Devices.py.

src/eric7/MicroPython/Devices/RP2Devices.py file | annotate | diff | comparison | revisions
--- a/src/eric7/MicroPython/Devices/RP2Devices.py	Fri May 02 15:13:06 2025 +0200
+++ b/src/eric7/MicroPython/Devices/RP2Devices.py	Fri May 02 16:18:18 2025 +0200
@@ -513,7 +513,7 @@
         # picowireless:
         # It seems to take up to 20 sec to detect, that no Pico Wireless Pack is
         # attached. Therefore the command will timeout before.
-        if Preferences.getMicroPython("DisablePicowireless"):
+        if Preferences.getMicroPython("DisablePicowireless"):  # noqa: Y-108
             # Support for Pimoroni Pico Wireless Pack is disabled.
             command = """
 def has_wifi():

eric ide

mercurial