--- a/RefactoringRope/MoveDialog.py Sat Dec 23 15:48:55 2023 +0100 +++ b/RefactoringRope/MoveDialog.py Sat Dec 23 17:58:35 2023 +0100 @@ -118,7 +118,7 @@ ) self.selectButton.setToolTip( self.tr( - "Select the destination package via a directory selection" " dialog" + "Select the destination package via a directory selection dialog" ) ) else: @@ -131,7 +131,7 @@ self.resize(max(self.width(), msh.width()), msh.height()) @pyqtSlot(str) - def on_attributeEdit_textChanged(self, text): + def on_attributeEdit_textChanged(self, text): # noqa: U100 """ Private slot to react to changes of the attribute. @@ -141,7 +141,7 @@ self.__updateUI() @pyqtSlot(str) - def on_methodEdit_textChanged(self, text): + def on_methodEdit_textChanged(self, text): # noqa: U100 """ Private slot to react to changes of the method. @@ -151,7 +151,7 @@ self.__updateUI() @pyqtSlot(str) - def on_destinationEdit_textChanged(self, text): + def on_destinationEdit_textChanged(self, text): # noqa: U100 """ Private slot to react to changes of the destination module. @@ -203,12 +203,12 @@ if not self.__project.startswithProjectPath(destination): if self.__moveType == "move_global_method": errorMessage = self.tr( - """The selected module must be """ """inside the project.""" + """The selected module must be inside the project.""" ) else: # move_module errorMessage = self.tr( - """The selected directory must""" """ be inside the project.""" + """The selected directory must be inside the project.""" ) EricMessageBox.critical(self, self.windowTitle(), errorMessage) return @@ -219,7 +219,7 @@ self, self.windowTitle(), self.tr( - """The selected module <b>{0}</b> does""" """ not exist.""" + """The selected module <b>{0}</b> does not exist.""" ).format(destination), ) return @@ -255,7 +255,7 @@ self, self.windowTitle(), self.tr( - """The selected module <b>{0}</b> does""" """ not exist.""" + """The selected module <b>{0}</b> does not exist.""" ).format(destination), ) return False @@ -266,7 +266,7 @@ self, self.windowTitle(), self.tr( - """The selected directory <b>{0}</b> is""" """ not a package.""" + """The selected directory <b>{0}</b> is not a package.""" ).format(destination), ) return False