diff -r 635b6c5a36e1 -r be9f8e7e42e0 src/eric7/MicroPython/MicroPythonWidget.py --- a/src/eric7/MicroPython/MicroPythonWidget.py Tue Dec 06 16:57:54 2022 +0100 +++ b/src/eric7/MicroPython/MicroPythonWidget.py Tue Dec 06 17:35:41 2022 +0100 @@ -1165,9 +1165,7 @@ EricMessageBox.critical( self, self.tr("Run Script"), - self.tr( - """The current editor does not contain a script. Abort...""" - ), + self.tr("""The current editor does not contain a script. Abort..."""), ) return @@ -1176,9 +1174,9 @@ EricMessageBox.warning( self, self.tr("Run Script"), - self.tr( - """<p>Cannot run script.</p><p>Reason: {0}</p>""" - ).format(reason), + self.tr("""<p>Cannot run script.</p><p>Reason: {0}</p>""").format( + reason + ), ) return @@ -1586,7 +1584,7 @@ "</table>" ).format(date, time) except ValueError: - return self.tr("<h3>Device Date and Time</h3>" "<p>{0}</p>").format( + return self.tr("<h3>Device Date and Time</h3><p>{0}</p>").format( dateTimeString.strip() ) except Exception as exc: