--- a/src/eric7/QScintilla/Editor.py Mon Mar 04 11:26:52 2024 +0100 +++ b/src/eric7/QScintilla/Editor.py Mon Mar 04 11:42:39 2024 +0100 @@ -1468,10 +1468,11 @@ self.marginMenuActs["ToggleAllFolds"] = self.foldMarginMenu.addAction( self.tr("Toggle all folds"), self.foldAll ) - self.marginMenuActs[ - "ToggleAllFoldsAndChildren" - ] = self.foldMarginMenu.addAction( - self.tr("Toggle all folds (including children)"), lambda: self.foldAll(True) + self.marginMenuActs["ToggleAllFoldsAndChildren"] = ( + self.foldMarginMenu.addAction( + self.tr("Toggle all folds (including children)"), + lambda: self.foldAll(True), + ) ) self.marginMenuActs["ToggleCurrentFold"] = self.foldMarginMenu.addAction( self.tr("Toggle current fold"), self.toggleCurrentFold @@ -3455,9 +3456,11 @@ self, self.tr("File Modified"), self.tr("<p>The file <b>{0}</b> has unsaved changes.</p>").format(fn), - self.saveFile - if not FileSystemUtilities.isRemoteFileName(self.fileName) - else None, + ( + self.saveFile + if not FileSystemUtilities.isRemoteFileName(self.fileName) + else None + ), ) if res: self.vm.setEditorName(self, self.fileName)