RefactoringRope/HistoryDialog.py

branch
eric7
changeset 413
a4cba20ad7ab
parent 412
6fa5892b9097
child 420
fa31c3a0df1d
diff -r 6fa5892b9097 -r a4cba20ad7ab RefactoringRope/HistoryDialog.py
--- a/RefactoringRope/HistoryDialog.py	Sat Dec 23 15:48:55 2023 +0100
+++ b/RefactoringRope/HistoryDialog.py	Sat Dec 23 17:58:35 2023 +0100
@@ -153,7 +153,7 @@
         )
 
     @pyqtSlot(QListWidgetItem, QListWidgetItem)
-    def on_redoChangesList_currentItemChanged(self, current, previous):
+    def on_redoChangesList_currentItemChanged(self, current, previous):  # noqa: U100
         """
         Private slot handling a change of the current redo change.
 
@@ -176,7 +176,7 @@
         self.__currentItemChanged(item)
 
     @pyqtSlot(QListWidgetItem, QListWidgetItem)
-    def on_undoChangesList_currentItemChanged(self, current, previous):
+    def on_undoChangesList_currentItemChanged(self, current, previous):  # noqa: U100
         """
         Private slot handling a change of the current undo change.
 
@@ -208,9 +208,9 @@
         res = EricMessageBox.yesNo(
             None,
             self.tr("Undo Refactorings"),
-            self.tr(
-                """Shall all refactorings up to <b>{0}</b>""" """ be undone?"""
-            ).format(Utilities.html_encode(change)),
+            self.tr("""Shall all refactorings up to <b>{0}</b> be undone?""").format(
+                Utilities.html_encode(change)
+            ),
         )
         if res:
             if not self.__refactoring.confirmAllBuffersSaved():
@@ -234,9 +234,9 @@
         res = EricMessageBox.yesNo(
             None,
             self.tr("Redo Refactorings"),
-            self.tr(
-                """Shall all refactorings up to <b>{0}</b>""" """ be redone?"""
-            ).format(Utilities.html_encode(change)),
+            self.tr("""Shall all refactorings up to <b>{0}</b> be redone?""").format(
+                Utilities.html_encode(change)
+            ),
         )
         if res:
             if not self.__refactoring.confirmAllBuffersSaved():

eric ide

mercurial