Fixed some code formatting issues. mpy_network

Mon, 27 Feb 2023 17:43:51 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 27 Feb 2023 17:43:51 +0100
branch
mpy_network
changeset 9821
6b1b06d74532
parent 9820
67597e003373
child 9822
3bc57035aa86

Fixed some code formatting issues.

src/eric7/MicroPython/MicroPythonDeviceInterface.py file | annotate | diff | comparison | revisions
src/eric7/MicroPython/UF2FlashDialog.py file | annotate | diff | comparison | revisions
--- a/src/eric7/MicroPython/MicroPythonDeviceInterface.py	Mon Feb 27 17:43:11 2023 +0100
+++ b/src/eric7/MicroPython/MicroPythonDeviceInterface.py	Mon Feb 27 17:43:51 2023 +0100
@@ -404,7 +404,11 @@
         self.__pasteOff()
         QThread.msleep(10)
         # read until Python prompt
-        result = self.__serial.readUntil(b">>> ", timeout=timeout).replace(b">>> ", b"").strip()
+        result = (
+            self.__serial.readUntil(b">>> ", timeout=timeout)
+            .replace(b">>> ", b"")
+            .strip()
+        )
         if self.__serial.hasTimedOut():
             self.__blockReadyRead = False
             return b"", b"Timeout while processing commands."
--- a/src/eric7/MicroPython/UF2FlashDialog.py	Mon Feb 27 17:43:11 2023 +0100
+++ b/src/eric7/MicroPython/UF2FlashDialog.py	Mon Feb 27 17:43:51 2023 +0100
@@ -1101,7 +1101,8 @@
                     "UF2FlashDialog", "Select the Boot Volume of the device:"
                 ),
                 list(foundBootVolumes),
-                0, True,
+                0,
+                True,
             )
             selectedVolume = result if ok else ""
 

eric ide

mercurial