Sat, 10 Apr 2021 18:38:27 +0200
Applied some more code simplifications suggested by the new Simplify checker (super(Foo, self) => super()).
--- a/eric6/CondaInterface/Conda.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/CondaInterface/Conda.py Sat Apr 10 18:38:27 2021 +0200 @@ -43,7 +43,7 @@ @param parent parent @type QObject """ - super(Conda, self).__init__(parent) + super().__init__(parent) self.__ui = parent
--- a/eric6/CondaInterface/CondaExecDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/CondaInterface/CondaExecDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param parent reference to the parent widget @type QWidget """ - super(CondaExecDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button(
--- a/eric6/CondaInterface/CondaExportDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/CondaInterface/CondaExportDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -41,7 +41,7 @@ @param parent reference to the parent widget @type QWidget """ - super(CondaExportDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/CondaInterface/CondaInfoDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/CondaInterface/CondaInfoDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param parent reference to the parent widget @type QWidget """ - super(CondaInfoDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/CondaInterface/CondaNewEnvironmentDataDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/CondaInterface/CondaNewEnvironmentDataDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param parent reference to the parent widget @type QWidget """ - super(CondaNewEnvironmentDataDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowTitle(title)
--- a/eric6/CondaInterface/CondaPackageDetailsWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/CondaInterface/CondaPackageDetailsWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param parent reference to the parent widget @type QWidget """ - super(CondaPackageDetailsWidget, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.headerLabel.setText(self.tr("<b>{0} / {1} / {2}</b>").format( @@ -75,7 +75,7 @@ @param parent reference to the parent widget @type QWidget """ - super(CondaPackageDetailsDialog, self).__init__(parent) + super().__init__(parent) self.setSizeGripEnabled(True) self.__layout = QVBoxLayout(self)
--- a/eric6/CondaInterface/CondaPackagesWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/CondaInterface/CondaPackagesWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -46,7 +46,7 @@ @param parent reference to the parent widget @type QWidget """ - super(CondaPackagesWidget, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__conda = conda
--- a/eric6/Cooperation/ChatWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Cooperation/ChatWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -54,7 +54,7 @@ @param port port to be used for the cooperation server (integer) @param parent reference to the parent widget (QWidget) """ - super(ChatWidget, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.shareButton.setIcon(
--- a/eric6/Cooperation/Connection.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Cooperation/Connection.py Sat Apr 10 18:38:27 2021 +0200 @@ -73,7 +73,7 @@ @param parent referenec to the parent object (QObject) """ - super(Connection, self).__init__(parent) + super().__init__(parent) self.__greetingMessage = self.tr("undefined") self.__username = self.tr("unknown")
--- a/eric6/Cooperation/CooperationClient.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Cooperation/CooperationClient.py Sat Apr 10 18:38:27 2021 +0200 @@ -48,7 +48,7 @@ @param parent reference to the parent object (QObject) """ - super(CooperationClient, self).__init__(parent) + super().__init__(parent) self.__chatWidget = parent
--- a/eric6/Cooperation/CooperationServer.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Cooperation/CooperationServer.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param address address the server should listen on (QHostAddress) @param parent reference to the parent object (QObject) """ - super(CooperationServer, self).__init__(parent) + super().__init__(parent) self.__address = address
--- a/eric6/DataViews/CodeMetricsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/DataViews/CodeMetricsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param parent parent widget (QWidget) """ - super(CodeMetricsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/DataViews/PyCoverageDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/DataViews/PyCoverageDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -36,7 +36,7 @@ @param parent parent widget (QWidget) """ - super(PyCoverageDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/DataViews/PyProfileDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/DataViews/PyProfileDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -63,7 +63,7 @@ @param parent parent widget (QWidget) """ - super(PyProfileDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/DebugClients/Python/DebugVariables.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/DebugClients/Python/DebugVariables.py Sat Apr 10 18:38:27 2021 +0200 @@ -180,7 +180,7 @@ yield start, d # in case it has additional fields - d = super(DictResolver, self).getDictionary(var) + d = super().getDictionary(var) yield -1, d while True: @@ -237,7 +237,7 @@ yield start, d # in case it has additional fields - d = super(ListResolver, self).getDictionary(var) + d = super().getDictionary(var) yield -1, d while True: @@ -264,7 +264,7 @@ @return value of the attribute @rtype any """ - return super(DictViewResolver, self).resolve(list(var), attribute) + return super().resolve(list(var), attribute) def getDictionary(self, var): """ @@ -275,7 +275,7 @@ @return dictionary containing the variable attributes @rtype dict """ - return super(DictViewResolver, self).getDictionary(list(var)) + return super().getDictionary(list(var)) ############################################################ @@ -336,7 +336,7 @@ yield start, d # in case it has additional fields - additionals = super(SetResolver, self).getDictionary(var) + additionals = super().getDictionary(var) yield -1, additionals while True: @@ -433,7 +433,7 @@ yield start, d # in case it has additional fields - d = super(NdArrayResolver, self).getDictionary(var) + d = super().getDictionary(var) if var.size > 1024 * 1024: d['min'] = ( @@ -529,7 +529,7 @@ yield start, d # in case it has additional fields - d = super(DictResolver, self).getDictionary(var) + d = super().getDictionary(var) yield -1, d while True: @@ -606,7 +606,7 @@ yield start, d # in case it has additional fields - d = super(ArrayResolver, self).getDictionary(var) + d = super().getDictionary(var) # Special data for array type: convert typecode to readable text d['type'] = self.TypeCodeMap.get(var.typecode, 'illegal type')
--- a/eric6/DebugClients/Python/QProcessExtension.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/DebugClients/Python/QProcessExtension.py Sat Apr 10 18:38:27 2021 +0200 @@ -36,7 +36,7 @@ """ Constructor """ - super(QProcessWrapper, self).__init__(parent) + super().__init__(parent) ################################################################### ## Handling of 'start(...)' below @@ -87,11 +87,11 @@ _debugClient, [program] + arguments, ) - super(QProcessWrapper, self).start( + super().start( newArgs[0], newArgs[1:], mode) return - super(QProcessWrapper, self).start(*args, **kwargs) + super().start(*args, **kwargs) ################################################################### ## Handling of 'startDetached(...)' below @@ -147,7 +147,7 @@ return QProcessWrapper.startDetachedStatic( program, arguments, wd) - return super(QProcessWrapper, self).startDetached(*args, **kwargs) + return super().startDetached(*args, **kwargs) @staticmethod def startDetachedStatic(*args, **kwargs):
--- a/eric6/DebugClients/Python/SubprocessExtension.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/DebugClients/Python/SubprocessExtension.py Sat Apr 10 18:38:27 2021 +0200 @@ -61,7 +61,7 @@ _debugClient, arguments, noRedirect=True ) - super(PopenWrapper, self).__init__(arguments, *args, **kwargs) + super().__init__(arguments, *args, **kwargs) _debugClient = debugClient module.Popen = PopenWrapper
--- a/eric6/DebugClients/Python/ThreadExtension.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/DebugClients/Python/ThreadExtension.py Sat Apr 10 18:38:27 2021 +0200 @@ -298,7 +298,7 @@ # intercept the thread creation by threading.Thread self.run = lambda s=self, run=self.run: _bootstrap(s, run) - super(ThreadWrapper, self).__init__(*args, **kwargs) + super().__init__(*args, **kwargs) module.Thread = ThreadWrapper @@ -313,7 +313,7 @@ """ Constructor """ - super(TimerWrapper, self).__init__( + super().__init__( interval, function, *args, **kwargs) module.Timer = TimerWrapper @@ -327,7 +327,7 @@ """ Constructor """ - super(DummyThreadWrapper, self).__init__(*args, **kwargs) + super().__init__(*args, **kwargs) module._DummyThread = DummyThreadWrapper @@ -390,7 +390,7 @@ self.run = lambda s=self, run=self.run: ( _bootstrapQThread(s, run)) - super(QThreadWrapper, self).__init__(*args, **kwargs) + super().__init__(*args, **kwargs) class QRunnableWrapper(module.QRunnable): """ @@ -405,7 +405,7 @@ self.run = lambda s=self, run=self.run: ( _bootstrapQThread(s, run)) - super(QRunnableWrapper, self).__init__(*args, **kwargs) + super().__init__(*args, **kwargs) module.QThread = QThreadWrapper module.QRunnable = QRunnableWrapper
--- a/eric6/Debugger/BreakPointModel.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Debugger/BreakPointModel.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param parent reference to the parent widget @type QObject """ - super(BreakPointModel, self).__init__(parent) + super().__init__(parent) self.__project = project
--- a/eric6/Debugger/BreakPointViewer.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Debugger/BreakPointViewer.py Sat Apr 10 18:38:27 2021 +0200 @@ -38,7 +38,7 @@ @param parent the parent (QWidget) """ - super(BreakPointViewer, self).__init__(parent) + super().__init__(parent) self.setObjectName("BreakPointViewer") self.__model = None @@ -77,7 +77,7 @@ self.sortingModel = QSortFilterProxyModel() self.sortingModel.setDynamicSortFilter(True) self.sortingModel.setSourceModel(self.__model) - super(BreakPointViewer, self).setModel(self.sortingModel) + super().setModel(self.sortingModel) header = self.header() header.setSortIndicator(0, Qt.SortOrder.AscendingOrder)
--- a/eric6/Debugger/CallStackViewer.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Debugger/CallStackViewer.py Sat Apr 10 18:38:27 2021 +0200 @@ -40,7 +40,7 @@ @param parent reference to the parent widget @type QWidget """ - super(CallStackViewer, self).__init__(parent) + super().__init__(parent) self.__layout = QVBoxLayout(self) self.setLayout(self.__layout)
--- a/eric6/Debugger/CallTraceViewer.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Debugger/CallTraceViewer.py Sat Apr 10 18:38:27 2021 +0200 @@ -42,7 +42,7 @@ @param parent reference to the parent widget @type QWidget """ - super(CallTraceViewer, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__dbs = debugServer
--- a/eric6/Debugger/DebugServer.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Debugger/DebugServer.py Sat Apr 10 18:38:27 2021 +0200 @@ -186,7 +186,7 @@ @param parent reference to the parent object @type QObject """ - super(DebugServer, self).__init__(parent) + super().__init__(parent) self.__originalPathString = originalPathString
--- a/eric6/Debugger/DebugUI.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Debugger/DebugUI.py Sat Apr 10 18:38:27 2021 +0200 @@ -70,7 +70,7 @@ @param debugViewer reference to the debug viewer widget @param project reference to the project object """ - super(DebugUI, self).__init__(ui) + super().__init__(ui) self.ui = ui self.viewmanager = vm
--- a/eric6/Debugger/DebugViewer.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Debugger/DebugViewer.py Sat Apr 10 18:38:27 2021 +0200 @@ -82,7 +82,7 @@ @param parent parent widget @type QWidget """ - super(DebugViewer, self).__init__(parent) + super().__init__(parent) self.debugServer = debugServer self.debugUI = None
--- a/eric6/Debugger/DebuggerInterfaceNone.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Debugger/DebuggerInterfaceNone.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param passive flag indicating passive connection mode @type bool """ - super(DebuggerInterfaceNone, self).__init__() + super().__init__() self.debugServer = debugServer self.passive = passive
--- a/eric6/Debugger/DebuggerInterfacePython.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Debugger/DebuggerInterfacePython.py Sat Apr 10 18:38:27 2021 +0200 @@ -44,7 +44,7 @@ @param passive flag indicating passive connection mode @type bool """ - super(DebuggerInterfacePython, self).__init__() + super().__init__() self.__isNetworked = True self.__autoContinue = False
--- a/eric6/Debugger/EditBreakpointDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Debugger/EditBreakpointDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -37,7 +37,7 @@ @param filenameHistory list of recently used file names (list of strings) """ - super(EditBreakpointDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) if name: self.setObjectName(name)
--- a/eric6/Debugger/EditWatchpointDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Debugger/EditWatchpointDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param name the widget name of this dialog @param modal flag indicating a modal dialog """ - super(EditWatchpointDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) if name: self.setObjectName(name)
--- a/eric6/Debugger/ExceptionLogger.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Debugger/ExceptionLogger.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param parent the parent widget of this widget """ - super(ExceptionLogger, self).__init__(parent) + super().__init__(parent) self.setObjectName("ExceptionLogger") self.setWindowTitle(self.tr("Exceptions"))
--- a/eric6/Debugger/ExceptionsFilterDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Debugger/ExceptionsFilterDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param ignore flag indicating the ignore exceptions mode (boolean) @param parent the parent widget (QWidget) """ - super(ExceptionsFilterDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setModal(True)
--- a/eric6/Debugger/StartDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Debugger/StartDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -79,7 +79,7 @@ data @type dict """ - super(StartDialog, self).__init__(parent) + super().__init__(parent) self.setModal(True) self.dialogType = dialogType
--- a/eric6/Debugger/StartHistoryEditDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Debugger/StartHistoryEditDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param parent reference to the parent widget @type QWidget """ - super(StartHistoryEditDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.historyList.addItems(history)
--- a/eric6/Debugger/VariableDetailDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Debugger/VariableDetailDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param vtype the variables type (string) @param value the variables value (string) """ - super(VariableDetailDialog, self).__init__() + super().__init__() self.setupUi(self) # set the different fields
--- a/eric6/Debugger/VariablesFilterDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Debugger/VariablesFilterDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param name name of this dialog (string) @param modal flag to indicate a modal dialog (boolean) """ - super(VariablesFilterDialog, self).__init__(parent) + super().__init__(parent) if name: self.setObjectName(name) self.setModal(modal)
--- a/eric6/Debugger/VariablesViewer.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Debugger/VariablesViewer.py Sat Apr 10 18:38:27 2021 +0200 @@ -263,7 +263,7 @@ variables @type bool """ - super(VariablesModel, self).__init__() + super().__init__() self.treeView = treeView self.proxyModel = treeView.proxyModel @@ -865,7 +865,7 @@ @param parent the parent model index @type QModelIndex """ - super(VariablesProxyModel, self).__init__(parent) + super().__init__(parent) self.setSortRole(SORT_ROLE) def hasChildren(self, parent): @@ -928,7 +928,7 @@ @param parent the parent @type QWidget """ - super(VariablesViewer, self).__init__(parent) + super().__init__(parent) self.__debugViewer = viewer self.__globalScope = globalScope @@ -1046,7 +1046,7 @@ @type int """ self.varModel.getMore() - super(VariablesViewer, self).verticalScrollbarValueChanged(value) + super().verticalScrollbarValueChanged(value) def resizeEvent(self, event): """ @@ -1056,7 +1056,7 @@ @type QResizeEvent """ self.varModel.getMore() - super(VariablesViewer, self).resizeEvent(event) + super().resizeEvent(event) def __itemDoubleClicked(self, index): """
--- a/eric6/Debugger/WatchPointModel.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Debugger/WatchPointModel.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param parent reference to the parent widget (QObject) """ - super(WatchPointModel, self).__init__(parent) + super().__init__(parent) self.watchpoints = [] self.header = [
--- a/eric6/Debugger/WatchPointViewer.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Debugger/WatchPointViewer.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param parent the parent (QWidget) """ - super(WatchPointViewer, self).__init__(parent) + super().__init__(parent) self.setObjectName("WatchExpressionViewer") self.__model = None @@ -65,7 +65,7 @@ self.sortingModel = QSortFilterProxyModel() self.sortingModel.setDynamicSortFilter(True) self.sortingModel.setSourceModel(self.__model) - super(WatchPointViewer, self).setModel(self.sortingModel) + super().setModel(self.sortingModel) header = self.header() header.setSortIndicator(0, Qt.SortOrder.AscendingOrder)
--- a/eric6/E5Graphics/E5ArrowItem.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Graphics/E5ArrowItem.py Sat Apr 10 18:38:27 2021 +0200 @@ -43,7 +43,7 @@ @param parent reference to the parent object @type QGraphicsItem """ - super(E5ArrowItem, self).__init__(parent) + super().__init__(parent) self._origin = QPointF() if origin is None else QPointF(origin) self._end = QPointF() if end is None else QPointF(end)
--- a/eric6/E5Graphics/E5GraphicsView.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Graphics/E5GraphicsView.py Sat Apr 10 18:38:27 2021 +0200 @@ -42,7 +42,7 @@ @param scene reference to the scene object (QGraphicsScene) @param parent parent widget (QWidget) """ - super(E5GraphicsView, self).__init__(scene, parent) + super().__init__(scene, parent) self.setObjectName("E5GraphicsView") self.__initialSceneSize = self.scene().sceneRect().size()
--- a/eric6/E5Gui/E5Action.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5Action.py Sat Apr 10 18:38:27 2021 +0200 @@ -89,7 +89,7 @@ 7 + incr, len(args))) parent = args[4 + incr] - super(E5Action, self).__init__(parent) + super().__init__(parent) name = args[5 + incr] if name: self.setObjectName(name) @@ -153,7 +153,7 @@ @param shortcut the accelerator (QKeySequence) """ - super(E5Action, self).setShortcut(shortcut) + super().setShortcut(shortcut) self.__ammendToolTip() def setShortcuts(self, shortcuts): @@ -164,7 +164,7 @@ or key for a platform dependent list of accelerators (QKeySequence.StandardKey) """ - super(E5Action, self).setShortcuts(shortcuts) + super().setShortcuts(shortcuts) self.__ammendToolTip() def setIconText(self, text): @@ -173,7 +173,7 @@ @param text new icon text (string) """ - super(E5Action, self).setIconText(text) + super().setIconText(text) self.__ammendToolTip() def __ammendToolTip(self):
--- a/eric6/E5Gui/E5AnimatedLabel.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5AnimatedLabel.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @keyparam interval interval in milliseconds between animation frames @type int """ - super(E5AnimatedLabel, self).__init__(parent) + super().__init__(parent) self.__timer = QTimer(self) self.__timer.setInterval(interval) @@ -75,7 +75,7 @@ """ if self.__animationFileLoaded: self.__currentFrame = (self.__currentFrame + 1) % self.__frames - super(E5AnimatedLabel, self).setPixmap(self.__pixmap.copy( + super().setPixmap(self.__pixmap.copy( self.__currentFrame * self.__pixmapHeight, 0, self.__pixmapHeight, @@ -177,4 +177,4 @@ @type QPixmap """ self.stop() - super(E5AnimatedLabel, self).setPixmap(pixmap) + super().setPixmap(pixmap)
--- a/eric6/E5Gui/E5AnimatedWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5AnimatedWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param parent reference to the parent widget @type QWidget """ - super(E5AnimatedWidget, self).__init__(parent) + super().__init__(parent) self.__direction = direction self.__stepHeight = 0.0 @@ -118,4 +118,4 @@ if evt.size().width() != self.__widget.width(): self.__widget.resize(evt.size().width(), self.__widget.height()) - super(E5AnimatedWidget, self).resizeEvent(evt) + super().resizeEvent(evt)
--- a/eric6/E5Gui/E5Application.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5Application.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param argv command line arguments @type list """ - super(E5Application, self).__init__(argv) + super().__init__(argv) QCoreApplication.setAttribute( Qt.ApplicationAttribute.AA_DontCreateNativeWidgetSiblings, True)
--- a/eric6/E5Gui/E5ClickableLabel.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5ClickableLabel.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @param parent reference to the parent widget (QWidget) """ - super(E5ClickableLabel, self).__init__(parent) + super().__init__(parent) self.setCursor(Qt.CursorShape.PointingHandCursor) @@ -53,4 +53,4 @@ ): self.middleClicked.emit(evt.globalPos()) else: - super(E5ClickableLabel, self).mouseReleaseEvent(evt) + super().mouseReleaseEvent(evt)
--- a/eric6/E5Gui/E5ComboBox.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5ComboBox.py Sat Apr 10 18:38:27 2021 +0200 @@ -21,7 +21,7 @@ @param parent reference to the parent widget (QWidget) @param inactiveText text to be shown on inactivity (string) """ - super(E5ComboBox, self).__init__(parent) + super().__init__(parent) self.setMinimumHeight(24) @@ -59,7 +59,7 @@ @param parent reference to the parent widget (QWidget) @param inactiveText text to be shown on inactivity (string) """ - super(E5ClearableComboBox, self).__init__(parent, inactiveText) + super().__init__(parent, inactiveText) from .E5LineEdit import E5ClearableLineEdit self.__lineedit = E5ClearableLineEdit(self, inactiveText)
--- a/eric6/E5Gui/E5ComboSelectionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5ComboSelectionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param parent reference to the parent widget (defaults to None) @type QWidget (optional) """ - super(E5ComboSelectionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) for entry in entries:
--- a/eric6/E5Gui/E5Completers.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5Completers.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param showHidden flag indicating to show hidden entries as well (boolean) """ - super(E5FileCompleter, self).__init__(parent) + super().__init__(parent) self.__model = QFileSystemModel(self) if showHidden: self.__model.setFilter(QDir.Filters( @@ -91,7 +91,7 @@ @param showHidden flag indicating to show hidden entries as well (boolean) """ - super(E5DirCompleter, self).__init__(parent) + super().__init__(parent) self.__model = QFileSystemModel(self) if showHidden: self.__model.setFilter(QDir.Filters( @@ -145,7 +145,7 @@ @param completionMode completion mode of the completer (QCompleter.CompletionMode) """ - super(E5StringListCompleter, self).__init__(parent) + super().__init__(parent) self.__model = QStringListModel( [] if strings is None else strings[:], parent)
--- a/eric6/E5Gui/E5ErrorMessage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5ErrorMessage.py Sat Apr 10 18:38:27 2021 +0200 @@ -71,7 +71,7 @@ @param parent reference to the parent widget @type QWidget """ - super(E5ErrorMessage, self).__init__(parent) + super().__init__(parent) def showMessage(self, message, msgType=""): """ @@ -84,9 +84,9 @@ """ if not filterMessage(message): if msgType: - super(E5ErrorMessage, self).showMessage(message, msgType) + super().showMessage(message, msgType) else: - super(E5ErrorMessage, self).showMessage(message) + super().showMessage(message) def editMessageFilters(self): """
--- a/eric6/E5Gui/E5ErrorMessageFilterDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5ErrorMessageFilterDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param parent reference to the parent widget @type QWidget """ - super(E5ErrorMessageFilterDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.filtersEditWidget.setList(messageFilters)
--- a/eric6/E5Gui/E5FileSaveConfirmDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5FileSaveConfirmDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -35,7 +35,7 @@ @param parent reference to the parent widget @type QWidget """ - super(E5FileSaveConfirmDialog, self).__init__(parent) + super().__init__(parent) self.setMinimumWidth(400)
--- a/eric6/E5Gui/E5GenericDiffHighlighter.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5GenericDiffHighlighter.py Sat Apr 10 18:38:27 2021 +0200 @@ -37,7 +37,7 @@ @param doc reference to the text document (QTextDocument) """ - super(E5GenericDiffHighlighter, self).__init__(doc) + super().__init__(doc) self.regenerateRules()
--- a/eric6/E5Gui/E5Led.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5Led.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param shape shape of the LED (E5LedCircular, E5LedRectangular) @param rectRatio ratio width to height, if shape is rectangular (float) """ - super(E5Led, self).__init__(parent) + super().__init__(parent) if color is None: color = QColor("green") @@ -296,7 +296,7 @@ @param shape shape of the LED (E5LedCircular, E5LedRectangular) @param rectRatio ratio width to height, if shape is rectangular (float) """ - super(E5ClickableLed, self).__init__(parent, color, shape, rectRatio) + super().__init__(parent, color, shape, rectRatio) self.setCursor(Qt.CursorShape.PointingHandCursor) @@ -320,4 +320,4 @@ ): self.middleClicked.emit(evt.globalPos()) else: - super(E5ClickableLed, self).mouseReleaseEvent(evt) + super().mouseReleaseEvent(evt)
--- a/eric6/E5Gui/E5LineEdit.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5LineEdit.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param parent reference to the parent widget (QWidget) """ - super(E5LineEditSideWidget, self).__init__(parent) + super().__init__(parent) def event(self, evt): """ @@ -58,7 +58,7 @@ @param parent reference to the parent widget (QWidget) @param inactiveText text to be shown on inactivity (string) """ - super(E5LineEdit, self).__init__(parent) + super().__init__(parent) self.setMinimumHeight(22) @@ -266,7 +266,7 @@ if side not in [E5LineEdit.RightSide, E5LineEdit.LeftSide]: raise ValueError("Bad value for 'side' parameter.") - super(E5ClearableLineEdit, self).__init__(parent, inactiveText) + super().__init__(parent, inactiveText) from E5Gui.E5LineEditButton import E5LineEditButton self.__clearButton = E5LineEditButton(self)
--- a/eric6/E5Gui/E5LineEditButton.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5LineEditButton.py Sat Apr 10 18:38:27 2021 +0200 @@ -22,7 +22,7 @@ @param parent reference to the parent widget (QWidget) """ - super(E5LineEditButton, self).__init__(parent) + super().__init__(parent) self.__menu = None self.__image = None @@ -60,7 +60,7 @@ self.__image = None else: self.__image = icon.pixmap(16, 16).toImage() - super(E5LineEditButton, self).setIcon(icon) + super().setIcon(icon) def __clicked(self): """
--- a/eric6/E5Gui/E5ListSelectionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5ListSelectionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -40,7 +40,7 @@ @param parent reference to the parent widget @type QWidget """ - super(E5ListSelectionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) if title:
--- a/eric6/E5Gui/E5ListView.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5ListView.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ self.removeSelected() evt.setAccepted(True) else: - super(E5ListView, self).keyPressEvent(evt) + super().keyPressEvent(evt) def removeSelected(self): """
--- a/eric6/E5Gui/E5MainWindow.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5MainWindow.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param parent reference to the parent widget (QWidget) """ - super(E5MainWindow, self).__init__(parent) + super().__init__(parent) self.defaultStyleName = QApplication.style().objectName()
--- a/eric6/E5Gui/E5MapWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5MapWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -22,7 +22,7 @@ @param parent reference to the parent widget (QWidget) """ - super(E5MapWidget, self).__init__(parent) + super().__init__(parent) self.setAttribute(Qt.WidgetAttribute.WA_OpaquePaintEvent) self.__width = 14
--- a/eric6/E5Gui/E5MessageBox.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5MessageBox.py Sat Apr 10 18:38:27 2021 +0200 @@ -78,7 +78,7 @@ @param buttons set of standard buttons to generate (StandardButtons) @param parent parent widget of the message box (QWidget) """ - super(E5MessageBox, self).__init__(parent) + super().__init__(parent) self.setIcon(icon) if modal: if parent is not None:
--- a/eric6/E5Gui/E5ModelMenu.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5ModelMenu.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param parent reference to the parent widget (QWidget) """ - super(E5ModelMenu, self).__init__(parent) + super().__init__(parent) self.__maxRows = -1 self.__firstSeparator = -1 @@ -317,7 +317,7 @@ if evt.mimeData().hasFormat(mimeType): evt.acceptProposedAction() - super(E5ModelMenu, self).dragEnterEvent(evt) + super().dragEnterEvent(evt) def dropEvent(self, evt): """ @@ -333,7 +333,7 @@ else: idx = self.index(act) if not idx.isValid(): - super(E5ModelMenu, self).dropEvent(evt) + super().dropEvent(evt) return row = idx.row() @@ -348,7 +348,7 @@ row, 0, parentIndex) self.close() - super(E5ModelMenu, self).dropEvent(evt) + super().dropEvent(evt) def mousePressEvent(self, evt): """ @@ -358,7 +358,7 @@ """ if evt.button() == Qt.MouseButton.LeftButton: self.__dragStartPosition = evt.pos() - super(E5ModelMenu, self).mousePressEvent(evt) + super().mousePressEvent(evt) def mouseMoveEvent(self, evt): """ @@ -367,31 +367,31 @@ @param evt reference to the event (QMouseEvent) """ if self.__model is None: - super(E5ModelMenu, self).mouseMoveEvent(evt) + super().mouseMoveEvent(evt) return if not (evt.buttons() & Qt.MouseButton.LeftButton): - super(E5ModelMenu, self).mouseMoveEvent(evt) + super().mouseMoveEvent(evt) return if self.__dragStartPosition.isNull(): - super(E5ModelMenu, self).mouseMoveEvent(evt) + super().mouseMoveEvent(evt) return manhattanLength = (evt.pos() - self.__dragStartPosition).manhattanLength() if manhattanLength <= QApplication.startDragDistance(): - super(E5ModelMenu, self).mouseMoveEvent(evt) + super().mouseMoveEvent(evt) return act = self.actionAt(self.__dragStartPosition) if act is None: - super(E5ModelMenu, self).mouseMoveEvent(evt) + super().mouseMoveEvent(evt) return idx = self.index(act) if not idx.isValid(): - super(E5ModelMenu, self).mouseMoveEvent(evt) + super().mouseMoveEvent(evt) return drag = QDrag(self) @@ -422,7 +422,7 @@ if evt.button() == Qt.MouseButton.LeftButton: self.__dragStartPosition = QPoint() - super(E5ModelMenu, self).mouseReleaseEvent(evt) + super().mouseReleaseEvent(evt) def resetFlags(self): """
--- a/eric6/E5Gui/E5ModelToolBar.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5ModelToolBar.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,9 +28,9 @@ @param parent reference to the parent widget (QWidget) """ if title is not None: - super(E5ModelToolBar, self).__init__(title, parent) + super().__init__(title, parent) else: - super(E5ModelToolBar, self).__init__(parent) + super().__init__(parent) self.__model = None @@ -193,7 +193,7 @@ if evt.mimeData().hasFormat(mimeType): evt.acceptProposedAction() - super(E5ModelToolBar, self).dragEnterEvent(evt) + super().dragEnterEvent(evt) def dropEvent(self, evt): """ @@ -222,7 +222,7 @@ self.__model.dropMimeData(evt.mimeData(), evt.dropAction(), row, 0, parentIndex) - super(E5ModelToolBar, self).dropEvent(evt) + super().dropEvent(evt) def mouseMoveEvent(self, evt): """ @@ -232,22 +232,22 @@ @exception RuntimeError raised to indicate an invalid model index """ if self.__model is None: - super(E5ModelToolBar, self).mouseMoveEvent(evt) + super().mouseMoveEvent(evt) return if not (evt.buttons() & Qt.MouseButton.LeftButton): - super(E5ModelToolBar, self).mouseMoveEvent(evt) + super().mouseMoveEvent(evt) return manhattanLength = (evt.pos() - self.__dragStartPosition).manhattanLength() if manhattanLength <= QApplication.startDragDistance(): - super(E5ModelToolBar, self).mouseMoveEvent(evt) + super().mouseMoveEvent(evt) return act = self.actionAt(self.__dragStartPosition) if act is None: - super(E5ModelToolBar, self).mouseMoveEvent(evt) + super().mouseMoveEvent(evt) return idx = self.index(act) @@ -272,7 +272,7 @@ @param evt reference to the hide event (QHideEvent) """ self.clear() - super(E5ModelToolBar, self).hideEvent(evt) + super().hideEvent(evt) def showEvent(self, evt): """ @@ -282,7 +282,7 @@ """ if len(self.actions()) == 0: self._build() - super(E5ModelToolBar, self).showEvent(evt) + super().showEvent(evt) def resetFlags(self): """
--- a/eric6/E5Gui/E5OverrideCursor.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5OverrideCursor.py Sat Apr 10 18:38:27 2021 +0200 @@ -119,7 +119,7 @@ @param cursorShape shape of the override cursor @type Qt.CursorShape """ - super(E5OverrideCursorProcess, self).__init__(parent) + super().__init__(parent) self.__cursorShape = cursorShape
--- a/eric6/E5Gui/E5PassivePopup.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5PassivePopup.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param parent reference to the parent widget (QWidget) """ - super(E5PassivePopup, self).__init__(None) + super().__init__(None) self.__popupStyle = DEFAULT_POPUP_TYPE self.__msgView = None @@ -75,7 +75,7 @@ @param visible flag indicating the visibility status (boolean) """ if not visible: - super(E5PassivePopup, self).setVisible(visible) + super().setVisible(visible) return if self.size() != self.sizeHint(): @@ -85,7 +85,7 @@ self.__positionSelf() else: self.move(self.__fixedPosition) - super(E5PassivePopup, self).setVisible(True) + super().setVisible(True) delay = self.__hideDelay if delay < 0: @@ -101,7 +101,7 @@ """ if p is not None: self.__fixedPosition = p - super(E5PassivePopup, self).show() + super().show() def setTimeout(self, delay): """
--- a/eric6/E5Gui/E5PasswordMeter.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5PasswordMeter.py Sat Apr 10 18:38:27 2021 +0200 @@ -22,10 +22,10 @@ @param parent reference to the parent widget (QWidget) """ - super(E5PasswordMeter, self).__init__(parent) + super().__init__(parent) - super(E5PasswordMeter, self).setTextVisible(False) - super(E5PasswordMeter, self).setMaximum(100) + super().setTextVisible(False) + super().setMaximum(100) self.__increment = 100 // (PasswordChecker.Complexity_VeryStrong + 1) self.__indicatorColors = [ @@ -58,7 +58,7 @@ strength = PasswordChecker().checkPassword(password) self.setStyleSheet(self.__styleSheetTemplate.format( self.__indicatorColors[strength])) - super(E5PasswordMeter, self).setValue( + super().setValue( (strength + 1) * self.__increment) def setValue(self, value):
--- a/eric6/E5Gui/E5PathPicker.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5PathPicker.py Sat Apr 10 18:38:27 2021 +0200 @@ -69,7 +69,7 @@ @param useLineEdit flag indicating the use of a line edit @type bool """ - super(E5PathPickerBase, self).__init__(parent) + super().__init__(parent) self.__lineEditKind = useLineEdit @@ -684,7 +684,7 @@ @param parent reference to the parent widget @type QWidget """ - super(E5PathPicker, self).__init__(parent, useLineEdit=True) + super().__init__(parent, useLineEdit=True) class E5ComboPathPicker(E5PathPickerBase): @@ -699,7 +699,7 @@ @param parent reference to the parent widget @type QWidget """ - super(E5ComboPathPicker, self).__init__(parent, useLineEdit=False) + super().__init__(parent, useLineEdit=False) def getPathItems(self): """
--- a/eric6/E5Gui/E5PathPickerDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5PathPickerDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param parent reference to the parent widget @type QWidget """ - super(E5PathPickerDialog, self).__init__(parent) + super().__init__(parent) self.setMinimumWidth(400)
--- a/eric6/E5Gui/E5PlainTextDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5PlainTextDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @param parent reference to the parent widget @type QWidget """ - super(E5PlainTextDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.copyButton = self.buttonBox.addButton(
--- a/eric6/E5Gui/E5ProcessDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5ProcessDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -45,7 +45,7 @@ @param parent reference to the parent widget @type QWidget """ - super(E5ProcessDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button( @@ -311,4 +311,4 @@ evt.accept() return - super(E5ProcessDialog, self).keyPressEvent(evt) + super().keyPressEvent(evt)
--- a/eric6/E5Gui/E5ProgressDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5ProgressDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ """ if flags is None: flags = Qt.WindowFlags() - super(E5ProgressDialog, self).__init__( + super().__init__( labelText, cancelButtonText, minimum, maximum, parent, flags) self.__progressBar = QProgressBar(self)
--- a/eric6/E5Gui/E5SideBar.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5SideBar.py Sat Apr 10 18:38:27 2021 +0200 @@ -41,7 +41,7 @@ (integer) @param parent parent widget (QWidget) """ - super(E5SideBar, self).__init__(parent) + super().__init__(parent) self.__tabBar = QTabBar() self.__tabBar.setDrawBase(True)
--- a/eric6/E5Gui/E5SimpleHelpDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5SimpleHelpDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param parent reference to the parent widget @type QWidget """ - super(E5SimpleHelpDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/E5Gui/E5SqueezeLabels.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5SqueezeLabels.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param parent reference to the parent Widget (QWidget) """ - super(E5SqueezeLabel, self).__init__(parent) + super().__init__(parent) self.__text = '' self.__elided = '' @@ -43,10 +43,10 @@ if pixelLength > self.contentsRect().width(): self.__elided = fm.elidedText( self.text(), Qt.TextElideMode.ElideMiddle, self.width()) - super(E5SqueezeLabel, self).setText(self.__elided) + super().setText(self.__elided) else: - super(E5SqueezeLabel, self).setText(self.__text) - super(E5SqueezeLabel, self).paintEvent(event) + super().setText(self.__text) + super().paintEvent(event) def setText(self, txt): """ @@ -55,7 +55,7 @@ @param txt the text to be shown (string) """ self.__text = txt - super(E5SqueezeLabel, self).setText(self.__text) + super().setText(self.__text) class E5SqueezeLabelPath(QLabel): @@ -68,7 +68,7 @@ @param parent reference to the parent Widget (QWidget) """ - super(E5SqueezeLabelPath, self).__init__(parent) + super().__init__(parent) self.__path = '' self.__surrounding = "{0}" @@ -81,7 +81,7 @@ (string) """ self.__surrounding = surrounding - super(E5SqueezeLabelPath, self).setText( + super().setText( self.__surrounding.format(self.__path)) def setPath(self, path): @@ -91,7 +91,7 @@ @param path path to be shown (string) """ self.__path = path - super(E5SqueezeLabelPath, self).setText( + super().setText( self.__surrounding.format(self.__path)) def setTextPath(self, surrounding, path): @@ -104,7 +104,7 @@ """ self.__surrounding = surrounding self.__path = path - super(E5SqueezeLabelPath, self).setText( + super().setText( self.__surrounding.format(self.__path)) def paintEvent(self, event): @@ -114,15 +114,15 @@ @param event reference to the paint event (QPaintEvent) """ if self.length(self.__path) > self.contentsRect().width(): - super(E5SqueezeLabelPath, self).setText( + super().setText( self.__surrounding.format(compactPath(self.__path, self.contentsRect().width(), self.length)) ) else: - super(E5SqueezeLabelPath, self).setText( + super().setText( self.__surrounding.format(self.__path)) - super(E5SqueezeLabelPath, self).paintEvent(event) + super().paintEvent(event) def length(self, txt): """
--- a/eric6/E5Gui/E5StringListEditWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5StringListEditWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @param parent reference to the parent widget (QWidget) """ - super(E5StringListEditWidget, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__model = QStringListModel(self)
--- a/eric6/E5Gui/E5TabWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5TabWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param parent reference to the parent widget (QWidget) """ - super(E5WheelTabBar, self).__init__(parent) + super().__init__(parent) self._tabWidget = parent def wheelEvent(self, event): @@ -147,7 +147,7 @@ @param parent reference to the parent widget (QWidget) @param dnd flag indicating the support for Drag & Drop (boolean) """ - super(E5TabWidget, self).__init__(parent) + super().__init__(parent) if dnd: if not hasattr(self, 'setMovable'):
--- a/eric6/E5Gui/E5TableView.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5TableView.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ self.removeSelected() evt.setAccepted(True) else: - super(E5TableView, self).keyPressEvent(evt) + super().keyPressEvent(evt) def removeSelected(self): """
--- a/eric6/E5Gui/E5TextEditSearchWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5TextEditSearchWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ line. @type bool """ - super(E5TextEditSearchWidget, self).__init__(parent) + super().__init__(parent) self.__setupUi(widthForHeight) self.__textedit = None
--- a/eric6/E5Gui/E5TextInputDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5TextInputDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param parent reference to the parent widget @type QWidget """ - super(E5TextInputDialog, self).__init__(parent) + super().__init__(parent) self.setMaximumWidth(600)
--- a/eric6/E5Gui/E5TextSpinBox.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5TextSpinBox.py Sat Apr 10 18:38:27 2021 +0200 @@ -20,7 +20,7 @@ @param parent reference to the parent widget (QWidget) """ - super(E5TextSpinBox, self).__init__(parent) + super().__init__(parent) self.__items = []
--- a/eric6/E5Gui/E5ToolBarDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5ToolBarDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -56,7 +56,7 @@ (E5ToolBarManager) @param parent reference to the parent widget (QWidget) """ - super(E5ToolBarDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__manager = toolBarManager
--- a/eric6/E5Gui/E5ToolBarManager.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5ToolBarManager.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param ui reference to the user interface object (UI.UserInterface) @param parent reference to the parent object (QObject) """ - super(E5ToolBarManager, self).__init__(parent) + super().__init__(parent) self.__mainWindow = None self.__ui = ui
--- a/eric6/E5Gui/E5ToolBox.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5ToolBox.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param parent reference to the parent widget (QWidget) """ - super(E5VerticalToolBox, self).__init__(parent) + super().__init__(parent) class E5HorizontalToolBox(E5TabWidget):
--- a/eric6/E5Gui/E5ToolButton.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5ToolButton.py Sat Apr 10 18:38:27 2021 +0200 @@ -43,7 +43,7 @@ @param parent reference to the parent widget @type QWidget """ - super(E5ToolButton, self).__init__(parent) + super().__init__(parent) self.setMinimumWidth(16) @@ -214,7 +214,7 @@ self.setDown(True) self.__showMenu() else: - super(E5ToolButton, self).mousePressEvent(evt) + super().mousePressEvent(evt) def mouseReleaseEvent(self, evt): """ @@ -239,7 +239,7 @@ self.controlClicked.emit() self.setDown(False) else: - super(E5ToolButton, self).mouseReleaseEvent(evt) + super().mouseReleaseEvent(evt) def mouseDoubleClickEvent(self, evt): """ @@ -248,7 +248,7 @@ @param evt reference to the mouse event @type QMouseEvent """ - super(E5ToolButton, self).mouseDoubleClickEvent(evt) + super().mouseDoubleClickEvent(evt) self.__pressTimer.stop() @@ -266,7 +266,7 @@ if self.__menu is not None: return - super(E5ToolButton, self).contextMenuEvent(evt) + super().contextMenuEvent(evt) ################################################################## ## Methods to handle the tool button badge
--- a/eric6/E5Gui/E5TreeSortFilterProxyModel.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5TreeSortFilterProxyModel.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param parent reference to the parent object (QObject) """ - super(E5TreeSortFilterProxyModel, self).__init__(parent) + super().__init__(parent) self.setFilterCaseSensitivity(Qt.CaseSensitivity.CaseInsensitive)
--- a/eric6/E5Gui/E5TreeView.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5TreeView.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ self.removeSelected() evt.setAccepted(True) else: - super(E5TreeView, self).keyPressEvent(evt) + super().keyPressEvent(evt) def removeSelected(self): """
--- a/eric6/E5Gui/E5TreeWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5TreeWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ @param parent reference to the parent widget (QWidget) """ - super(E5TreeWidget, self).__init__(parent) + super().__init__(parent) self.__refreshAllItemsNeeded = True self.__allTreeItems = [] @@ -135,7 +135,7 @@ @param item item to be added as a top level item (QTreeWidgetItem) """ self.__allTreeItems.append(item) - super(E5TreeWidget, self).addTopLevelItem(item) + super().addTopLevelItem(item) def addTopLevelItems(self, items): """ @@ -145,7 +145,7 @@ (list of QTreeWidgetItem) """ self.__allTreeItems.extend(items) - super(E5TreeWidget, self).addTopLevelItems(items) + super().addTopLevelItems(items) def insertTopLevelItem(self, index, item): """ @@ -155,7 +155,7 @@ @param item item to be inserted as a top level item (QTreeWidgetItem) """ self.__allTreeItems.append(item) - super(E5TreeWidget, self).insertTopLevelItem(index, item) + super().insertTopLevelItem(index, item) def insertTopLevelItems(self, index, items): """ @@ -166,7 +166,7 @@ (list of QTreeWidgetItem) """ self.__allTreeItems.extend(items) - super(E5TreeWidget, self).insertTopLevelItems(index, items) + super().insertTopLevelItems(index, items) def deleteItem(self, item): """ @@ -236,7 +236,7 @@ Public slot to clear the tree. """ self.__allTreeItems = [] - super(E5TreeWidget, self).clear() + super().clear() def __scheduleRefresh(self): """ @@ -260,7 +260,7 @@ self.itemMiddleButtonClicked.emit(self.itemAt(evt.pos())) return else: - super(E5TreeWidget, self).mousePressEvent(evt) + super().mousePressEvent(evt) def __iterateAllItems(self, parent): """
--- a/eric6/E5Gui/E5ZoomWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Gui/E5ZoomWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param resetPix pixmap for the zoom reset button (QPixmap) @param parent reference to the parent widget (QWidget) """ - super(E5ZoomWidget, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.zoomOutLabel.setPixmap(outPix.scaled(16, 16))
--- a/eric6/E5Network/E5Ftp.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Network/E5Ftp.py Sat Apr 10 18:38:27 2021 +0200 @@ -79,7 +79,7 @@ @param proxyAccount accounting info for the proxy (string) @param timeout timeout in seconds for blocking operations (integer) """ - super(E5Ftp, self).__init__() + super().__init__() self.__timeout = timeout @@ -160,10 +160,10 @@ raise E5FtpProxyError( "990 Proxy usage requested, but no proxy host given.") - return super(E5Ftp, self).connect( + return super().connect( self.__proxyHost, self.__proxyPort, self.__timeout) else: - return super(E5Ftp, self).connect( + return super().connect( self.__host, self.__port, self.__timeout) def login(self, user="", password="", acct=""): # secok
--- a/eric6/E5Network/E5GoogleMail.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Network/E5GoogleMail.py Sat Apr 10 18:38:27 2021 +0200 @@ -45,7 +45,7 @@ @param parent reference to the parent widget @type QWidget """ - super(E5GoogleMailAuthBrowser, self).__init__(parent) + super().__init__(parent) self.__layout = QVBoxLayout(self) @@ -113,7 +113,7 @@ @param parent reference to the parent object @type QObject """ - super(E5GoogleMail, self).__init__(parent=parent) + super().__init__(parent=parent) self.__messages = []
--- a/eric6/E5Network/E5NetworkHeaderDetailsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Network/E5NetworkHeaderDetailsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param parent reference to the parent object (QWidget) """ - super(E5NetworkHeaderDetailsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/E5Network/E5NetworkProxyFactory.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Network/E5NetworkProxyFactory.py Sat Apr 10 18:38:27 2021 +0200 @@ -133,7 +133,7 @@ """ Constructor """ - super(E5NetworkProxyFactory, self).__init__() + super().__init__() self.__hostnameMatchers = [] self.__exceptions = ""
--- a/eric6/E5Network/E5RFC6266.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Network/E5RFC6266.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ """ if key in self: raise DuplicateParamError(key) - super(UniqueNamespace, self).__setitem__(key, value) + super().__setitem__(key, value) # RFC 2616 separator_chars = "()<>@,;:\\\"/[]?={} \t" # __IGNORE_WARNING_M613__ @@ -83,7 +83,7 @@ grammar = re.compile(r'"({0}|{1})+"'.format(quoted_pair_re, qdtext_re)) def __str__(self): - s = super(QuotedString, self).__str__() + s = super().__str__() s = s[1:-1] # remove quotes s = re.sub(r'\\(.)', r'\1', s) # drop backslashes return s @@ -137,7 +137,7 @@ regex = re.compile(token_re + r'\*') def __str__(self): - return super(ExtToken, self).__str__().lower() + return super().__str__().lower() class NoExtToken(peg.Symbol): """ @@ -146,7 +146,7 @@ regex = re.compile(token_re + r'(?<!\*)') def __str__(self): - return super(NoExtToken, self).__str__().lower() + return super().__str__().lower() class DispositionParm(str): """
--- a/eric6/E5Network/E5SslCertificateSelectionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Network/E5SslCertificateSelectionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -38,7 +38,7 @@ @param parent reference to the parent widget @type QWidget """ - super(E5SslCertificateSelectionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.viewButton.setIcon(
--- a/eric6/E5Network/E5SslCertificatesDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Network/E5SslCertificatesDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -40,7 +40,7 @@ @param parent reference to the parent widget (QWidget) """ - super(E5SslCertificatesDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.serversViewButton.setIcon(
--- a/eric6/E5Network/E5SslCertificatesInfoDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Network/E5SslCertificatesInfoDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param certificateChain SSL certificate chain (list of QSslCertificate) @param parent reference to the parent widget (QWidget) """ - super(E5SslCertificatesInfoDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.sslWidget.showCertificateChain(certificateChain)
--- a/eric6/E5Network/E5SslCertificatesInfoWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Network/E5SslCertificatesInfoWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @param parent reference to the parent widget (QWidget) """ - super(E5SslCertificatesInfoWidget, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__chain = []
--- a/eric6/E5Network/E5SslErrorHandler.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Network/E5SslErrorHandler.py Sat Apr 10 18:38:27 2021 +0200 @@ -38,7 +38,7 @@ @param parent reference to the parent object (QObject) """ - super(E5SslErrorHandler, self).__init__(parent) + super().__init__(parent) caList = self.__getSystemCaCertificates() if Preferences.Prefs.settings.contains("Help/CaCertificatesDict"):
--- a/eric6/E5Network/E5SslInfoWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Network/E5SslInfoWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param configuration SSL configuration (QSslConfiguration) @param parent reference to the parent widget (QWidget) """ - super(E5SslInfoWidget, self).__init__(parent) + super().__init__(parent) self.__url = QUrl(url) self.__configuration = QSslConfiguration(configuration)
--- a/eric6/E5Network/E5TldExtractor.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Network/E5TldExtractor.py Sat Apr 10 18:38:27 2021 +0200 @@ -52,7 +52,7 @@ @param parent reference to the parent object @type QObject """ - super(E5TldExtractor, self).__init__(parent) + super().__init__(parent) self.__withPrivate = withPrivate self.__dataFileName = ""
--- a/eric6/E5Network/E5XmlRpcClient.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5Network/E5XmlRpcClient.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param url xmlrpc handler URL (string or QUrl) @param parent parent object (QObject) """ - super(E5XmlRpcClient, self).__init__(parent) + super().__init__(parent) # attributes for the network objects self.__networkManager = QNetworkAccessManager(self)
--- a/eric6/E5XML/XMLStreamReaderBase.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5XML/XMLStreamReaderBase.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param device reference to the I/O device to read from (QIODevice) """ - super(XMLStreamReaderBase, self).__init__(device) + super().__init__(device) def toBool(self, value): """
--- a/eric6/E5XML/XMLStreamWriterBase.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/E5XML/XMLStreamWriterBase.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param device reference to the I/O device to write to (QIODevice) """ - super(XMLStreamWriterBase, self).__init__(device) + super().__init__(device) self.basics = { type(None): self._write_none,
--- a/eric6/Graphics/ApplicationDiagramBuilder.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Graphics/ApplicationDiagramBuilder.py Sat Apr 10 18:38:27 2021 +0200 @@ -35,7 +35,7 @@ @param noModules flag indicating, that no module names should be shown (boolean) """ - super(ApplicationDiagramBuilder, self).__init__(dialog, view, project) + super().__init__(dialog, view, project) self.setObjectName("ApplicationDiagram") self.noModules = noModules
--- a/eric6/Graphics/ClassItem.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Graphics/ClassItem.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @param attributes list of attribute names of the class (list of strings) """ - super(ClassModel, self).__init__(name) + super().__init__(name) self.methods = [] if methods is None else methods[:] self.attributes = [] if attributes is None else attributes[:]
--- a/eric6/Graphics/ImportsDiagramBuilder.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Graphics/ImportsDiagramBuilder.py Sat Apr 10 18:38:27 2021 +0200 @@ -40,7 +40,7 @@ @param showExternalImports flag indicating to show exports from outside the package (boolean) """ - super(ImportsDiagramBuilder, self).__init__(dialog, view, project) + super().__init__(dialog, view, project) self.setObjectName("ImportsDiagram") self.showExternalImports = showExternalImports
--- a/eric6/Graphics/ModuleItem.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Graphics/ModuleItem.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param name the module name (string) @param classlist list of class names (list of strings) """ - super(ModuleModel, self).__init__(name) + super().__init__(name) self.classlist = [] if classlist is None else classlist[:]
--- a/eric6/Graphics/PackageDiagramBuilder.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Graphics/PackageDiagramBuilder.py Sat Apr 10 18:38:27 2021 +0200 @@ -36,7 +36,7 @@ @param noAttrs flag indicating, that no attributes should be shown (boolean) """ - super(PackageDiagramBuilder, self).__init__(dialog, view, project) + super().__init__(dialog, view, project) self.setObjectName("PackageDiagram") self.package = os.path.abspath(package)
--- a/eric6/Graphics/PackageItem.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Graphics/PackageItem.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param name package name (string) @param moduleslist list of module names (list of strings) """ - super(PackageModel, self).__init__(name) + super().__init__(name) self.moduleslist = [] if moduleslist is None else moduleslist[:]
--- a/eric6/Graphics/PixmapDiagram.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Graphics/PixmapDiagram.py Sat Apr 10 18:38:27 2021 +0200 @@ -44,7 +44,7 @@ @param parent parent widget of the view (QWidget) @param name name of the view widget (string) """ - super(PixmapDiagram, self).__init__(parent) + super().__init__(parent) if name: self.setObjectName(name) else: @@ -194,7 +194,7 @@ evt.accept() return - super(PixmapDiagram, self).wheelEvent(evt) + super().wheelEvent(evt) def event(self, evt): """ @@ -207,7 +207,7 @@ self.gestureEvent(evt) return True - return super(PixmapDiagram, self).event(evt) + return super().event(evt) def gestureEvent(self, evt): """
--- a/eric6/Graphics/SvgDiagram.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Graphics/SvgDiagram.py Sat Apr 10 18:38:27 2021 +0200 @@ -42,7 +42,7 @@ @param parent parent widget of the view (QWidget) @param name name of the view widget (string) """ - super(SvgDiagram, self).__init__(parent) + super().__init__(parent) if name: self.setObjectName(name) else: @@ -164,7 +164,7 @@ evt.accept() return - super(SvgDiagram, self).wheelEvent(evt) + super().wheelEvent(evt) def event(self, evt): """ @@ -177,7 +177,7 @@ self.gestureEvent(evt) return True - return super(SvgDiagram, self).event(evt) + return super().event(evt) def gestureEvent(self, evt): """
--- a/eric6/Graphics/UMLClassDiagramBuilder.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Graphics/UMLClassDiagramBuilder.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ @param noAttrs flag indicating, that no attributes should be shown (boolean) """ - super(UMLClassDiagramBuilder, self).__init__(dialog, view, project) + super().__init__(dialog, view, project) self.setObjectName("UMLClassDiagramBuilder") self.file = file
--- a/eric6/Graphics/UMLDiagramBuilder.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Graphics/UMLDiagramBuilder.py Sat Apr 10 18:38:27 2021 +0200 @@ -22,7 +22,7 @@ @param view reference to the view object (UMLGraphicsView) @param project reference to the project object (Project) """ - super(UMLDiagramBuilder, self).__init__(dialog) + super().__init__(dialog) self.umlView = view self.scene = self.umlView.scene()
--- a/eric6/Graphics/UMLDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Graphics/UMLDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -43,7 +43,7 @@ builder (boolean) @keyparam kwargs diagram specific data """ - super(UMLDialog, self).__init__(parent) + super().__init__(parent) self.setObjectName("UMLDialog") self.__diagramType = diagramType @@ -142,7 +142,7 @@ """ if not fromFile and self.builder: self.builder.buildDiagram() - super(UMLDialog, self).show() + super().show() def __relayout(self): """
--- a/eric6/Graphics/UMLGraphicsView.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Graphics/UMLGraphicsView.py Sat Apr 10 18:38:27 2021 +0200 @@ -331,7 +331,7 @@ @param limit flag indicating to limit the scene to the initial size (boolean) """ - super(UMLGraphicsView, self).autoAdjustSceneSize(limit=limit) + super().autoAdjustSceneSize(limit=limit) self.__checkSizeActions() def saveImage(self): @@ -362,7 +362,7 @@ if not res: return - success = super(UMLGraphicsView, self).saveImage( + success = super().saveImage( fname, QFileInfo(fname).suffix().upper()) if not success: E5MessageBox.critical( @@ -434,7 +434,7 @@ printDialog = QPrintDialog(printer, self) if printDialog.exec(): - super(UMLGraphicsView, self).printDiagram( + super().printDiagram( printer, self.diagramName) def printPreviewDiagram(self): @@ -474,7 +474,7 @@ @param printer reference to the printer object (QPrinter) """ - super(UMLGraphicsView, self).printDiagram(printer, self.diagramName) + super().printDiagram(printer, self.diagramName) def setDiagramName(self, name): """ @@ -611,7 +611,7 @@ evt.accept() return - super(UMLGraphicsView, self).keyPressEvent(evt) + super().keyPressEvent(evt) def wheelEvent(self, evt): """ @@ -628,7 +628,7 @@ evt.accept() return - super(UMLGraphicsView, self).wheelEvent(evt) + super().wheelEvent(evt) def event(self, evt): """ @@ -641,7 +641,7 @@ self.gestureEvent(evt) return True - return super(UMLGraphicsView, self).event(evt) + return super().event(evt) def gestureEvent(self, evt): """
--- a/eric6/Graphics/UMLItem.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Graphics/UMLItem.py Sat Apr 10 18:38:27 2021 +0200 @@ -59,7 +59,7 @@ @param parent reference to the parent object @type QGraphicsItem """ - super(UMLItem, self).__init__(parent) + super().__init__(parent) self.model = model if colors is None: @@ -156,7 +156,7 @@ @param dx relative movement in x-direction (float) @param dy relative movement in y-direction (float) """ - super(UMLItem, self).moveBy(dx, dy) + super().moveBy(dx, dy) self.adjustAssociations() def setPos(self, x, y): @@ -166,7 +166,7 @@ @param x absolute x-position (float) @param y absolute y-position (float) """ - super(UMLItem, self).setPos(x, y) + super().setPos(x, y) self.adjustAssociations() def itemChange(self, change, value):
--- a/eric6/Graphics/UMLSceneSizeDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Graphics/UMLSceneSizeDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param parent parent widget of this dialog (QWidget) @param name name of this widget (string) """ - super(UMLSceneSizeDialog, self).__init__(parent) + super().__init__(parent) if name: self.setObjectName(name) self.setupUi(self)
--- a/eric6/HexEdit/HexEditGotoWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/HexEdit/HexEditGotoWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param parent reference to the parent widget @type QWidget """ - super(HexEditGotoWidget, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__editor = editor @@ -120,7 +120,7 @@ """ self.offsetEdit.selectAll() self.offsetEdit.setFocus() - super(HexEditGotoWidget, self).show() + super().show() def reset(self): """
--- a/eric6/HexEdit/HexEditMainWindow.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/HexEdit/HexEditMainWindow.py Sat Apr 10 18:38:27 2021 +0200 @@ -57,7 +57,7 @@ eric (boolean) @param project reference to the project object (Project) """ - super(HexEditMainWindow, self).__init__(parent) + super().__init__(parent) self.setObjectName("eric6_hex_editor") self.__srHistory = {
--- a/eric6/HexEdit/HexEditSearchReplaceWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/HexEdit/HexEditSearchReplaceWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param parent reference to the parent widget @type QWidget """ - super(HexEditSearchReplaceWidget, self).__init__(parent) + super().__init__(parent) self.__replace = replace self.__editor = editor @@ -461,7 +461,7 @@ self.__showReplace(text) else: self.__showFind(text) - super(HexEditSearchReplaceWidget, self).show() + super().show() self.activateWindow() @pyqtSlot()
--- a/eric6/HexEdit/HexEditUndoStack.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/HexEdit/HexEditUndoStack.py Sat Apr 10 18:38:27 2021 +0200 @@ -40,7 +40,7 @@ @param parent reference to the parent command @type QUndoCommand """ - super(HexEditUndoCommand, self).__init__(parent) + super().__init__(parent) self.__chunks = chunks self._pos = pos @@ -120,7 +120,7 @@ @param parent reference to the parent object @type QObject """ - super(HexEditUndoStack, self).__init__(parent) + super().__init__(parent) self.__chunks = chunks self.__parent = parent
--- a/eric6/HexEdit/HexEditWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/HexEdit/HexEditWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -60,7 +60,7 @@ @param parent refernce to the parent widget @type QWidget """ - super(HexEditWidget, self).__init__(parent) + super().__init__(parent) # Properties self.__addressArea = True @@ -603,7 +603,7 @@ @return font used to show the data @rtype QFont """ - return super(HexEditWidget, self).font() + return super().font() def setFont(self, font): """ @@ -612,7 +612,7 @@ @param font font used to show the data @type QFont """ - super(HexEditWidget, self).setFont(font) + super().setFont(font) try: self.__pxCharWidth = self.fontMetrics().horizontalAdvance("2") except AttributeError:
--- a/eric6/IconEditor/IconEditorGrid.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/IconEditor/IconEditorGrid.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ (QImage) @param parent reference to the parent command (QUndoCommand) """ - super(IconEditCommand, self).__init__(text, parent) + super().__init__(text, parent) self.__grid = grid self.__imageBefore = QImage(oldImage) @@ -121,7 +121,7 @@ @param parent reference to the parent widget (QWidget) """ - super(IconEditorGrid, self).__init__(parent) + super().__init__(parent) self.setAttribute(Qt.WidgetAttribute.WA_StaticContents) self.setSizePolicy(QSizePolicy.Policy.Minimum,
--- a/eric6/IconEditor/IconEditorPalette.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/IconEditor/IconEditorPalette.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ @param parent reference to the parent widget (QWidget) """ - super(IconEditorPalette, self).__init__(parent) + super().__init__(parent) if self.layoutDirection == Qt.Orientation.Horizontal: direction = QBoxLayout.Direction.LeftToRight
--- a/eric6/IconEditor/IconEditorWindow.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/IconEditor/IconEditorWindow.py Sat Apr 10 18:38:27 2021 +0200 @@ -53,7 +53,7 @@ keyboard shortcuts (boolean) @param project reference to the project object (Project) """ - super(IconEditorWindow, self).__init__(parent) + super().__init__(parent) self.setObjectName("eric6_icon_editor") self.fromEric = fromEric @@ -1371,7 +1371,7 @@ evt.accept() return - super(IconEditorWindow, self).wheelEvent(evt) + super().wheelEvent(evt) def event(self, evt): """ @@ -1384,7 +1384,7 @@ self.gestureEvent(evt) return True - return super(IconEditorWindow, self).event(evt) + return super().event(evt) def gestureEvent(self, evt): """
--- a/eric6/IconEditor/IconSizeDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/IconEditor/IconSizeDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param height height to be set (integer) @param parent reference to the parent widget (QWidget) """ - super(IconSizeDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.widthSpin.setValue(width)
--- a/eric6/MicroPython/AddEditDevicesDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MicroPython/AddEditDevicesDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -43,7 +43,7 @@ @param parent reference to the parent widget (defaults to None) @type QWidget (optional) """ - super(AddEditDevicesDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) # populate the device type combo box
--- a/eric6/MicroPython/CircuitPythonDevices.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MicroPython/CircuitPythonDevices.py Sat Apr 10 18:38:27 2021 +0200 @@ -38,7 +38,7 @@ @param parent reference to the parent object @type QObject """ - super(CircuitPythonDevice, self).__init__( + super().__init__( microPythonWidget, deviceType, parent) self.__workspace = self.__findWorkspace() @@ -51,7 +51,7 @@ """ Public method to enable the supported action buttons. """ - super(CircuitPythonDevice, self).setButtons() + super().setButtons() self.microPython.setActionButtons( run=True, repl=True, files=True, chart=HAS_QTCHART) @@ -197,7 +197,7 @@ ) ) - return super(CircuitPythonDevice, self).getWorkspace() + return super().getWorkspace() def addDeviceMenuEntries(self, menu): """
--- a/eric6/MicroPython/ConnectionSelectionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MicroPython/ConnectionSelectionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -37,7 +37,7 @@ @param parent reference to the parent widget (defaults to None) @type QWidget (optional) """ - super(ConnectionSelectionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) for index, (vid, pid, description, portName) in enumerate(
--- a/eric6/MicroPython/EspBackupRestoreFirmwareDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MicroPython/EspBackupRestoreFirmwareDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -61,7 +61,7 @@ @param parent reference to the parent widget @type QWidget """ - super(EspBackupRestoreFirmwareDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__isBackupMode = backupMode
--- a/eric6/MicroPython/EspDevices.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MicroPython/EspDevices.py Sat Apr 10 18:38:27 2021 +0200 @@ -38,13 +38,13 @@ @param parent reference to the parent object @type QObject """ - super(EspDevice, self).__init__(microPythonWidget, deviceType, parent) + super().__init__(microPythonWidget, deviceType, parent) def setButtons(self): """ Public method to enable the supported action buttons. """ - super(EspDevice, self).setButtons() + super().setButtons() self.microPython.setActionButtons( run=True, repl=True, files=True, chart=HAS_QTCHART)
--- a/eric6/MicroPython/EspFirmwareSelectionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MicroPython/EspFirmwareSelectionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -41,7 +41,7 @@ @param parent reference to the parent widget @type QWidget """ - super(EspFirmwareSelectionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__addon = addon
--- a/eric6/MicroPython/GenericMicroPythonDevices.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MicroPython/GenericMicroPythonDevices.py Sat Apr 10 18:38:27 2021 +0200 @@ -38,7 +38,7 @@ @param parent reference to the parent object @type QObject """ - super(GenericMicroPythonDevice, self).__init__( + super().__init__( microPythonWidget, deviceType, parent) self.__directAccess = False @@ -62,7 +62,7 @@ """ Public method to enable the supported action buttons. """ - super(GenericMicroPythonDevice, self).setButtons() + super().setButtons() self.microPython.setActionButtons( run=True, repl=True, files=True, chart=HAS_QTCHART) @@ -169,7 +169,7 @@ self.__workspace = self.__findWorkspace(silent=silent) return self.__workspace else: - return super(GenericMicroPythonDevice, self).getWorkspace() + return super().getWorkspace() def __findWorkspace(self, silent=False): """ @@ -204,4 +204,4 @@ ).format(self.__deviceVolumeName) ) - return super(GenericMicroPythonDevice, self).getWorkspace() + return super().getWorkspace()
--- a/eric6/MicroPython/IgnoredDevicesDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MicroPython/IgnoredDevicesDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param parent reference to the parent widget @type QWidget """ - super(IgnoredDevicesDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.devicesEditWidget.setList([
--- a/eric6/MicroPython/MicroPythonCommandsInterface.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MicroPython/MicroPythonCommandsInterface.py Sat Apr 10 18:38:27 2021 +0200 @@ -63,7 +63,7 @@ @param parent reference to the parent object @type QObject """ - super(MicroPythonCommandsInterface, self).__init__(parent) + super().__init__(parent) self.__repl = parent
--- a/eric6/MicroPython/MicroPythonDevices.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MicroPython/MicroPythonDevices.py Sat Apr 10 18:38:27 2021 +0200 @@ -337,7 +337,7 @@ @param parent reference to the parent object @type QObject """ - super(MicroPythonDevice, self).__init__(parent) + super().__init__(parent) self._deviceType = deviceType self.microPython = microPythonWidget
--- a/eric6/MicroPython/MicroPythonFileManager.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MicroPython/MicroPythonFileManager.py Sat Apr 10 18:38:27 2021 +0200 @@ -70,7 +70,7 @@ @param parent reference to the parent object @type QObject """ - super(MicroPythonFileManager, self).__init__(parent) + super().__init__(parent) self.__commandsInterface = commandsInterface
--- a/eric6/MicroPython/MicroPythonFileManagerWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MicroPython/MicroPythonFileManagerWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -52,7 +52,7 @@ @param parent reference to the parent widget @type QWidget """ - super(MicroPythonFileManagerWidget, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__repl = parent
--- a/eric6/MicroPython/MicroPythonGraphWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MicroPython/MicroPythonGraphWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -43,7 +43,7 @@ @param parent reference to the parent widget @type QWidget """ - super(MicroPythonGraphWidget, self).__init__(parent) + super().__init__(parent) self.__layout = QHBoxLayout() self.__layout.setContentsMargins(2, 2, 2, 2)
--- a/eric6/MicroPython/MicroPythonProgressInfoDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MicroPython/MicroPythonProgressInfoDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param parent reference to the parent widget @type QWidget """ - super(MicroPythonProgressInfoDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) @pyqtSlot(str)
--- a/eric6/MicroPython/MicroPythonSerialPort.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MicroPython/MicroPythonSerialPort.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param parent reference to the parent object @type QObject """ - super(MicroPythonSerialPort, self).__init__(parent) + super().__init__(parent) self.__connected = False self.__timeout = timeout # 10s default timeout
--- a/eric6/MicroPython/MicroPythonWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MicroPython/MicroPythonWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -206,7 +206,7 @@ @param parent reference to the parent widget @type QWidget """ - super(MicroPythonWidget, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__ui = parent @@ -739,7 +739,7 @@ return True else: # standard event processing - return super(MicroPythonWidget, self).eventFilter(obj, evt) + return super().eventFilter(obj, evt) def __replEditMouseReleaseEvent(self, evt): """
--- a/eric6/MicroPython/MicrobitDevices.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MicroPython/MicrobitDevices.py Sat Apr 10 18:38:27 2021 +0200 @@ -39,14 +39,14 @@ @param parent reference to the parent object @type QObject """ - super(MicrobitDevice, self).__init__( + super().__init__( microPythonWidget, deviceType, parent) def setButtons(self): """ Public method to enable the supported action buttons. """ - super(MicrobitDevice, self).setButtons() + super().setButtons() self.microPython.setActionButtons( run=True, repl=True, files=True, chart=HAS_QTCHART)
--- a/eric6/MicroPython/PyBoardDevices.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MicroPython/PyBoardDevices.py Sat Apr 10 18:38:27 2021 +0200 @@ -44,7 +44,7 @@ @param parent reference to the parent object @type QObject """ - super(PyBoardDevice, self).__init__(microPythonWidget, deviceType, + super().__init__(microPythonWidget, deviceType, parent) self.__workspace = self.__findWorkspace() @@ -53,7 +53,7 @@ """ Public method to enable the supported action buttons. """ - super(PyBoardDevice, self).setButtons() + super().setButtons() self.microPython.setActionButtons( run=True, repl=True, files=True, chart=HAS_QTCHART) @@ -199,7 +199,7 @@ ) ) - return super(PyBoardDevice, self).getWorkspace() + return super().getWorkspace() def getDocumentationUrl(self): """
--- a/eric6/MicroPython/RP2040Devices.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MicroPython/RP2040Devices.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,14 +31,14 @@ @param parent reference to the parent object @type QObject """ - super(RP2040Device, self).__init__( + super().__init__( microPythonWidget, deviceType, parent) def setButtons(self): """ Public method to enable the supported action buttons. """ - super(RP2040Device, self).setButtons() + super().setButtons() self.microPython.setActionButtons( run=True, repl=True, files=True, chart=HAS_QTCHART)
--- a/eric6/MicroPython/UF2FlashDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MicroPython/UF2FlashDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -513,7 +513,7 @@ @param parent reference to the parent widget (defaults to None) @type QWidget (optional) """ - super(UF2FlashDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.refreshButton.setIcon(UI.PixmapCache.getIcon("rescan"))
--- a/eric6/MicroPython/UnknownDevicesDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MicroPython/UnknownDevicesDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param parent reference to the parent widget (defaults to None) @type QWidget (optional) """ - super(UnknownDevicesDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__loadDevices()
--- a/eric6/MultiProject/AddProjectDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MultiProject/AddProjectDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -40,7 +40,7 @@ @param category category to be preset @type str """ - super(AddProjectDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.filenamePicker.setMode(E5PathPickerModes.OpenFileMode)
--- a/eric6/MultiProject/MultiProject.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MultiProject/MultiProject.py Sat Apr 10 18:38:27 2021 +0200 @@ -70,7 +70,7 @@ @param filename optional filename of a multi project file to open (string) """ - super(MultiProject, self).__init__(parent) + super().__init__(parent) self.ui = parent self.projectObject = project
--- a/eric6/MultiProject/MultiProjectBrowser.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MultiProject/MultiProjectBrowser.py Sat Apr 10 18:38:27 2021 +0200 @@ -37,7 +37,7 @@ @param parent parent widget @type QWidget """ - super(MultiProjectBrowser, self).__init__(parent) + super().__init__(parent) self.multiProject = multiProject self.project = project
--- a/eric6/MultiProject/MultiProjectFile.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MultiProject/MultiProjectFile.py Sat Apr 10 18:38:27 2021 +0200 @@ -35,7 +35,7 @@ @param parent reference to the parent object (defaults to None) @type QObject (optional) """ - super(MultiProjectFile, self).__init__(parent) + super().__init__(parent) self.__multiProject = multiProject def writeFile(self, filename: str) -> bool:
--- a/eric6/MultiProject/PropertiesDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/MultiProject/PropertiesDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param new flag indicating the generation of a new multi project @param parent parent widget of this dialog (QWidget) """ - super(PropertiesDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.multiProject = multiProject
--- a/eric6/Network/IRC/IrcChannelEditDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Network/IRC/IrcChannelEditDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ channel (boolean) @param parent reference to the parent widget (QWidget) """ - super(IrcChannelEditDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.nameEdit.setText(name)
--- a/eric6/Network/IRC/IrcChannelWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Network/IRC/IrcChannelWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -62,7 +62,7 @@ @param parent reference to the parent widget (QListWidget or QListWidgetItem) """ - super(IrcUserItem, self).__init__(name, parent) + super().__init__(name, parent) self.__privilege = IrcUserItem.Normal self.__name = name @@ -251,7 +251,7 @@ @param parent reference to the parent widget (QWidget) """ - super(IrcChannelWidget, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__ui = e5App().getObject("UserInterface")
--- a/eric6/Network/IRC/IrcIdentitiesEditDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Network/IRC/IrcIdentitiesEditDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -35,7 +35,7 @@ @param identityName name of the identity to be selected (string) @param parent reference to the parent widget (QWidget) """ - super(IrcIdentitiesEditDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.addButton.setIcon(UI.PixmapCache.getIcon("plus")) @@ -85,7 +85,7 @@ self.on_nicknameAddButton_clicked() return True - return super(IrcIdentitiesEditDialog, self).eventFilter(obj, evt) + return super().eventFilter(obj, evt) def __updateIdentitiesButtons(self): """ @@ -490,4 +490,4 @@ self.__refreshCurrentIdentity() self.__manager.setIdentities(self.__identities) - super(IrcIdentitiesEditDialog, self).accept() + super().accept()
--- a/eric6/Network/IRC/IrcMessageEdit.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Network/IRC/IrcMessageEdit.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param side side the clear button should be shown at (E5LineEdit.RightSide, E5LineEdit.LeftSide) """ - super(IrcMessageEdit, self).__init__(parent, inactiveText, side) + super().__init__(parent, inactiveText, side) self.__historyList = [""] # initialize with one empty line self.__historyLine = 0 @@ -42,7 +42,7 @@ @param text text to be set (string) """ - super(IrcMessageEdit, self).setText(text) + super().setText(text) self.setCursorPosition(len(text)) def keyPressEvent(self, evt): @@ -65,7 +65,7 @@ # ^U: clear the text self.setText("") - super(IrcMessageEdit, self).keyPressEvent(evt) + super().keyPressEvent(evt) def wheelEvent(self, evt): """ @@ -79,7 +79,7 @@ elif delta < 0: self.__getHistory(False) - super(IrcMessageEdit, self).wheelEvent(evt) + super().wheelEvent(evt) def __addHistory(self, txt): """
--- a/eric6/Network/IRC/IrcNetworkEditDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Network/IRC/IrcNetworkEditDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ @param networkName name of the network to work on (string) @param parent reference to the parent widget (QWidget) """ - super(IrcNetworkEditDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__manager = manager
--- a/eric6/Network/IRC/IrcNetworkListDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Network/IRC/IrcNetworkListDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param manager reference to the IRC network manager (IrcNetworkManager) @param parent reference to the parent widget (QWidget) """ - super(IrcNetworkListDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__manager = manager
--- a/eric6/Network/IRC/IrcNetworkManager.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Network/IRC/IrcNetworkManager.py Sat Apr 10 18:38:27 2021 +0200 @@ -38,7 +38,7 @@ @param name name of the identity (string) """ - super(IrcIdentity, self).__init__() + super().__init__() self.__name = name self.__realName = "" @@ -293,7 +293,7 @@ @param name name of the server (string) """ - super(IrcServer, self).__init__() + super().__init__() self.__server = name self.__port = IrcServer.DefaultPort @@ -397,7 +397,7 @@ @param name name of the network (string) """ - super(IrcChannel, self).__init__() + super().__init__() self.__name = name self.__key = "" @@ -475,7 +475,7 @@ @param name name of the network (string) """ - super(IrcNetwork, self).__init__() + super().__init__() self.__name = name self.__identity = "" @@ -726,7 +726,7 @@ @param parent reference to the parent object (QObject) """ - super(IrcNetworkManager, self).__init__(parent) + super().__init__(parent) self.__loaded = False self.__saveTimer = AutoSaver(self, self.save)
--- a/eric6/Network/IRC/IrcNetworkWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Network/IRC/IrcNetworkWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -49,7 +49,7 @@ @param parent reference to the parent widget (QWidget) """ - super(IrcNetworkWidget, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.connectButton.setIcon(UI.PixmapCache.getIcon("ircConnect"))
--- a/eric6/Network/IRC/IrcServerEditDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Network/IRC/IrcServerEditDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param server reference to the IRC server object (IrcServer) @param parent reference to the parent widget (QWidget) """ - super(IrcServerEditDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__okButton = self.buttonBox.button(
--- a/eric6/Network/IRC/IrcWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Network/IRC/IrcWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -52,7 +52,7 @@ @param parent reference to the parent widget (QWidget) """ - super(IrcWidget, self).__init__(parent) + super().__init__(parent) self.setupUi(self) from .IrcNetworkManager import IrcNetworkManager
--- a/eric6/PipInterface/Pip.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/PipInterface/Pip.py Sat Apr 10 18:38:27 2021 +0200 @@ -49,7 +49,7 @@ @param parent parent @type QObject """ - super(Pip, self).__init__(parent) + super().__init__(parent) # attributes for the network objects self.__networkManager = QNetworkAccessManager(self)
--- a/eric6/PipInterface/PipDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/PipInterface/PipDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param parent reference to the parent widget @type QWidget """ - super(PipDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button(
--- a/eric6/PipInterface/PipFileSelectionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/PipInterface/PipFileSelectionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -37,7 +37,7 @@ @param parent reference to the parent widget @type QWidget """ - super(PipFileSelectionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) if mode == "requirements":
--- a/eric6/PipInterface/PipFreezeDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/PipInterface/PipFreezeDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -37,7 +37,7 @@ @param parent reference to the parent widget @type QWidget """ - super(PipFreezeDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/PipInterface/PipPackageDetailsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/PipInterface/PipPackageDetailsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -36,7 +36,7 @@ @param parent reference to the parent widget (defaults to None) @type QWidget (optional) """ - super(PipPackageDetailsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/PipInterface/PipPackagesInputDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/PipInterface/PipPackagesInputDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param parent reference to the parent widget @type QWidget """ - super(PipPackagesInputDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowTitle(title)
--- a/eric6/PipInterface/PipPackagesWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/PipInterface/PipPackagesWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -42,7 +42,7 @@ @param data data to be parsed @type str """ - super(PypiSearchResultsParser, self).__init__() + super().__init__() self.__results = [] self.__activeClass = None self.feed(data) @@ -157,7 +157,7 @@ @param parent reference to the parent widget @type QWidget """ - super(PipPackagesWidget, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.pipMenuButton.setObjectName(
--- a/eric6/PluginManager/PluginDetailsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/PluginManager/PluginDetailsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param details dictionary containing the info to be displayed @param parent parent of this dialog (QWidget) """ - super(PluginDetailsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/PluginManager/PluginInfoDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/PluginManager/PluginInfoDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param pluginManager reference to the plugin manager object @param parent parent of this dialog (QWidget) """ - super(PluginInfoDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/PluginManager/PluginInstallDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/PluginManager/PluginInstallDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -48,7 +48,7 @@ installation (list of strings) @param parent parent of this dialog (QWidget) """ - super(PluginInstallWidget, self).__init__(parent) + super().__init__(parent) self.setupUi(self) if pluginManager is None: @@ -620,7 +620,7 @@ installation (list of strings) @param parent reference to the parent widget (QWidget) """ - super(PluginInstallDialog, self).__init__(parent) + super().__init__(parent) self.setSizeGripEnabled(True) self.__layout = QVBoxLayout(self) @@ -657,7 +657,7 @@ installation (list of strings) @param parent reference to the parent widget (QWidget) """ - super(PluginInstallWindow, self).__init__(parent) + super().__init__(parent) self.cw = PluginInstallWidget(None, pluginFileNames, self) size = self.cw.size() self.setCentralWidget(self.cw)
--- a/eric6/PluginManager/PluginManager.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/PluginManager/PluginManager.py Sat Apr 10 18:38:27 2021 +0200 @@ -95,7 +95,7 @@ @exception PluginModulesError raised to indicate the absence of plug-in modules """ - super(PluginManager, self).__init__(parent) + super().__init__(parent) self.__ui = parent self.__develPluginFile = develPlugin
--- a/eric6/PluginManager/PluginRepositoryDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/PluginManager/PluginRepositoryDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -76,7 +76,7 @@ @param parent parent of this dialog @type QWidget """ - super(PluginRepositoryWidget, self).__init__(parent) + super().__init__(parent) self.setupUi(self) if pluginManager is None: @@ -796,7 +796,7 @@ @param parent reference to the parent widget @type QWidget """ - super(PluginRepositoryDialog, self).__init__(parent) + super().__init__(parent) self.setSizeGripEnabled(True) self.__layout = QVBoxLayout(self) @@ -838,7 +838,7 @@ @param parent reference to the parent widget (QWidget) """ - super(PluginRepositoryWindow, self).__init__(parent) + super().__init__(parent) self.cw = PluginRepositoryWidget(None, self) size = self.cw.size() self.setCentralWidget(self.cw)
--- a/eric6/PluginManager/PluginUninstallDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/PluginManager/PluginUninstallDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -41,7 +41,7 @@ @param pluginManager reference to the plugin manager object @param parent parent of this dialog (QWidget) """ - super(PluginUninstallWidget, self).__init__(parent) + super().__init__(parent) self.setupUi(self) if pluginManager is None: @@ -216,7 +216,7 @@ @param pluginManager reference to the plugin manager object @param parent reference to the parent widget (QWidget) """ - super(PluginUninstallDialog, self).__init__(parent) + super().__init__(parent) self.setSizeGripEnabled(True) self.__layout = QVBoxLayout(self) @@ -243,7 +243,7 @@ @param parent reference to the parent widget (QWidget) """ - super(PluginUninstallWindow, self).__init__(parent) + super().__init__(parent) self.cw = PluginUninstallWidget(None, self) size = self.cw.size() self.setCentralWidget(self.cw)
--- a/eric6/Plugins/AboutPlugin/AboutDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/AboutPlugin/AboutDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -746,7 +746,7 @@ @param parent reference to the parent widget (QWidget) """ - super(AboutDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/AnnotationsChecker.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/AnnotationsChecker.py Sat Apr 10 18:38:27 2021 +0200 @@ -235,7 +235,7 @@ @param sourceLines lines of source code @type list of str """ - super(FunctionVisitor, self).__init__() + super().__init__() self.__sourceLines = sourceLines
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleAddBuiltinIgnoreDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleAddBuiltinIgnoreDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @param parent reference to the parent widget @type QWidget """ - super(CodeStyleAddBuiltinIgnoreDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__updateOkButton
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py Sat Apr 10 18:38:27 2021 +0200 @@ -54,7 +54,7 @@ @param options options for the report (optparse.Values) """ - super(CodeStyleCheckerReport, self).__init__(options) + super().__init__(options) self.__repeat = options.repeat self.errors = [] @@ -70,7 +70,7 @@ @param args arguments for the message (list) @return error code (string) """ - code = super(CodeStyleCheckerReport, self).error_args( + code = super().error_args( line_number, offset, code, check, *args) if code and (self.counters[code] == 1 or self.__repeat): self.errors.append(
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -113,7 +113,7 @@ @param parent reference to the parent widget @type QWidget """ - super(CodeStyleCheckerDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCodeSelectionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCodeSelectionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -37,7 +37,7 @@ @param parent reference to the parent widget @type QWidget """ - super(CodeStyleCodeSelectionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) textWrapper = textwrap.TextWrapper(width=60)
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleStatisticsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleStatisticsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param parent reference to the parent widget @type QWidget """ - super(CodeStyleStatisticsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) stats = statistics.copy()
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Complexity/ComplexityChecker.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Complexity/ComplexityChecker.py Sat Apr 10 18:38:27 2021 +0200 @@ -187,7 +187,7 @@ """ Constructor """ - super(LineComplexityVisitor, self).__init__() + super().__init__() self.__count = {} def visit(self, node):
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Complexity/mccabe.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Complexity/mccabe.py Sat Apr 10 18:38:27 2021 +0200 @@ -88,7 +88,7 @@ """ def __init__(self): - super(PathGraphingAstVisitor, self).__init__() + super().__init__() self.classname = "" self.graphs = {} self.reset() @@ -155,7 +155,7 @@ if isinstance(node, ast.stmt): self.visitSimpleStatement(node) else: - super(PathGraphingAstVisitor, self).default(node, *args) + super().default(node, *args) def visitLoop(self, node): name = "Loop %d" % node.lineno
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/MiscellaneousChecker.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/MiscellaneousChecker.py Sat Apr 10 18:38:27 2021 +0200 @@ -952,7 +952,7 @@ """ Constructor """ - super(TextVisitor, self).__init__() + super().__init__() self.nodes = [] self.calls = {} @@ -996,9 +996,9 @@ if AstUtilities.isBaseString(node): self.__addNode(node) else: - super(TextVisitor, self).generic_visit(node) + super().generic_visit(node) else: - super(TextVisitor, self).generic_visit(node) + super().generic_visit(node) def __visitDefinition(self, node): """ @@ -1094,7 +1094,7 @@ AstUtilities.isBaseString(node.args[0]) ): self.calls[node.args[0]] = (node, True) - super(TextVisitor, self).generic_visit(node) + super().generic_visit(node) class LoggingVisitor(ast.NodeVisitor): @@ -1114,7 +1114,7 @@ """ Constructor """ - super(LoggingVisitor, self).__init__() + super().__init__() self.__currentLoggingCall = None self.__currentLoggingArgument = None @@ -1202,7 +1202,7 @@ if self.__withinLoggingStatement(): if self.__withinLoggingArgument() and self.__isFormatCall(node): self.violations.append((node, "M651")) - super(LoggingVisitor, self).generic_visit(node) + super().generic_visit(node) return loggingLevel = self.__detectLoggingLevel(node) @@ -1212,7 +1212,7 @@ # we are in some other statement if loggingLevel is None: - super(LoggingVisitor, self).generic_visit(node) + super().generic_visit(node) return # we are entering a new logging statement @@ -1231,7 +1231,7 @@ ): self.__currentExtraKeyword = child - super(LoggingVisitor, self).visit(child) + super().visit(child) self.__currentLoggingArgument = None self.__currentExtraKeyword = None @@ -1256,7 +1256,7 @@ if isinstance(node.op, ast.Add): self.violations.append((node, "M653")) - super(LoggingVisitor, self).generic_visit(node) + super().generic_visit(node) def visit_JoinedStr(self, node): """ @@ -1270,7 +1270,7 @@ if self.__withinLoggingArgument(): self.violations.append((node, "M654")) - super(LoggingVisitor, self).generic_visit(node) + super().generic_visit(node) class BugBearVisitor(ast.NodeVisitor): @@ -1288,7 +1288,7 @@ """ Constructor """ - super(BugBearVisitor, self).__init__() + super().__init__() self.__nodeStack = [] self.__nodeWindow = [] @@ -1305,7 +1305,7 @@ self.__nodeWindow.append(node) self.__nodeWindow = self.__nodeWindow[-BugBearVisitor.NodeWindowSize:] - super(BugBearVisitor, self).visit(node) + super().visit(node) self.__nodeStack.pop() @@ -1530,7 +1530,7 @@ """ Constructor """ - super(NameFinder, self).__init__() + super().__init__() self.__names = {} @@ -1552,9 +1552,9 @@ """ if isinstance(node, list): for elem in node: - super(NameFinder, self).visit(elem) + super().visit(elem) else: - super(NameFinder, self).visit(node) + super().visit(node) def getNames(self): """ @@ -1578,7 +1578,7 @@ """ Constructor """ - super(ReturnVisitor, self).__init__() + super().__init__() self.__stack = [] self.violations = [] @@ -1939,7 +1939,7 @@ """ Constructor """ - super(DateTimeVisitor, self).__init__() + super().__init__() self.violations = [] @@ -2159,7 +2159,7 @@ """ Constructor """ - super(SysVersionVisitor, self).__init__() + super().__init__() self.violations = [] self.__fromImports = {}
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/PathLib/PathlibChecker.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/PathLib/PathlibChecker.py Sat Apr 10 18:38:27 2021 +0200 @@ -197,7 +197,7 @@ AST node and the resolved name @type func """ - super(PathlibVisitor, self).__init__() + super().__init__() self.__checkCallback = checkCallback self.__importAlias = {}
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Simplify/SimplifyNodeVisitor.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Simplify/SimplifyNodeVisitor.py Sat Apr 10 18:38:27 2021 +0200 @@ -63,7 +63,7 @@ @param errorCallback callback function to register an error @type func """ - super(SimplifyNodeVisitor, self).__init__() + super().__init__() self.__error = errorCallback @@ -1156,13 +1156,13 @@ def __check182(self, node): """ - Private method to check for calls of type 'super(Foo, self)' that could + Private method to check for calls of type 'super()' that could be shortened to 'super()'. @param node reference to the AST node to be checked @type ast.Call """ - # super(Foo, self) + # super() if ( self.__classDefinitionStack and isinstance(node.func, ast.Name) and
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Simplify/translations.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Simplify/translations.py Sat Apr 10 18:38:27 2021 +0200 @@ -177,7 +177,7 @@ # Python-specifics not part of flake8-simplify "Y181": ["foo += 42", "foo = foo + 42"], - "Y182": ["super(Foo, self)"], + "Y182": ["super()"], # Comparations "Y201": ["foo", "bar"],
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/pycodestyle.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/pycodestyle.py Sat Apr 10 18:38:27 2021 +0200 @@ -2386,7 +2386,7 @@ """Collect and print the results of the checks.""" def __init__(self, options): - super(StandardReport, self).__init__(options) + super().__init__(options) self._fmt = REPORT_FORMAT.get(options.format.lower(), options.format) self._repeat = options.repeat @@ -2396,12 +2396,12 @@ def init_file(self, filename, lines, expected, line_offset): """Signal a new file.""" self._deferred_print = [] - return super(StandardReport, self).init_file( + return super().init_file( filename, lines, expected, line_offset) def error(self, line_number, offset, text, check): """Report an error, according to options.""" - code = super(StandardReport, self).error(line_number, offset, + code = super().error(line_number, offset, text, check) if code and (self.counters[code] == 1 or self._repeat): self._deferred_print.append( @@ -2410,7 +2410,7 @@ def error_args(self, line_number, offset, code, check, *args): """Report an error, according to options.""" - code = super(StandardReport, self).error_args(line_number, offset, + code = super().error_args(line_number, offset, code, check, *args) if code and (self.counters[code] == 1 or self._repeat): self._deferred_print.append( @@ -2450,13 +2450,13 @@ """Collect and print the results for the changed lines only.""" def __init__(self, options): - super(DiffReport, self).__init__(options) + super().__init__(options) self._selected = options.selected_lines def error(self, line_number, offset, text, check): if line_number not in self._selected[self.filename]: return - return super(DiffReport, self).error(line_number, offset, text, check) + return super().error(line_number, offset, text, check) class StyleGuide(object):
--- a/eric6/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckService.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckService.py Sat Apr 10 18:38:27 2021 +0200 @@ -36,7 +36,7 @@ """ Constructor """ - super(SyntaxCheckService, self).__init__() + super().__init__() self.backgroundService = e5App().getObject("BackgroundService") self.__supportedLanguages = {}
--- a/eric6/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -39,7 +39,7 @@ @param parent The parent widget. (QWidget) """ - super(SyntaxCheckerDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/checker.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/checker.py Sat Apr 10 18:38:27 2021 +0200 @@ -356,7 +356,7 @@ """A definition created for all Python builtins.""" def __init__(self, name): - super(Builtin, self).__init__(name, None) + super().__init__(name, None) def __repr__(self): return '<%s object %r at 0x%x>' % (self.__class__.__name__, @@ -401,7 +401,7 @@ def __init__(self, name, source, full_name=None): self.fullName = full_name or name self.redefined = [] - super(Importation, self).__init__(name, source) + super().__init__(name, source) def redefines(self, other): if isinstance(other, SubmoduleImportation): @@ -450,13 +450,13 @@ # A dot should only appear in the name when it is a submodule import assert '.' in name and (not source or isinstance(source, ast.Import)) package_name = name.split('.')[0] - super(SubmoduleImportation, self).__init__(package_name, source) + super().__init__(package_name, source) self.fullName = name def redefines(self, other): if isinstance(other, Importation): return self.fullName == other.fullName - return super(SubmoduleImportation, self).redefines(other) + return super().redefines(other) def __str__(self): return self.fullName @@ -477,7 +477,7 @@ else: full_name = module + '.' + self.real_name - super(ImportationFrom, self).__init__(name, source, full_name) + super().__init__(name, source, full_name) def __str__(self): """Return import full name with alias.""" @@ -500,7 +500,7 @@ """A binding created by a 'from x import *' statement.""" def __init__(self, name, source): - super(StarImportation, self).__init__('*', source) + super().__init__('*', source) # Each star importation needs a unique name, and # may not be the module name otherwise it will be deemed imported self.name = name + '.*' @@ -526,7 +526,7 @@ """ def __init__(self, name, source, scope): - super(FutureImportation, self).__init__(name, source, '__future__') + super().__init__(name, source, '__future__') self.used = (scope, source) @@ -614,7 +614,7 @@ # If not list concatenation else: break - super(ExportBinding, self).__init__(name, source) + super().__init__(name, source) class Scope(dict): @@ -640,7 +640,7 @@ '__traceback_supplement__'} def __init__(self): - super(FunctionScope, self).__init__() + super().__init__() # Simplify: manage the special locals as globals self.globals = self.alwaysUsed.copy() self.returnValue = None # First non-empty return
--- a/eric6/Plugins/DocumentationPlugins/Ericapi/EricapiConfigDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/DocumentationPlugins/Ericapi/EricapiConfigDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -35,7 +35,7 @@ @param parms parameters to set in the dialog @param parent parent widget of this dialog """ - super(EricapiConfigDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.outputFilePicker.setMode(E5PathPickerModes.SaveFileMode) @@ -287,4 +287,4 @@ self.parameters['languages'].append(itm.text()) # call the accept slot of the base class - super(EricapiConfigDialog, self).accept() + super().accept()
--- a/eric6/Plugins/DocumentationPlugins/Ericapi/EricapiExecDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/DocumentationPlugins/Ericapi/EricapiExecDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param cmdname name of the ericapi generator (string) @param parent parent widget of this dialog (QWidget) """ - super(EricapiExecDialog, self).__init__(parent) + super().__init__(parent) self.setModal(True) self.setupUi(self)
--- a/eric6/Plugins/DocumentationPlugins/Ericdoc/EricdocConfigDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/DocumentationPlugins/Ericdoc/EricdocConfigDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -38,7 +38,7 @@ @param parms parameters to set in the dialog @param parent parent widget of this dialog """ - super(EricdocConfigDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.outputDirPicker.setMode(E5PathPickerModes.DirectoryMode) @@ -577,4 +577,4 @@ ) # call the accept slot of the base class - super(EricdocConfigDialog, self).accept() + super().accept()
--- a/eric6/Plugins/DocumentationPlugins/Ericdoc/EricdocExecDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/DocumentationPlugins/Ericdoc/EricdocExecDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param cmdname name of the documentation generator (string) @param parent parent widget of this dialog (QWidget) """ - super(EricdocExecDialog, self).__init__(parent) + super().__init__(parent) self.setModal(True) self.setupUi(self)
--- a/eric6/Plugins/PluginAbout.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/PluginAbout.py Sat Apr 10 18:38:27 2021 +0200 @@ -42,7 +42,7 @@ @param ui reference to the user interface object (UI.UserInterface) """ - super(AboutPlugin, self).__init__(ui) + super().__init__(ui) self.__ui = ui self.__aboutDialog = None
--- a/eric6/Plugins/PluginCodeStyleChecker.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/PluginCodeStyleChecker.py Sat Apr 10 18:38:27 2021 +0200 @@ -63,7 +63,7 @@ @param ui reference to the user interface object (UI.UserInterface) """ - super(CodeStyleCheckerPlugin, self).__init__(ui) + super().__init__(ui) self.__ui = ui self.__initialize()
--- a/eric6/Plugins/PluginEricapi.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/PluginEricapi.py Sat Apr 10 18:38:27 2021 +0200 @@ -81,7 +81,7 @@ @param ui reference to the user interface object (UI.UserInterface) """ - super(EricapiPlugin, self).__init__(ui) + super().__init__(ui) self.__ui = ui self.__initialize()
--- a/eric6/Plugins/PluginEricdoc.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/PluginEricdoc.py Sat Apr 10 18:38:27 2021 +0200 @@ -102,7 +102,7 @@ @param ui reference to the user interface object (UI.UserInterface) """ - super(EricdocPlugin, self).__init__(ui) + super().__init__(ui) self.__ui = ui self.__initialize()
--- a/eric6/Plugins/PluginSyntaxChecker.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/PluginSyntaxChecker.py Sat Apr 10 18:38:27 2021 +0200 @@ -50,7 +50,7 @@ @param ui reference to the user interface object (UI.UserInterface) """ - super(SyntaxCheckerPlugin, self).__init__(ui) + super().__init__(ui) self.__ui = ui self.__initialize()
--- a/eric6/Plugins/PluginTranslator.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/PluginTranslator.py Sat Apr 10 18:38:27 2021 +0200 @@ -96,7 +96,7 @@ @param ui reference to the user interface object (UI.UserInterface) """ - super(TranslatorPlugin, self).__init__(ui) + super().__init__(ui) self.__ui = ui self.__initialize()
--- a/eric6/Plugins/PluginVcsGit.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/PluginVcsGit.py Sat Apr 10 18:38:27 2021 +0200 @@ -188,7 +188,7 @@ @param ui reference to the user interface object (UI.UserInterface) """ - super(VcsGitPlugin, self).__init__(ui) + super().__init__(ui) self.__ui = ui self.__translator = None
--- a/eric6/Plugins/PluginVcsMercurial.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/PluginVcsMercurial.py Sat Apr 10 18:38:27 2021 +0200 @@ -192,7 +192,7 @@ @param ui reference to the user interface object (UI.UserInterface) """ - super(VcsMercurialPlugin, self).__init__(ui) + super().__init__(ui) self.__ui = ui from VcsPlugins.vcsMercurial.ProjectHelper import HgProjectHelper
--- a/eric6/Plugins/PluginVcsPySvn.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/PluginVcsPySvn.py Sat Apr 10 18:38:27 2021 +0200 @@ -149,7 +149,7 @@ @param ui reference to the user interface object (UI.UserInterface) """ - super(VcsPySvnPlugin, self).__init__(ui) + super().__init__(ui) self.__ui = ui self.__subversionDefaults = {
--- a/eric6/Plugins/PluginVcsSubversion.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/PluginVcsSubversion.py Sat Apr 10 18:38:27 2021 +0200 @@ -155,7 +155,7 @@ @param ui reference to the user interface object (UI.UserInterface) """ - super(VcsSubversionPlugin, self).__init__(ui) + super().__init__(ui) self.__ui = ui self.__subversionDefaults = {
--- a/eric6/Plugins/PluginVmListspace.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/PluginVmListspace.py Sat Apr 10 18:38:27 2021 +0200 @@ -54,7 +54,7 @@ @param ui reference to the user interface object (UI.UserInterface) """ - super(VmListspacePlugin, self).__init__(ui) + super().__init__(ui) self.__ui = ui def activate(self):
--- a/eric6/Plugins/PluginVmTabview.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/PluginVmTabview.py Sat Apr 10 18:38:27 2021 +0200 @@ -54,7 +54,7 @@ @param ui reference to the user interface object (UI.UserInterface) """ - super(VmTabviewPlugin, self).__init__(ui) + super().__init__(ui) self.__ui = ui def activate(self):
--- a/eric6/Plugins/PluginWizardDotDesktop.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/PluginWizardDotDesktop.py Sat Apr 10 18:38:27 2021 +0200 @@ -46,7 +46,7 @@ @param ui reference to the user interface object (UI.UserInterface) """ - super(DotDesktopWizard, self).__init__(ui) + super().__init__(ui) self.__ui = ui self.__action = None
--- a/eric6/Plugins/PluginWizardE5MessageBox.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/PluginWizardE5MessageBox.py Sat Apr 10 18:38:27 2021 +0200 @@ -42,7 +42,7 @@ @param ui reference to the user interface object (UI.UserInterface) """ - super(E5MessageBoxWizard, self).__init__(ui) + super().__init__(ui) self.__ui = ui def activate(self):
--- a/eric6/Plugins/PluginWizardEricPlugin.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/PluginWizardEricPlugin.py Sat Apr 10 18:38:27 2021 +0200 @@ -48,7 +48,7 @@ @param ui reference to the user interface object (UI.UserInterface) """ - super(WizardEricPluginWizard, self).__init__(ui) + super().__init__(ui) self.__ui = ui self.__action = None
--- a/eric6/Plugins/PluginWizardPyRegExp.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/PluginWizardPyRegExp.py Sat Apr 10 18:38:27 2021 +0200 @@ -42,7 +42,7 @@ @param ui reference to the user interface object (UI.UserInterface) """ - super(PyRegExpWizard, self).__init__(ui) + super().__init__(ui) self.__ui = ui def activate(self):
--- a/eric6/Plugins/PluginWizardQColorDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/PluginWizardQColorDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -42,7 +42,7 @@ @param ui reference to the user interface object (UI.UserInterface) """ - super(ColorDialogWizard, self).__init__(ui) + super().__init__(ui) self.__ui = ui def activate(self):
--- a/eric6/Plugins/PluginWizardQFileDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/PluginWizardQFileDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -44,7 +44,7 @@ @param ui reference to the user interface object (UI.UserInterface) """ - super(FileDialogWizard, self).__init__(ui) + super().__init__(ui) self.__ui = ui # PyQt5
--- a/eric6/Plugins/PluginWizardQFontDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/PluginWizardQFontDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -42,7 +42,7 @@ @param ui reference to the user interface object (UI.UserInterface) """ - super(FontDialogWizard, self).__init__(ui) + super().__init__(ui) self.__ui = ui def activate(self):
--- a/eric6/Plugins/PluginWizardQInputDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/PluginWizardQInputDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -42,7 +42,7 @@ @param ui reference to the user interface object (UI.UserInterface) """ - super(InputDialogWizard, self).__init__(ui) + super().__init__(ui) self.__ui = ui def activate(self):
--- a/eric6/Plugins/PluginWizardQMessageBox.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/PluginWizardQMessageBox.py Sat Apr 10 18:38:27 2021 +0200 @@ -42,7 +42,7 @@ @param ui reference to the user interface object (UI.UserInterface) """ - super(MessageBoxWizard, self).__init__(ui) + super().__init__(ui) self.__ui = ui def activate(self):
--- a/eric6/Plugins/PluginWizardQRegularExpression.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/PluginWizardQRegularExpression.py Sat Apr 10 18:38:27 2021 +0200 @@ -42,7 +42,7 @@ @param ui reference to the user interface object (UI.UserInterface) """ - super(QRegularExpressionWizard, self).__init__(ui) + super().__init__(ui) self.__ui = ui def activate(self):
--- a/eric6/Plugins/PluginWizardSetup.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/PluginWizardSetup.py Sat Apr 10 18:38:27 2021 +0200 @@ -47,7 +47,7 @@ @param ui reference to the user interface object (UI.UserInterface) """ - super(SetupWizard, self).__init__(ui) + super().__init__(ui) self.__ui = ui self.__action = None
--- a/eric6/Plugins/UiExtensionPlugins/Translator/ConfigurationPage/TranslatorPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/UiExtensionPlugins/Translator/ConfigurationPage/TranslatorPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param plugin reference to the plugin object """ - super(TranslatorPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("TranslatorPage")
--- a/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorEngines/DeepLEngine.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorEngines/DeepLEngine.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param parent reference to the parent object @type QObject """ - super(DeepLEngine, self).__init__(plugin, parent) + super().__init__(plugin, parent) QTimer.singleShot(0, self.availableTranslationsLoaded.emit)
--- a/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorEngines/GlosbeEngine.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorEngines/GlosbeEngine.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @param plugin reference to the plugin object (TranslatorPlugin) @param parent reference to the parent object (QObject) """ - super(GlosbeEngine, self).__init__(plugin, parent) + super().__init__(plugin, parent) QTimer.singleShot(0, self.availableTranslationsLoaded.emit)
--- a/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorEngines/GoogleV1Engine.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorEngines/GoogleV1Engine.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param plugin reference to the plugin object (TranslatorPlugin) @param parent reference to the parent object (QObject) """ - super(GoogleV1Engine, self).__init__(plugin, parent) + super().__init__(plugin, parent) QTimer.singleShot(0, self.availableTranslationsLoaded.emit)
--- a/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorEngines/GoogleV2Engine.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorEngines/GoogleV2Engine.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param plugin reference to the plugin object (TranslatorPlugin) @param parent reference to the parent object (QObject) """ - super(GoogleV2Engine, self).__init__(plugin, parent) + super().__init__(plugin, parent) QTimer.singleShot(0, self.availableTranslationsLoaded.emit)
--- a/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorEngines/IbmWatsonEngine.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorEngines/IbmWatsonEngine.py Sat Apr 10 18:38:27 2021 +0200 @@ -41,7 +41,7 @@ @param parent reference to the parent object @type QObject """ - super(IbmWatsonEngine, self).__init__(plugin, parent) + super().__init__(plugin, parent) self.__ui = parent
--- a/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorEngines/MicrosoftEngine.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorEngines/MicrosoftEngine.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param plugin reference to the plugin object (TranslatorPlugin) @param parent reference to the parent object (QObject) """ - super(MicrosoftEngine, self).__init__(plugin, parent) + super().__init__(plugin, parent) self.__mappings = { "zh-CN": "zh-CHS",
--- a/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorEngines/MyMemoryEngine.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorEngines/MyMemoryEngine.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @param plugin reference to the plugin object (TranslatorPlugin) @param parent reference to the parent object (QObject) """ - super(MyMemoryEngine, self).__init__(plugin, parent) + super().__init__(plugin, parent) QTimer.singleShot(0, self.availableTranslationsLoaded.emit)
--- a/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorEngines/TranslationEngine.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorEngines/TranslationEngine.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param plugin reference to the plugin object (TranslatorPlugin) @param parent reference to the parent object (QObject) """ - super(TranslationEngine, self).__init__(parent) + super().__init__(parent) self.plugin = plugin
--- a/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorEngines/YandexEngine.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorEngines/YandexEngine.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param plugin reference to the plugin object (TranslatorPlugin) @param parent reference to the parent object (QObject) """ - super(YandexEngine, self).__init__(plugin, parent) + super().__init__(plugin, parent) self.__errors = { 401: self.tr("Yandex: Invalid API key."),
--- a/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorLanguagesDb.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorLanguagesDb.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param parent reference to the parent object (QObject) """ - super(TranslatorLanguagesDb, self).__init__(parent) + super().__init__(parent) self.__languages = { "af": self.tr("Afrikaans"),
--- a/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorRequest.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorRequest.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param parent reference to the parent object (QObject) """ - super(TranslatorRequest, self).__init__(parent) + super().__init__(parent) self.__contentTypes = { "form": b"application/x-www-form-urlencoded",
--- a/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/UiExtensionPlugins/Translator/TranslatorWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -38,7 +38,7 @@ @param translator reference to the translator object (Translator) @param parent reference to the parent widget (QWidget) """ - super(TranslatorWidget, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__plugin = plugin
--- a/eric6/Plugins/VcsPlugins/vcsGit/ConfigurationPage/GitPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/ConfigurationPage/GitPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @param plugin reference to the plugin object """ - super(GitPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("GitPage")
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitAddRemoteDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitAddRemoteDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param parent reference to the parent widget @type QWidget """ - super(GitAddRemoteDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__updateOK()
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitApplyBundleDataDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitApplyBundleDataDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param branches list of available branch names (list of strings) @param parent reference to the parent widget (QWidget) """ - super(GitApplyBundleDataDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.headCombo.addItems(sorted(bundleHeads))
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitArchiveDataDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitArchiveDataDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param formatsList list of archive formats (list of strings) @param parent reference to the parent widget (QWidget) """ - super(GitArchiveDataDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.fileButton.setIcon(UI.PixmapCache.getIcon("open"))
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitBisectLogBrowserDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitBisectLogBrowserDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -39,7 +39,7 @@ @param vcs reference to the vcs object @param parent reference to the parent widget (QWidget) """ - super(GitBisectLogBrowserDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__position = QPoint() @@ -102,7 +102,7 @@ self.move(self.__position) self.__resetUI() - super(GitBisectLogBrowserDialog, self).show() + super().show() def __resetUI(self): """ @@ -381,4 +381,4 @@ self.intercept = False evt.accept() return - super(GitBisectLogBrowserDialog, self).keyPressEvent(evt) + super().keyPressEvent(evt)
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitBisectStartDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitBisectStartDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param parent reference to the parent widget (QWidget) """ - super(GitBisectStartDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.okButton = self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitBlameDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitBlameDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param vcs reference to the vcs object @param parent reference to the parent widget (QWidget) """ - super(GitBlameDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window) @@ -284,4 +284,4 @@ self.intercept = False evt.accept() return - super(GitBlameDialog, self).keyPressEvent(evt) + super().keyPressEvent(evt)
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitBranchDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitBranchDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -36,7 +36,7 @@ @param branchOp desired branch operation (integer) @param parent parent widget (QWidget) """ - super(GitBranchDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.okButton = self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitBranchPushDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitBranchPushDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param delete flag indicating a delete branch action (boolean) @param parent reference to the parent widget (QWidget) """ - super(GitBranchPushDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__okButton = self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitBundleDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitBundleDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param branchesList list of branches (list of strings) @param parent parent widget (QWidget) """ - super(GitBundleDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitChangeRemoteUrlDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitChangeRemoteUrlDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param parent reference to the parent widget @type QWidget """ - super(GitChangeRemoteUrlDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) url = QUrl(remoteUrl)
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitCherryPickDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitCherryPickDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ strings) @param parent reference to the parent widget (QWidget) """ - super(GitCherryPickDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) if commits:
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitCommandDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitCommandDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param ppath pathname of the project directory (string) @param parent parent widget of this dialog (QWidget) """ - super(GitCommandDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.okButton = self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitCommitDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitCommitDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param commitAll flag indicating to commit all local changes (boolean) @param parent parent widget (QWidget) """ - super(GitCommitDialog, self).__init__( + super().__init__( parent, Qt.WindowFlags(Qt.WindowType.Window)) self.setupUi(self)
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitCopyDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitCopyDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param parent parent widget (QWidget) @param move flag indicating a move operation (boolean) """ - super(GitCopyDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.dirButton.setIcon(UI.PixmapCache.getIcon("open"))
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitDescribeDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitDescribeDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param vcs reference to the vcs object @param parent reference to the parent widget (QWidget) """ - super(GitDescribeDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window) @@ -280,4 +280,4 @@ evt.accept() return - super(GitDescribeDialog, self).keyPressEvent(evt) + super().keyPressEvent(evt)
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -38,7 +38,7 @@ @param git reference to the Git interface object (Git) @param parent parent widget (QWidget) """ - super(GitDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button( @@ -315,7 +315,7 @@ self.intercept = False evt.accept() return - super(GitDialog, self).keyPressEvent(evt) + super().keyPressEvent(evt) def hasAddOrDelete(self): """
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitDiffDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitDiffDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -36,7 +36,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(GitDiffDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.refreshButton = self.buttonBox.addButton(
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitDiffGenerator.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitDiffGenerator.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(GitDiffGenerator, self).__init__(parent) + super().__init__(parent) self.vcs = vcs
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitDiffHighlighter.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitDiffHighlighter.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ """ self.whitespace = whitespace - super(GitDiffHighlighter, self).__init__(doc) + super().__init__(doc) def generateRules(self): """
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitFetchDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitFetchDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param repodir directory name of the local repository (string) @param parent reference to the parent widget (QWidget) """ - super(GitFetchDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__vcs = vcs
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitListDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitListDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param selections list of entries to select from (list of string) @param parent reference to the parent widget (QWidget) """ - super(GitListDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.selectionList.addItems(selections)
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitLogBrowserDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitLogBrowserDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -69,7 +69,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(GitLogBrowserDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) windowFlags = self.windowFlags() @@ -413,7 +413,7 @@ self.__restoreSplitterStates() self.__resetUI() - super(GitLogBrowserDialog, self).show() + super().show() def __reloadGeometry(self): """ @@ -1182,7 +1182,7 @@ self.intercept = False evt.accept() return - super(GitLogBrowserDialog, self).keyPressEvent(evt) + super().keyPressEvent(evt) def __prepareFieldSearch(self): """
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitMergeDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitMergeDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param remoteBranchesList list of remote branches (list of strings) @param parent reference to the parent widget (QWidget) """ - super(GitMergeDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitNewProjectOptionsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitNewProjectOptionsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param vcs reference to the version control object @param parent parent widget (QWidget) """ - super(GitNewProjectOptionsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__vcs = vcs
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitOptionsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitOptionsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param project reference to the project object @param parent parent widget (QWidget) """ - super(GitOptionsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) msh = self.minimumSizeHint()
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitPatchFilesDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitPatchFilesDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ getData() method @param parent reference to the parent widget (QWidget) """ - super(GitPatchFilesDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__rootDir = rootDir
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitPatchStatisticsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitPatchStatisticsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param vcs reference to the VCS object (Git) @param parent reference to the parent widget (QWidget) """ - super(GitPatchStatisticsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitPullDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitPullDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param repodir directory name of the local repository (string) @param parent reference to the parent widget (QWidget) """ - super(GitPullDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__vcs = vcs
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitPushDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitPushDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param repodir directory name of the local repository (string) @param parent reference to the parent widget (QWidget) """ - super(GitPushDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__vcs = vcs
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitReflogBrowserDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitReflogBrowserDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -41,7 +41,7 @@ @param vcs reference to the vcs object @param parent reference to the parent widget (QWidget) """ - super(GitReflogBrowserDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__position = QPoint() @@ -115,7 +115,7 @@ self.move(self.__position) self.__resetUI() - super(GitReflogBrowserDialog, self).show() + super().show() def __resetUI(self): """ @@ -429,7 +429,7 @@ self.intercept = False evt.accept() return - super(GitReflogBrowserDialog, self).keyPressEvent(evt) + super().keyPressEvent(evt) @pyqtSlot() def on_nextButton_clicked(self):
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitRemoteCredentialsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitRemoteCredentialsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param parent reference to the parent widget @type QWidget """ - super(GitRemoteCredentialsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) url = QUrl(remoteUrl)
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitRemoteRepositoriesDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitRemoteRepositoriesDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(GitRemoteRepositoriesDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.vcs = vcs @@ -303,7 +303,7 @@ self.intercept = False evt.accept() return - super(GitRemoteRepositoriesDialog, self).keyPressEvent(evt) + super().keyPressEvent(evt) @pyqtSlot() def on_refreshButton_clicked(self):
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitRevisionSelectionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitRevisionSelectionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param showHead flag indicating to show the head selection (boolean) @param parent parent widget (QWidget) """ - super(GitRevisionSelectionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitRevisionsSelectionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitRevisionsSelectionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param branchesList list of branches (list of strings) @param parent parent widget of the dialog (QWidget) """ - super(GitRevisionsSelectionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitStashBrowserDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitStashBrowserDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -44,7 +44,7 @@ @param vcs reference to the vcs object @param parent reference to the parent widget (QWidget) """ - super(GitStashBrowserDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button( @@ -119,7 +119,7 @@ self.move(self.__position) self.__resetUI() - super(GitStashBrowserDialog, self).show() + super().show() def __resetUI(self): """ @@ -456,7 +456,7 @@ self.intercept = False evt.accept() return - super(GitStashBrowserDialog, self).keyPressEvent(evt) + super().keyPressEvent(evt) def __showPatch(self): """
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitStashDataDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitStashDataDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param parent reference to the parent widget (QWidget) """ - super(GitStashDataDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) msh = self.minimumSizeHint()
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitStatusDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitStatusDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -50,7 +50,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(GitStatusDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__toBeCommittedColumn = 0 @@ -288,7 +288,7 @@ """ Public slot to show the dialog. """ - super(GitStatusDialog, self).show() + super().show() geom = self.vcs.getPlugin().getPreferences( "StatusDialogGeometry") @@ -574,7 +574,7 @@ self.intercept = False evt.accept() return - super(GitStatusDialog, self).keyPressEvent(evt) + super().keyPressEvent(evt) @pyqtSlot() def on_refreshButton_clicked(self):
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitSubmoduleAddDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitSubmoduleAddDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -36,7 +36,7 @@ @param parent reference to the parent widget @type QWidget """ - super(GitSubmoduleAddDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__vcs = vcs
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitSubmodulesDeinitDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitSubmodulesDeinitDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param parent reference to the parent widget @type QWidget """ - super(GitSubmodulesDeinitDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.submodulesList.addItems(sorted(submodulePaths))
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitSubmodulesListDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitSubmodulesListDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param parent reference to the parent widget @type QWidget """ - super(GitSubmodulesListDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) for submodule in submodules:
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitSubmodulesStatusDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitSubmodulesStatusDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param parent reference to the parent widget @type QWidget """ - super(GitSubmodulesStatusDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__statusCodes = {
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitSubmodulesSummaryOptionsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitSubmodulesSummaryOptionsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param parent reference to the parent widget @type QWidget """ - super(GitSubmodulesSummaryOptionsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.submodulesList.addItems(sorted(submodulePaths))
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitSubmodulesSyncDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitSubmodulesSyncDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param parent reference to the parent widget @type QWidget """ - super(GitSubmodulesSyncDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.submodulesList.addItems(sorted(submodulePaths))
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitSubmodulesUpdateOptionsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitSubmodulesUpdateOptionsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @param parent reference to the parent widget @type QWidget """ - super(GitSubmodulesUpdateOptionsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.submodulesList.addItems(sorted(submodulePaths))
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitTagBranchListDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitTagBranchListDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(GitTagBranchListDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window) @@ -382,4 +382,4 @@ evt.accept() return - super(GitTagBranchListDialog, self).keyPressEvent(evt) + super().keyPressEvent(evt)
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitTagDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitTagDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param tagName name of the tag (string) @param parent parent widget (QWidget) """ - super(GitTagDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.okButton = self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsGit/GitUserConfigDataDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitUserConfigDataDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param version Git version info (tuple of two integers) @param parent reference to the parent widget (QWidget) """ - super(GitUserConfigDataDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) msh = self.minimumSizeHint()
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/CloseheadExtension/HgCloseHeadSelectionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/CloseheadExtension/HgCloseHeadSelectionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param parent reference to the parent widget @type QWidget """ - super(HgCloseHeadSelectionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/CloseheadExtension/ProjectHelper.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/CloseheadExtension/ProjectHelper.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ """ Constructor """ - super(CloseheadProjectHelper, self).__init__() + super().__init__() def initActions(self): """
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/CloseheadExtension/closehead.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/CloseheadExtension/closehead.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param vcs reference to the Mercurial vcs object @type Hg """ - super(Closehead, self).__init__(vcs) + super().__init__(vcs) def hgCloseheads(self, revisions=None): """
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/ConfigurationPage/MercurialPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/ConfigurationPage/MercurialPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param plugin reference to the plugin object """ - super(MercurialPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("MercurialPage")
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/GpgExtension/HgGpgSignDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/GpgExtension/HgGpgSignDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param bookmarksList list of bookmarks (list of strings) @param parent reference to the parent widget (QWidget) """ - super(HgGpgSignDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/GpgExtension/HgGpgSignaturesDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/GpgExtension/HgGpgSignaturesDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param vcs reference to the vcs object @param parent reference to the parent widget (QWidget) """ - super(HgGpgSignaturesDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/GpgExtension/ProjectHelper.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/GpgExtension/ProjectHelper.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ """ Constructor """ - super(GpgProjectHelper, self).__init__() + super().__init__() def initActions(self): """
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/GpgExtension/gpg.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/GpgExtension/gpg.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param vcs reference to the Mercurial vcs object """ - super(Gpg, self).__init__(vcs) + super().__init__(vcs) self.gpgSignaturesDialog = None
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgAddSubrepositoryDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgAddSubrepositoryDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param projectPath project directory name (string) @param parent reference to the parent widget (QWidget) """ - super(HgAddSubrepositoryDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.pathPicker.setMode(E5PathPickerModes.DirectoryMode)
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgAnnotateDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgAnnotateDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(HgAnnotateDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgArchiveDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgArchiveDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param vcs reference to the Mercurial object (Hg) @param parent reference to the parent widget (QWidget) """ - super(HgArchiveDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.archivePicker.setMode(
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgBackoutDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgBackoutDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param bookmarksList list of bookmarks (list of strings) @param parent parent widget (QWidget) """ - super(HgBackoutDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgBookmarkDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgBookmarkDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param bookmarksList list of bookmarks (list of strings) @param parent reference to the parent widget (QWidget) """ - super(HgBookmarkDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgBookmarkRenameDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgBookmarkRenameDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param bookmarksList list of bookmarks (list of strings) @param parent reference to the parent widget (QWidget) """ - super(HgBookmarkRenameDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgBookmarksInOutDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgBookmarksInOutDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param parent reference to the parent widget (QWidget) @exception ValueError raised to indicate an invalid dialog mode """ - super(HgBookmarksInOutDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgBookmarksListDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgBookmarksListDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(HgBookmarksListDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgBranchInputDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgBranchInputDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ (list of string) @param parent reference to the parent widget (QWidget) """ - super(HgBranchInputDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.branchComboBox.addItems(sorted(branches))
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgBundleDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgBundleDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param parent parent widget @type QWidget """ - super(HgBundleDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgClient.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgClient.py Sat Apr 10 18:38:27 2021 +0200 @@ -42,7 +42,7 @@ @param parent reference to the parent object @type QObject """ - super(HgClient, self).__init__(parent) + super().__init__(parent) self.__server = None self.__started = False
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgClientPromptDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgClientPromptDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param message message sent by the server (string) @param parent reference to the parent widget (QWidget) """ - super(HgClientPromptDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgCommandDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgCommandDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param ppath pathname of the project directory (string) @param parent parent widget of this dialog (QWidget) """ - super(HgCommandDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.okButton = self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgCommitDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgCommitDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param merge flag indicating a merge commit (boolean) @param parent parent widget (QWidget) """ - super(HgCommitDialog, self).__init__( + super().__init__( parent, Qt.WindowFlags(Qt.WindowType.Window)) self.setupUi(self)
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgConflictsListDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgConflictsListDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -36,7 +36,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(HgConflictsListDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__position = QPoint() @@ -82,7 +82,7 @@ if not self.__position.isNull(): self.move(self.__position) - super(HgConflictsListDialog, self).show() + super().show() def start(self): """
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgCopyDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgCopyDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param parent parent widget (QWidget) @param move flag indicating a move operation (boolean) """ - super(HgCopyDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.source = source
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ if possible (boolean) @param parent parent widget (QWidget) """ - super(HgDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgDiffDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgDiffDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(HgDiffDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.refreshButton = self.buttonBox.addButton(
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgDiffGenerator.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgDiffGenerator.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(HgDiffGenerator, self).__init__(parent) + super().__init__(parent) self.vcs = vcs
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgDiffHighlighter.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgDiffHighlighter.py Sat Apr 10 18:38:27 2021 +0200 @@ -20,7 +20,7 @@ @param doc reference to the text document (QTextDocument) """ - super(HgDiffHighlighter, self).__init__(doc) + super().__init__(doc) def generateRules(self): """
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgExportDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgExportDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param parent reference to the parent widget @type QWidget """ - super(HgExportDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.directoryPicker.setMode(E5PathPickerModes.DirectoryMode)
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgExtension.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgExtension.py Sat Apr 10 18:38:27 2021 +0200 @@ -20,7 +20,7 @@ @param vcs reference to the Mercurial vcs object """ - super(HgExtension, self).__init__(vcs) + super().__init__(vcs) self.vcs = vcs
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgExtensionProjectBrowserHelper.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgExtensionProjectBrowserHelper.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param browserObject reference to the project browser object @param projectObject reference to the project object """ - super(HgExtensionProjectBrowserHelper, self).__init__() + super().__init__() self.vcs = vcsObject self.browser = browserObject
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgExtensionProjectHelper.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgExtensionProjectHelper.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ """ Constructor """ - super(HgExtensionProjectHelper, self).__init__() + super().__init__() self.actions = []
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgGraftDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgGraftDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param parent reference to the parent widget @type QWidget """ - super(HgGraftDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.dateTimeEdit.setDateTime(QDateTime.currentDateTime())
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgImportDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgImportDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param parent reference to the parent widget @type QWidget """ - super(HgImportDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.patchFilePicker.setMode(E5PathPickerModes.OpenFileMode)
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -75,7 +75,7 @@ @param parent parent widget @type QWidget """ - super(HgLogBrowserDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) windowFlags = self.windowFlags() @@ -446,7 +446,7 @@ self.__restoreSplitterStates() self.__resetUI() - super(HgLogBrowserDialog, self).show() + super().show() def __reloadGeometry(self): """
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgMergeDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgMergeDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param bookmarksList list of bookmarks (list of strings) @param parent parent widget (QWidget) """ - super(HgMergeDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgNewProjectOptionsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgNewProjectOptionsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param vcs reference to the version control object @param parent parent widget (QWidget) """ - super(HgNewProjectOptionsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.vcsProjectDirPicker.setMode(E5PathPickerModes.DirectoryMode)
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgOptionsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgOptionsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param project reference to the project object @param parent parent widget (QWidget) """ - super(HgOptionsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) msh = self.minimumSizeHint()
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgPhaseDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgPhaseDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param parent reference to the parent widget (QWidget) """ - super(HgPhaseDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.phaseCombo.addItem("", "")
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgRemoveSubrepositoriesDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgRemoveSubrepositoriesDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param subrepositories list of sub-repository entries (list of strings) @param parent reference to the parent widget (QWidget) """ - super(HgRemoveSubrepositoriesDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.subrepositories.addItems(subrepositories)
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgRepoConfigDataDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgRepoConfigDataDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ section (dict) @param parent reference to the parent widget (QWidget) """ - super(HgRepoConfigDataDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.defaultShowPasswordButton.setIcon(
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgRevisionSelectionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgRevisionSelectionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param noneLabel labeltext for "no revision selected" (string) @param parent parent widget (QWidget) """ - super(HgRevisionSelectionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgRevisionsSelectionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgRevisionsSelectionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param bookmarksList list of bookmarks (list of strings) @param parent parent widget of the dialog (QWidget) """ - super(HgRevisionsSelectionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgServeDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgServeDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -39,7 +39,7 @@ @param parent reference to the parent widget @type QWidget """ - super(HgServeDialog, self).__init__(parent) + super().__init__(parent) self.vcs = vcs self.__repoPath = path
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgStatusDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgStatusDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -41,7 +41,7 @@ @param mq flag indicating to show a queue repo status (boolean) @param parent parent widget (QWidget) """ - super(HgStatusDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__toBeCommittedColumn = 0 @@ -224,7 +224,7 @@ """ Public slot to show the dialog. """ - super(HgStatusDialog, self).show() + super().show() if self.__mq: geom = self.vcs.getPlugin().getPreferences(
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgSummaryDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgSummaryDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(HgSummaryDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.refreshButton = self.buttonBox.addButton(
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgTagBranchListDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgTagBranchListDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(HgTagBranchListDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgTagDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgTagDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param tagName name of the tag (string) @param parent parent widget (QWidget) """ - super(HgTagDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.okButton = self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgUserConfigDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgUserConfigDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -44,7 +44,7 @@ @param parent reference to the parent widget @type QWidget """ - super(HgUserConfigDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__version = version @@ -441,7 +441,7 @@ """ self.writeUserConfig() - super(HgUserConfigDialog, self).accept() + super().accept() def __clearDialog(self): """
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgUserConfigHostFingerprintDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgUserConfigHostFingerprintDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -41,7 +41,7 @@ @param version Mercurial version info @type tuple of three integers """ - super(HgUserConfigHostFingerprintDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__version = version
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgUserConfigHostMinimumProtocolDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgUserConfigHostMinimumProtocolDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param protocol name of the minimum protocol for the host @type str """ - super(HgUserConfigHostMinimumProtocolDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.minimumProtocolComboBox.addItem("", "")
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HisteditExtension/HgHisteditCommitEditor.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HisteditExtension/HgHisteditCommitEditor.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param parent reference to the parent widget @type QWidget """ - super(HgHisteditCommitEditor, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__fileName = fileName
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HisteditExtension/HgHisteditConfigDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HisteditExtension/HgHisteditConfigDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param parent reference to the parent widget @type QWidget """ - super(HgHisteditConfigDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__sourceRevisionButtonGroup = QButtonGroup(self)
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HisteditExtension/HgHisteditPlanEditor.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HisteditExtension/HgHisteditPlanEditor.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param column column number inside the tree widget item @type int """ - super(HgHisteditPlanActionComboBox, self).__init__() + super().__init__() self.__item = item self.__column = column @@ -66,7 +66,7 @@ current item of the tree widget. """ self.__item.treeWidget().setCurrentItem(self.__item) - super(HgHisteditPlanActionComboBox, self).showPopup() + super().showPopup() class HgHisteditPlanEditor(QDialog, Ui_HgHisteditPlanEditor): @@ -83,7 +83,7 @@ @param parent reference to the parent widget @type QWidget """ - super(HgHisteditPlanEditor, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.upButton.setIcon(UI.PixmapCache.getIcon("1uparrow"))
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HisteditExtension/ProjectHelper.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HisteditExtension/ProjectHelper.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ """ Constructor """ - super(HisteditProjectHelper, self).__init__() + super().__init__() def initActions(self): """
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HisteditExtension/histedit.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HisteditExtension/histedit.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param vcs reference to the Mercurial vcs object @type Hg """ - super(Histedit, self).__init__(vcs) + super().__init__(vcs) def hgHisteditStart(self, rev=""): """
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/LargefilesExtension/LfConvertDataDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/LargefilesExtension/LfConvertDataDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param mode dialog mode (string, one of 'largefiles' or 'normal') @param parent reference to the parent widget (QWidget) """ - super(LfConvertDataDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.newProjectPicker.setMode(E5PathPickerModes.DirectoryMode)
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/LargefilesExtension/LfRevisionsInputDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/LargefilesExtension/LfRevisionsInputDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param parent reference to the parent widget (QWidget) """ - super(LfRevisionsInputDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/LargefilesExtension/ProjectBrowserHelper.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/LargefilesExtension/ProjectBrowserHelper.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param browserObject reference to the project browser object @param projectObject reference to the project object """ - super(LargefilesProjectBrowserHelper, self).__init__( + super().__init__( vcsObject, browserObject, projectObject) def initMenus(self):
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/LargefilesExtension/ProjectHelper.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/LargefilesExtension/ProjectHelper.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ """ Constructor """ - super(LargefilesProjectHelper, self).__init__() + super().__init__() def initActions(self): """
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/LargefilesExtension/largefiles.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/LargefilesExtension/largefiles.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param vcs reference to the Mercurial vcs object """ - super(Largefiles, self).__init__(vcs) + super().__init__(vcs) def hgLfconvert(self, direction, projectFile): """
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py Sat Apr 10 18:38:27 2021 +0200 @@ -1612,7 +1612,7 @@ """ Public slot called before the vcs menu is shown. """ - super(HgProjectHelper, self).showMenu() + super().showMenu() self.__checkActions()
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/PurgeExtension/HgPurgeListDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/PurgeExtension/HgPurgeListDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param entries list of entries to be shown (list of strings) @param parent reference to the parent widget (QWidget) """ - super(HgPurgeListDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/PurgeExtension/ProjectHelper.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/PurgeExtension/ProjectHelper.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ """ Constructor """ - super(PurgeProjectHelper, self).__init__() + super().__init__() def initActions(self): """
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/PurgeExtension/purge.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/PurgeExtension/purge.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param vcs reference to the Mercurial vcs object """ - super(Purge, self).__init__(vcs) + super().__init__(vcs) self.purgeListDialog = None
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesDefineGuardsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesDefineGuardsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ @param patchesList list of patches (list of strings) @param parent reference to the parent widget (QWidget) """ - super(HgQueuesDefineGuardsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesFoldDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesFoldDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param patchesList list of patches to select from (list of strings) @param parent reference to the parent widget (QWidget) """ - super(HgQueuesFoldDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.addButton.setIcon(UI.PixmapCache.getIcon("plus"))
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesGuardsSelectionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesGuardsSelectionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param listOnly flag indicating to only list the guards (boolean) @param parent reference to the parent widget (QWidget) """ - super(HgQueuesGuardsSelectionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) for guard in guards:
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesHeaderDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesHeaderDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param vcs reference to the vcs object @param parent reference to the parent widget (QWidget) """ - super(HgQueuesHeaderDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesListAllGuardsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesListAllGuardsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param vcs reference to the VCS object (Hg) @param parent reference to the parent widget (QWidget) """ - super(HgQueuesListAllGuardsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesListDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesListDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(HgQueuesListDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesListGuardsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesListGuardsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param patchesList list of patches (list of strings) @param parent reference to the parent widget (QWidget) """ - super(HgQueuesListGuardsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesNewPatchDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesNewPatchDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param parent reference to the parent widget (QWidget) @exception ValueError raised to indicate an invalid dialog mode """ - super(HgQueuesNewPatchDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) if mode not in (HgQueuesNewPatchDialog.REFRESH_MODE,
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesQueueManagementDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesQueueManagementDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -38,7 +38,7 @@ @param parent reference to the parent widget (QWidget) @exception ValueError raised to indicate an invalid dialog mode """ - super(HgQueuesQueueManagementDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesRenamePatchDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesRenamePatchDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param patchesList list of patches to select from (list of strings) @param parent reference to the parent widget (QWidget) """ - super(HgQueuesRenamePatchDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.currentButton.setText(
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/ProjectHelper.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/ProjectHelper.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ """ Constructor """ - super(QueuesProjectHelper, self).__init__() + super().__init__() def initActions(self): """
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/queues.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/queues.py Sat Apr 10 18:38:27 2021 +0200 @@ -37,7 +37,7 @@ @param vcs reference to the Mercurial vcs object """ - super(Queues, self).__init__(vcs) + super().__init__(vcs) self.qdiffDialog = None self.qheaderDialog = None
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/RebaseExtension/HgRebaseDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/RebaseExtension/HgRebaseDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param parent reference to the parent widget @type QWidget """ - super(HgRebaseDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__sourceRevisionButtonGroup = QButtonGroup(self)
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/RebaseExtension/ProjectHelper.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/RebaseExtension/ProjectHelper.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ """ Constructor """ - super(RebaseProjectHelper, self).__init__() + super().__init__() def initActions(self): """
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/RebaseExtension/rebase.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/RebaseExtension/rebase.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param vcs reference to the Mercurial vcs object """ - super(Rebase, self).__init__(vcs) + super().__init__(vcs) def hgRebase(self): """
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/HgShelveBrowserDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/HgShelveBrowserDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(HgShelveBrowserDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button( @@ -88,7 +88,7 @@ self.move(self.__position) self.__resetUI() - super(HgShelveBrowserDialog, self).show() + super().show() def __resetUI(self): """
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/HgShelveDataDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/HgShelveDataDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param parent reference to the parent widget @type QWidget """ - super(HgShelveDataDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__initialDateTime = QDateTime.currentDateTime()
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/HgShelvesSelectionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/HgShelvesSelectionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param shelveNames list of shelve names (list of string) @param parent reference to the parent widget (QWidget) """ - super(HgShelvesSelectionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.message.setText(message)
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/HgUnshelveDataDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/HgUnshelveDataDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param shelveName name of the shelve to restore (string) @param parent reference to the parent widget (QWidget) """ - super(HgUnshelveDataDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.nameComboBox.addItem("")
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/ProjectBrowserHelper.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/ProjectBrowserHelper.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param browserObject reference to the project browser object @param projectObject reference to the project object """ - super(ShelveProjectBrowserHelper, self).__init__( + super().__init__( vcsObject, browserObject, projectObject) def initMenus(self):
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/ProjectHelper.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/ProjectHelper.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ """ Constructor """ - super(ShelveProjectHelper, self).__init__() + super().__init__() def initActions(self): """
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/shelve.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/shelve.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param vcs reference to the Mercurial vcs object """ - super(Shelve, self).__init__(vcs) + super().__init__(vcs) self.__unshelveKeep = False
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/StripExtension/HgStripDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/StripExtension/HgStripDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param parent reference to the parent widget @type QWidget """ - super(HgStripDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.tagCombo.addItems(sorted(tagsList))
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/StripExtension/ProjectHelper.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/StripExtension/ProjectHelper.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ """ Constructor """ - super(StripProjectHelper, self).__init__() + super().__init__() def initActions(self): """
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/StripExtension/strip.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/StripExtension/strip.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param vcs reference to the Mercurial vcs object @type Hg """ - super(Strip, self).__init__(vcs) + super().__init__(vcs) def hgStrip(self, rev=""): """
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/ConfigurationPage/SubversionPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/ConfigurationPage/SubversionPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param plugin reference to the plugin object """ - super(SubversionPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("SubversionPage")
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnBlameDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnBlameDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -35,7 +35,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(SvnBlameDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) SvnDialogMixin.__init__(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnChangeListsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnChangeListsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(SvnChangeListsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) SvnDialogMixin.__init__(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnCommandDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnCommandDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param ppath pathname of the project directory (string) @param parent parent widget of this dialog (QWidget) """ - super(SvnCommandDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.workdirPicker.setMode(E5PathPickerModes.DirectoryMode)
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnCommitDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnCommitDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param changelists list of available change lists (list of strings) @param parent parent widget (QWidget) """ - super(SvnCommitDialog, self).__init__( + super().__init__( parent, Qt.WindowFlags(Qt.WindowType.Window)) self.setupUi(self)
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnCopyDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnCopyDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param move flag indicating a move operation (boolean) @param force flag indicating a forced operation (boolean) """ - super(SvnCopyDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.source = source
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -35,7 +35,7 @@ @param parent parent widget (QWidget) @param log optional log message (string) """ - super(SvnDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) SvnDialogMixin.__init__(self, log) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnDiffDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnDiffDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -41,7 +41,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(SvnDiffDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) SvnDialogMixin.__init__(self)
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnDiffHighlighter.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnDiffHighlighter.py Sat Apr 10 18:38:27 2021 +0200 @@ -20,7 +20,7 @@ @param doc reference to the text document (QTextDocument) """ - super(SvnDiffHighlighter, self).__init__(doc) + super().__init__(doc) def generateRules(self): """
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnInfoDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnInfoDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(SvnInfoDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) SvnDialogMixin.__init__(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -41,7 +41,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(SvnLogBrowserDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) SvnDialogMixin.__init__(self) @@ -118,7 +118,7 @@ self.move(self.__position) self.__resetUI() - super(SvnLogBrowserDialog, self).show() + super().show() def __resetUI(self): """
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnLoginDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnLoginDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ the answers returned (boolean) @param parent reference to the parent widget (QWidget) """ - super(SvnLoginDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.realmLabel.setText(
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnMergeDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnMergeDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param force flag indicating a forced merge (boolean) @param parent parent widget (QWidget) """ - super(SvnMergeDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.forceCheckBox.setChecked(force)
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnNewProjectOptionsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnNewProjectOptionsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param vcs reference to the version control object @param parent parent widget (QWidget) """ - super(SvnNewProjectOptionsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.vcsProjectDirPicker.setMode(E5PathPickerModes.DirectoryMode)
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnOptionsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnOptionsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param project reference to the project object @param parent parent widget (QWidget) """ - super(SvnOptionsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.vcsUrlPicker.setMode(E5PathPickerModes.DirectoryMode)
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnPropDelDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnPropDelDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param recursive flag indicating a recursive set is requested @param parent parent widget (QWidget) """ - super(SvnPropDelDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.okButton = self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnPropListDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnPropListDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -35,7 +35,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(SvnPropListDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) SvnDialogMixin.__init__(self)
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnPropSetDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnPropSetDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param recursive flag indicating a recursive set is requested @param parent parent widget (QWidget) """ - super(SvnPropSetDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.recurseCheckBox.setChecked(recursive)
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnRelocateDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnRelocateDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param currUrl current repository URL (string) @param parent parent widget (QWidget) """ - super(SvnRelocateDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.currUrlLabel.setText(currUrl)
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnRepoBrowserDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnRepoBrowserDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -39,7 +39,7 @@ @param mode mode of the dialog (string, "browse" or "select") @param parent parent widget (QWidget) """ - super(SvnRepoBrowserDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) SvnDialogMixin.__init__(self) self.setWindowFlags(Qt.WindowType.Window) @@ -297,7 +297,7 @@ if self.focusWidget() == self.urlCombo: return - super(SvnRepoBrowserDialog, self).accept() + super().accept() def getSelectedUrl(self): """
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnRevisionSelectionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnRevisionSelectionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param parent parent widget of the dialog (QWidget) """ - super(SvnRevisionSelectionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.date1Edit.setDate(QDate.currentDate())
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnStatusDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnStatusDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -45,7 +45,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(SvnStatusDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) SvnDialogMixin.__init__(self)
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnSwitchDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnSwitchDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ repository (boolean) @param parent parent widget (QWidget) """ - super(SvnSwitchDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.tagCombo.clear()
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnTagBranchListDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnTagBranchListDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -40,7 +40,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(SvnTagBranchListDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) SvnDialogMixin.__init__(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnTagDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnTagDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ repository (boolean) @param parent parent widget (QWidget) """ - super(SvnTagDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.okButton = self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnUrlSelectionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnUrlSelectionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -36,7 +36,7 @@ @param path pathname to determine the repository URL from (string) @param parent parent widget of the dialog (QWidget) """ - super(SvnUrlSelectionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) if not hasattr(pysvn.Client(), 'diff_summarize'):
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/ConfigurationPage/SubversionPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/ConfigurationPage/SubversionPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param plugin reference to the plugin object """ - super(SubversionPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("SubversionPage")
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnBlameDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnBlameDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(SvnBlameDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window) @@ -267,4 +267,4 @@ self.intercept = False evt.accept() return - super(SvnBlameDialog, self).keyPressEvent(evt) + super().keyPressEvent(evt)
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnChangeListsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnChangeListsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(SvnChangeListsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window) @@ -287,4 +287,4 @@ self.intercept = False evt.accept() return - super(SvnChangeListsDialog, self).keyPressEvent(evt) + super().keyPressEvent(evt)
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnCommandDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnCommandDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param ppath pathname of the project directory (string) @param parent parent widget of this dialog (QWidget) """ - super(SvnCommandDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.workdirPicker.setMode(E5PathPickerModes.DirectoryMode)
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnCommitDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnCommitDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(SvnCommitDialog, self).__init__( + super().__init__( parent, Qt.WindowFlags(Qt.WindowType.Window)) self.setupUi(self)
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnCopyDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnCopyDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param move flag indicating a move operation (boolean) @param force flag indicating a forced operation (boolean) """ - super(SvnCopyDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.source = source
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -35,7 +35,7 @@ @param text text to be shown by the label (string) @param parent parent widget (QWidget) """ - super(SvnDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window) @@ -275,7 +275,7 @@ self.intercept = False evt.accept() return - super(SvnDialog, self).keyPressEvent(evt) + super().keyPressEvent(evt) def hasAddOrDelete(self): """
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnDiffDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnDiffDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -37,7 +37,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(SvnDiffDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.refreshButton = self.buttonBox.addButton( @@ -475,4 +475,4 @@ self.intercept = False evt.accept() return - super(SvnDiffDialog, self).keyPressEvent(evt) + super().keyPressEvent(evt)
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnDiffHighlighter.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnDiffHighlighter.py Sat Apr 10 18:38:27 2021 +0200 @@ -20,7 +20,7 @@ @param doc reference to the text document (QTextDocument) """ - super(SvnDiffHighlighter, self).__init__(doc) + super().__init__(doc) def generateRules(self): """
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnLogBrowserDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnLogBrowserDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -37,7 +37,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(SvnLogBrowserDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__position = QPoint() @@ -156,7 +156,7 @@ self.move(self.__position) self.__resetUI() - super(SvnLogBrowserDialog, self).show() + super().show() def __resetUI(self): """ @@ -789,4 +789,4 @@ self.intercept = False evt.accept() return - super(SvnLogBrowserDialog, self).keyPressEvent(evt) + super().keyPressEvent(evt)
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnMergeDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnMergeDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param force flag indicating a forced merge (boolean) @param parent parent widget (QWidget) """ - super(SvnMergeDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.forceCheckBox.setChecked(force)
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnNewProjectOptionsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnNewProjectOptionsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param vcs reference to the version control object @param parent parent widget (QWidget) """ - super(SvnNewProjectOptionsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.vcsProjectDirPicker.setMode(E5PathPickerModes.DirectoryMode)
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnOptionsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnOptionsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param project reference to the project object @param parent parent widget (QWidget) """ - super(SvnOptionsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.vcsUrlPicker.setMode(E5PathPickerModes.DirectoryMode)
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnPropListDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnPropListDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(SvnPropListDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.refreshButton = self.buttonBox.addButton(
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnPropSetDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnPropSetDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param parent parent widget (QWidget) """ - super(SvnPropSetDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.propFilePicker.setMode(E5PathPickerModes.OpenFileMode)
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnRelocateDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnRelocateDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param currUrl current repository URL (string) @param parent parent widget (QWidget) """ - super(SvnRelocateDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.currUrlLabel.setText(currUrl)
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnRepoBrowserDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnRepoBrowserDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -38,7 +38,7 @@ @param mode mode of the dialog (string, "browse" or "select") @param parent parent widget (QWidget) """ - super(SvnRepoBrowserDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window) @@ -352,7 +352,7 @@ if self.focusWidget() == self.urlCombo: return - super(SvnRepoBrowserDialog, self).accept() + super().accept() def getSelectedUrl(self): """ @@ -501,4 +501,4 @@ self.intercept = False evt.accept() return - super(SvnRepoBrowserDialog, self).keyPressEvent(evt) + super().keyPressEvent(evt)
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnRevisionSelectionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnRevisionSelectionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param parent parent widget of the dialog (QWidget) """ - super(SvnRevisionSelectionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.date1Edit.setDate(QDate.currentDate())
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnStatusDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnStatusDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -38,7 +38,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(SvnStatusDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__toBeCommittedColumn = 0 @@ -614,7 +614,7 @@ self.intercept = False evt.accept() return - super(SvnStatusDialog, self).keyPressEvent(evt) + super().keyPressEvent(evt) @pyqtSlot() def on_refreshButton_clicked(self):
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnSwitchDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnSwitchDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ repository (boolean) @param parent parent widget (QWidget) """ - super(SvnSwitchDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.tagCombo.clear()
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnTagBranchListDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnTagBranchListDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -35,7 +35,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(SvnTagBranchListDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window) @@ -357,4 +357,4 @@ self.intercept = False evt.accept() return - super(SvnTagBranchListDialog, self).keyPressEvent(evt) + super().keyPressEvent(evt)
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnTagDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnTagDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ repository (boolean) @param parent parent widget (QWidget) """ - super(SvnTagDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.okButton = self.buttonBox.button(
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param path pathname to determine the repository URL from (string) @param parent parent widget of the dialog (QWidget) """ - super(SvnUrlSelectionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) if vcs.version < (1, 4, 0):
--- a/eric6/Plugins/ViewManagerPlugins/Listspace/Listspace.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/ViewManagerPlugins/Listspace/Listspace.py Sat Apr 10 18:38:27 2021 +0200 @@ -35,7 +35,7 @@ @param parent parent widget @type QWidget """ - super(StackedWidget, self).__init__(parent) + super().__init__(parent) self.editors = [] @@ -47,7 +47,7 @@ @type QScintilla.EditorAssembly.EditorAssembly """ editor = assembly.getEditor() - super(StackedWidget, self).addWidget(assembly) + super().addWidget(assembly) if editor not in self.editors: self.editors.append(editor) @@ -61,7 +61,7 @@ if isinstance(widget, QScintilla.Editor.Editor): self.editors.remove(widget) widget = widget.parent() - super(StackedWidget, self).removeWidget(widget) + super().removeWidget(widget) def currentWidget(self): """ @@ -70,7 +70,7 @@ @return reference to the current editor @rtype Editor """ - widget = super(StackedWidget, self).currentWidget() + widget = super().currentWidget() if widget is not None: widget = widget.getEditor() return widget @@ -87,7 +87,7 @@ self.editors.remove(widget) self.editors.insert(0, widget) widget = widget.parent() - super(StackedWidget, self).setCurrentWidget(widget) + super().setCurrentWidget(widget) def setCurrentIndex(self, index): """
--- a/eric6/Plugins/ViewManagerPlugins/Tabview/Tabview.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/ViewManagerPlugins/Tabview/Tabview.py Sat Apr 10 18:38:27 2021 +0200 @@ -64,7 +64,7 @@ @param parent reference to the parent widget @type QWidget """ - super(TabBar, self).__init__(parent) + super().__init__(parent) self.setAcceptDrops(True) self.__dragStartPos = QPoint() @@ -78,7 +78,7 @@ """ if event.button() == Qt.MouseButton.LeftButton: self.__dragStartPos = QPoint(event.pos()) - super(TabBar, self).mousePressEvent(event) + super().mousePressEvent(event) def mouseMoveEvent(self, event): """ @@ -113,7 +113,7 @@ Qt.KeyboardModifier.NoModifier ): drag.exec(Qt.DropActions(Qt.DropAction.MoveAction)) - super(TabBar, self).mouseMoveEvent(event) + super().mouseMoveEvent(event) def dragEnterEvent(self, event): """ @@ -132,7 +132,7 @@ "tabwidget-id" in formats ): event.acceptProposedAction() - super(TabBar, self).dragEnterEvent(event) + super().dragEnterEvent(event) def dropEvent(self, event): """ @@ -163,7 +163,7 @@ elif event.proposedAction() == Qt.DropAction.CopyAction: self.tabCopyRequested[int, int].emit(fromIndex, toIndex) event.acceptProposedAction() - super(TabBar, self).dropEvent(event) + super().dropEvent(event) class TabWidget(E5TabWidget): @@ -177,7 +177,7 @@ @param vm view manager widget @type Tabview """ - super(TabWidget, self).__init__() + super().__init__() self.__tabBar = TabBar(self) self.setTabBar(self.__tabBar) @@ -237,7 +237,7 @@ self.emptyLabel.setPixmap(ericPic) self.emptyLabel.setAlignment( Qt.AlignmentFlag.AlignVCenter | Qt.AlignmentFlag.AlignHCenter) - super(TabWidget, self).addTab( + super().addTab( self.emptyLabel, UI.PixmapCache.getIcon("empty"), "") @@ -369,7 +369,7 @@ @type str """ editor = assembly.getEditor() - super(TabWidget, self).addTab( + super().addTab( assembly, UI.PixmapCache.getIcon("empty"), title) self.setTabsClosable(True) self.navigationButton.setEnabled(True) @@ -398,7 +398,7 @@ @rtype int """ editor = assembly.getEditor() - newIndex = super(TabWidget, self).insertTab( + newIndex = super().insertTab( index, assembly, UI.PixmapCache.getIcon("empty"), title) @@ -481,7 +481,7 @@ self.removeTab(index) if not self.editors: - super(TabWidget, self).addTab( + super().addTab( self.emptyLabel, UI.PixmapCache.getIcon("empty"), "") self.emptyLabel.show() self.setTabsClosable(False) @@ -563,7 +563,7 @@ if not self.editors: return None else: - return super(TabWidget, self).currentWidget() + return super().currentWidget() def setCurrentWidget(self, assembly): """ @@ -572,7 +572,7 @@ @param assembly editor assembly to determine current tab from @type EditorAssembly.EditorAssembly """ - super(TabWidget, self).setCurrentWidget(assembly) + super().setCurrentWidget(assembly) def indexOf(self, widget): """ @@ -585,7 +585,7 @@ """ if isinstance(widget, QScintilla.Editor.Editor): widget = widget.parent() - return super(TabWidget, self).indexOf(widget) + return super().indexOf(widget) def hasEditor(self, editor): """
--- a/eric6/Plugins/WizardPlugins/ColorDialogWizard/ColorDialogWizardDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/WizardPlugins/ColorDialogWizard/ColorDialogWizardDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param parent parent widget (QWidget) """ - super(ColorDialogWizardDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.bTest = self.buttonBox.addButton(
--- a/eric6/Plugins/WizardPlugins/DotDesktopWizard/DotDesktopListSelectionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/WizardPlugins/DotDesktopWizard/DotDesktopListSelectionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ the sub entry (bool) @param parent reference to the parent widget (QWidget) """ - super(DotDesktopListSelectionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) if isinstance(selectedEntries, str):
--- a/eric6/Plugins/WizardPlugins/DotDesktopWizard/DotDesktopWizardDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/WizardPlugins/DotDesktopWizard/DotDesktopWizardDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param parent reference to the parent widget (QWidget) """ - super(DotDesktopWizardDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button(
--- a/eric6/Plugins/WizardPlugins/E5MessageBoxWizard/E5MessageBoxWizardDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/WizardPlugins/E5MessageBoxWizard/E5MessageBoxWizardDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param parent reference to the parent widget (QWidget) """ - super(E5MessageBoxWizardDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) # keep the following three lists in sync
--- a/eric6/Plugins/WizardPlugins/EricPluginWizard/PluginWizardDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/WizardPlugins/EricPluginWizard/PluginWizardDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ @param parent reference to the parent widget (QWidget) """ - super(PluginWizardDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.dataTabWidget.setCurrentIndex(0)
--- a/eric6/Plugins/WizardPlugins/FileDialogWizard/FileDialogWizardDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/WizardPlugins/FileDialogWizard/FileDialogWizardDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -38,7 +38,7 @@ @param parent parent widget @type QWidget """ - super(FileDialogWizardDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.eStartWithCompleter = E5FileCompleter(self.eStartWith)
--- a/eric6/Plugins/WizardPlugins/FontDialogWizard/FontDialogWizardDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/WizardPlugins/FontDialogWizard/FontDialogWizardDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param parent parent widget (QWidget) """ - super(FontDialogWizardDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.bTest = self.buttonBox.addButton(
--- a/eric6/Plugins/WizardPlugins/InputDialogWizard/InputDialogWizardDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/WizardPlugins/InputDialogWizard/InputDialogWizardDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @param parent parent widget (QWidget) """ - super(InputDialogWizardDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) # set the validators for the double line edots
--- a/eric6/Plugins/WizardPlugins/MessageBoxWizard/MessageBoxWizardDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/WizardPlugins/MessageBoxWizard/MessageBoxWizardDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param parent parent widget (QWidget) """ - super(MessageBoxWizardDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) # keep the following three lists in sync
--- a/eric6/Plugins/WizardPlugins/PyRegExpWizard/PyRegExpWizardCharactersDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/WizardPlugins/PyRegExpWizard/PyRegExpWizardCharactersDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -41,7 +41,7 @@ @param parent parent widget (QWidget) """ - super(PyRegExpWizardCharactersDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.comboItems = []
--- a/eric6/Plugins/WizardPlugins/PyRegExpWizard/PyRegExpWizardDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/WizardPlugins/PyRegExpWizard/PyRegExpWizardDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -39,7 +39,7 @@ @param parent parent widget (QWidget) @param fromEric flag indicating a call from within eric """ - super(PyRegExpWizardWidget, self).__init__(parent) + super().__init__(parent) self.setupUi(self) # initialize icons of the tool buttons @@ -654,7 +654,7 @@ @param parent parent widget (QWidget) @param fromEric flag indicating a call from within eric """ - super(PyRegExpWizardDialog, self).__init__(parent) + super().__init__(parent) self.setModal(fromEric) self.setSizeGripEnabled(True) @@ -692,7 +692,7 @@ @param parent reference to the parent widget (QWidget) """ - super(PyRegExpWizardWindow, self).__init__(parent) + super().__init__(parent) self.cw = PyRegExpWizardWidget(self, fromEric=False) size = self.cw.size() self.setCentralWidget(self.cw)
--- a/eric6/Plugins/WizardPlugins/PyRegExpWizard/PyRegExpWizardRepeatDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/WizardPlugins/PyRegExpWizard/PyRegExpWizardRepeatDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param parent parent widget (QWidget) """ - super(PyRegExpWizardRepeatDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.unlimitedButton.setChecked(True)
--- a/eric6/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardCharactersDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardCharactersDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param parent reference to the parent widget (QWidget) """ - super(QRegularExpressionWizardCharactersDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__initCharacterSelectors()
--- a/eric6/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -44,7 +44,7 @@ @param parent parent widget (QWidget) @param fromEric flag indicating a call from within eric """ - super(QRegularExpressionWizardWidget, self).__init__(parent) + super().__init__(parent) self.setupUi(self) # initialize icons of the tool buttons @@ -795,7 +795,7 @@ @param parent parent widget (QWidget) @param fromEric flag indicating a call from within eric """ - super(QRegularExpressionWizardDialog, self).__init__(parent) + super().__init__(parent) self.setModal(fromEric) self.setSizeGripEnabled(True) @@ -827,14 +827,14 @@ Public slot to hide the dialog and set the result code to Accepted. """ self.cw.shutdown() - super(QRegularExpressionWizardDialog, self).accept() + super().accept() def reject(self): """ Public slot to hide the dialog and set the result code to Rejected. """ self.cw.shutdown() - super(QRegularExpressionWizardDialog, self).reject() + super().reject() class QRegularExpressionWizardWindow(E5MainWindow): @@ -847,7 +847,7 @@ @param parent reference to the parent widget (QWidget) """ - super(QRegularExpressionWizardWindow, self).__init__(parent) + super().__init__(parent) self.cw = QRegularExpressionWizardWidget(self, fromEric=False) size = self.cw.size() self.setCentralWidget(self.cw) @@ -867,4 +867,4 @@ @param evt close event (QCloseEvent) """ self.cw.shutdown() - super(QRegularExpressionWizardWindow, self).closeEvent(evt) + super().closeEvent(evt)
--- a/eric6/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardRepeatDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardRepeatDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param parent reference to the parent widget (QWidget) """ - super(QRegularExpressionWizardRepeatDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.unlimitedButton.setChecked(True)
--- a/eric6/Plugins/WizardPlugins/SetupWizard/SetupWizardDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/WizardPlugins/SetupWizard/SetupWizardDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -43,7 +43,7 @@ @param parent reference to the parent widget (QWidget) """ - super(SetupWizardDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__replies = []
--- a/eric6/Preferences/ConfigurationDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -46,7 +46,7 @@ @param pageName name of the configuration page (string) @param iconFile file name of the icon to be shown (string) """ - super(ConfigurationPageItem, self).__init__(parent, [text]) + super().__init__(parent, [text]) self.setIcon(0, UI.PixmapCache.getIcon(iconFile)) self.__pageName = pageName @@ -95,7 +95,7 @@ @param expandedEntries list of entries to be shown expanded (list of strings) """ - super(ConfigurationWidget, self).__init__(parent) + super().__init__(parent) if displayMode not in ( ConfigurationWidget.DefaultMode, @@ -944,7 +944,7 @@ @param expandedEntries list of entries to be shown expanded (list of strings) """ - super(ConfigurationDialog, self).__init__(parent) + super().__init__(parent) if name: self.setObjectName(name) self.setModal(modal) @@ -1017,7 +1017,7 @@ """ Public method to accept the dialog. """ - super(ConfigurationDialog, self).accept() + super().accept() class ConfigurationWindow(E5MainWindow): @@ -1030,7 +1030,7 @@ @param parent reference to the parent widget (QWidget) """ - super(ConfigurationWindow, self).__init__(parent) + super().__init__(parent) self.cw = ConfigurationWidget(self, fromEric=False) size = self.cw.size()
--- a/eric6/Preferences/ConfigurationPages/ApplicationPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/ApplicationPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -22,7 +22,7 @@ """ Constructor """ - super(ApplicationPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("ApplicationPage")
--- a/eric6/Preferences/ConfigurationPages/CondaPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/CondaPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ """ Constructor """ - super(CondaPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("CondaPage")
--- a/eric6/Preferences/ConfigurationPages/ConfigurationPageBase.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/ConfigurationPageBase.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ """ Constructor """ - super(ConfigurationPageBase, self).__init__() + super().__init__() self.__coloursDict = {}
--- a/eric6/Preferences/ConfigurationPages/CooperationPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/CooperationPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ """ Constructor """ - super(CooperationPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("CooperationPage")
--- a/eric6/Preferences/ConfigurationPages/CorbaPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/CorbaPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ """ Constructor """ - super(CorbaPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("CorbaPage")
--- a/eric6/Preferences/ConfigurationPages/DebuggerGeneralPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/DebuggerGeneralPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ """ Constructor """ - super(DebuggerGeneralPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("DebuggerGeneralPage") @@ -334,7 +334,7 @@ """ Constructor """ - super(PreviewModel, self).__init__() + super().__init__() self.bgColorNew = QBrush(QColor('#FFFFFF')) self.bgColorChanged = QBrush(QColor('#FFFFFF'))
--- a/eric6/Preferences/ConfigurationPages/DebuggerPython3Page.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/DebuggerPython3Page.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ """ Constructor """ - super(DebuggerPython3Page, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("DebuggerPython3Page")
--- a/eric6/Preferences/ConfigurationPages/DiffColoursPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/DiffColoursPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ """ Constructor """ - super(DiffColoursPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("DiffColoursPage")
--- a/eric6/Preferences/ConfigurationPages/EditorAPIsPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/EditorAPIsPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ """ Constructor """ - super(EditorAPIsPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("EditorAPIsPage")
--- a/eric6/Preferences/ConfigurationPages/EditorAutocompletionPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/EditorAutocompletionPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -22,7 +22,7 @@ """ Constructor """ - super(EditorAutocompletionPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("EditorAutocompletionPage")
--- a/eric6/Preferences/ConfigurationPages/EditorAutocompletionQScintillaPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/EditorAutocompletionQScintillaPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ """ Constructor """ - super(EditorAutocompletionQScintillaPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("EditorAutocompletionQScintillaPage")
--- a/eric6/Preferences/ConfigurationPages/EditorCalltipsPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/EditorCalltipsPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ """ Constructor """ - super(EditorCalltipsPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("EditorCalltipsPage")
--- a/eric6/Preferences/ConfigurationPages/EditorCalltipsQScintillaPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/EditorCalltipsQScintillaPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ """ Constructor """ - super(EditorCalltipsQScintillaPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("EditorCalltipsQScintillaPage")
--- a/eric6/Preferences/ConfigurationPages/EditorDocViewerPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/EditorDocViewerPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ """ Constructor """ - super(EditorDocViewerPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("EditorExportersPage")
--- a/eric6/Preferences/ConfigurationPages/EditorExportersPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/EditorExportersPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ """ Constructor """ - super(EditorExportersPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("EditorExportersPage")
--- a/eric6/Preferences/ConfigurationPages/EditorFilePage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/EditorFilePage.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ """ Constructor """ - super(EditorFilePage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("EditorFilePage")
--- a/eric6/Preferences/ConfigurationPages/EditorGeneralPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/EditorGeneralPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ """ Constructor """ - super(EditorGeneralPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("EditorGeneralPage")
--- a/eric6/Preferences/ConfigurationPages/EditorHighlightersPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/EditorHighlightersPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param lexers reference to the lexers dictionary """ - super(EditorHighlightersPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("EditorHighlightersPage")
--- a/eric6/Preferences/ConfigurationPages/EditorHighlightingStylesPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/EditorHighlightingStylesPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -49,7 +49,7 @@ @param lexers reference to the lexers dictionary """ - super(EditorHighlightingStylesPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("EditorHighlightingStylesPage")
--- a/eric6/Preferences/ConfigurationPages/EditorHighlightingStylesSelectionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/EditorHighlightingStylesSelectionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -36,7 +36,7 @@ @param parent reference to the parent widget @type QWidget """ - super(EditorHighlightingStylesSelectionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__selectAllButton = self.buttonBox.addButton(
--- a/eric6/Preferences/ConfigurationPages/EditorKeywordsPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/EditorKeywordsPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ """ Constructor """ - super(EditorKeywordsPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("EditorKeywordsPage")
--- a/eric6/Preferences/ConfigurationPages/EditorLanguageTabIndentOverrideDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/EditorLanguageTabIndentOverrideDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -45,7 +45,7 @@ @keyparam parent reference to the parent widget @type QWidget """ - super(EditorLanguageTabIndentOverrideDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__extras = ["-----------", self.tr("Alternative")]
--- a/eric6/Preferences/ConfigurationPages/EditorMouseClickHandlerPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/EditorMouseClickHandlerPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -22,7 +22,7 @@ """ Constructor """ - super(EditorMouseClickHandlerPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("EditorMouseClickHandlerPage")
--- a/eric6/Preferences/ConfigurationPages/EditorPropertiesPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/EditorPropertiesPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param lexers reference to the lexers dictionary """ - super(EditorPropertiesPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("EditorPropertiesPage")
--- a/eric6/Preferences/ConfigurationPages/EditorSearchPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/EditorSearchPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -21,7 +21,7 @@ """ Constructor """ - super(EditorSearchPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("EditorSearchPage")
--- a/eric6/Preferences/ConfigurationPages/EditorSpellCheckingPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/EditorSpellCheckingPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ """ Constructor """ - super(EditorSpellCheckingPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("EditorSpellCheckingPage")
--- a/eric6/Preferences/ConfigurationPages/EditorStylesPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/EditorStylesPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ """ Constructor """ - super(EditorStylesPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("EditorStylesPage")
--- a/eric6/Preferences/ConfigurationPages/EditorSyntaxPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/EditorSyntaxPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -21,7 +21,7 @@ """ Constructor """ - super(EditorSyntaxPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("EditorSyntaxPage")
--- a/eric6/Preferences/ConfigurationPages/EditorTypingPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/EditorTypingPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ """ Constructor """ - super(EditorTypingPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("EditorTypingPage")
--- a/eric6/Preferences/ConfigurationPages/EmailPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/EmailPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ """ Constructor """ - super(EmailPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("EmailPage")
--- a/eric6/Preferences/ConfigurationPages/GraphicsPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/GraphicsPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ """ Constructor """ - super(GraphicsPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("GraphicsPage")
--- a/eric6/Preferences/ConfigurationPages/HelpDocumentationPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/HelpDocumentationPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ """ Constructor """ - super(HelpDocumentationPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("HelpDocumentationPage")
--- a/eric6/Preferences/ConfigurationPages/HelpViewersPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/HelpViewersPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ """ Constructor """ - super(HelpViewersPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("HelpViewersPage")
--- a/eric6/Preferences/ConfigurationPages/HexEditorPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/HexEditorPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ """ Constructor """ - super(HexEditorPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("HexEditorPage")
--- a/eric6/Preferences/ConfigurationPages/IconsPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/IconsPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ """ Constructor """ - super(IconsPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("IconsPage")
--- a/eric6/Preferences/ConfigurationPages/IconsPreviewDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/IconsPreviewDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @param parent parent widget @type QWidget """ - super(IconsPreviewDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) palette = self.iconView.palette()
--- a/eric6/Preferences/ConfigurationPages/InterfacePage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/InterfacePage.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ """ Constructor """ - super(InterfacePage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("InterfacePage")
--- a/eric6/Preferences/ConfigurationPages/IrcPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/IrcPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ """ Constructor """ - super(IrcPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("IrcPage")
--- a/eric6/Preferences/ConfigurationPages/LogViewerPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/LogViewerPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param parent reference to the parent widget (QWidget) """ - super(LogViewerPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("LogViewerPage")
--- a/eric6/Preferences/ConfigurationPages/MasterPasswordEntryDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/MasterPasswordEntryDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param oldPasswordHash hash of the current password (string) @param parent reference to the parent widget (QWidget) """ - super(MasterPasswordEntryDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__oldPasswordHash = oldPasswordHash
--- a/eric6/Preferences/ConfigurationPages/MicroPythonPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/MicroPythonPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @param parent reference to the parent widget @type QWidget """ - super(MicroPythonPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("MicroPythonPage")
--- a/eric6/Preferences/ConfigurationPages/MimeTypesPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/MimeTypesPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ """ Constructor """ - super(MimeTypesPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("MimeTypesPage")
--- a/eric6/Preferences/ConfigurationPages/MultiProjectPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/MultiProjectPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ """ Constructor """ - super(MultiProjectPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("MultiProjectPage")
--- a/eric6/Preferences/ConfigurationPages/NetworkPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/NetworkPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param configDialog reference to the configuration dialog (ConfigurationDialog) """ - super(NetworkPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("NetworkPage")
--- a/eric6/Preferences/ConfigurationPages/NotificationsPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/NotificationsPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ """ Constructor """ - super(NotificationsPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("NotificationsPage")
--- a/eric6/Preferences/ConfigurationPages/PipPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/PipPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ """ Constructor """ - super(PipPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("PipPage")
--- a/eric6/Preferences/ConfigurationPages/PluginManagerPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/PluginManagerPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ """ Constructor """ - super(PluginManagerPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("PluginManagerPage")
--- a/eric6/Preferences/ConfigurationPages/PrinterPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/PrinterPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ """ Constructor """ - super(PrinterPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("PrinterPage")
--- a/eric6/Preferences/ConfigurationPages/ProjectBrowserPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/ProjectBrowserPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ """ Constructor """ - super(ProjectBrowserPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("ProjectBrowserPage")
--- a/eric6/Preferences/ConfigurationPages/ProjectPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/ProjectPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -21,7 +21,7 @@ """ Constructor """ - super(ProjectPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("ProjectPage")
--- a/eric6/Preferences/ConfigurationPages/ProtobufPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/ProtobufPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ """ Constructor """ - super(ProtobufPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("ProtobufPage")
--- a/eric6/Preferences/ConfigurationPages/PythonPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/PythonPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ """ Constructor """ - super(PythonPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("PythonPage")
--- a/eric6/Preferences/ConfigurationPages/QtPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/QtPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ """ Constructor """ - super(QtPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("QtPage")
--- a/eric6/Preferences/ConfigurationPages/SecurityPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/SecurityPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param configDialog reference to the configuration dialog (ConfigurationDialog) """ - super(SecurityPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("SecurityPage")
--- a/eric6/Preferences/ConfigurationPages/ShellPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/ShellPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ """ Constructor """ - super(ShellPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("ShellPage")
--- a/eric6/Preferences/ConfigurationPages/TasksPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/TasksPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -21,7 +21,7 @@ """ Constructor """ - super(TasksPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("TasksPage")
--- a/eric6/Preferences/ConfigurationPages/TemplatesPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/TemplatesPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ """ Constructor """ - super(TemplatesPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("TemplatesPage")
--- a/eric6/Preferences/ConfigurationPages/TrayStarterPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/TrayStarterPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ """ Constructor """ - super(TrayStarterPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("TrayStarterPage")
--- a/eric6/Preferences/ConfigurationPages/VcsPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/VcsPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -21,7 +21,7 @@ """ Constructor """ - super(VcsPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("VcsPage")
--- a/eric6/Preferences/ConfigurationPages/ViewmanagerPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/ViewmanagerPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ """ Constructor """ - super(ViewmanagerPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("ViewmanagerPage")
--- a/eric6/Preferences/ConfigurationPages/WebBrowserAppearancePage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/WebBrowserAppearancePage.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ """ Constructor """ - super(WebBrowserAppearancePage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("WebBrowserAppearancePage")
--- a/eric6/Preferences/ConfigurationPages/WebBrowserInterfacePage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/WebBrowserInterfacePage.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ """ Constructor """ - super(WebBrowserInterfacePage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("InterfacePage")
--- a/eric6/Preferences/ConfigurationPages/WebBrowserPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/WebBrowserPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param configDialog reference to the configuration dialog (ConfigurationDialog) """ - super(WebBrowserPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("WebBrowserPage")
--- a/eric6/Preferences/ConfigurationPages/WebBrowserSpellCheckingPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/WebBrowserSpellCheckingPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ """ Constructor """ - super(WebBrowserSpellCheckingPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("WebBrowserSpellCheckingPage")
--- a/eric6/Preferences/ConfigurationPages/WebBrowserVirusTotalPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ConfigurationPages/WebBrowserVirusTotalPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ """ Constructor """ - super(WebBrowserVirusTotalPage, self).__init__() + super().__init__() self.setupUi(self) self.setObjectName("HelpVirusTotalPage")
--- a/eric6/Preferences/HighlightingStylesFile.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/HighlightingStylesFile.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @param parent reference to the parent object (defaults to None) @type QObject (optional) """ - super(HighlightingStylesFile, self).__init__(parent) + super().__init__(parent) self.__lexerAliases = { "PO": "Gettext",
--- a/eric6/Preferences/MouseClickDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/MouseClickDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param parent reference to the parent widget @type QWidget """ - super(MouseClickDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setModal(True)
--- a/eric6/Preferences/PreferencesLexer.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/PreferencesLexer.py Sat Apr 10 18:38:27 2021 +0200 @@ -77,7 +77,7 @@ @exception PreferencesLexerLanguageError raised to indicate an invalid lexer language """ - super(PreferencesLexer, self).__init__(parent) + super().__init__(parent) # These default font families are taken from QScintilla if Globals.isWindowsPlatform():
--- a/eric6/Preferences/ProgramsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ProgramsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -37,7 +37,7 @@ @param parent The parent widget of this dialog. (QWidget) """ - super(ProgramsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setObjectName("ProgramsDialog") self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/Preferences/ShortcutDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ShortcutDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param name The name of this dialog. (string) @param modal Flag indicating a modal dialog. (boolean) """ - super(ShortcutDialog, self).__init__(parent) + super().__init__(parent) if name: self.setObjectName(name) self.setModal(modal)
--- a/eric6/Preferences/ShortcutsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ShortcutsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -44,7 +44,7 @@ @param parent parent widget of this dialog @type QWidget """ - super(ShortcutsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/Preferences/ShortcutsFile.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ShortcutsFile.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param parent reference to the parent object (defaults to None) @type QObject (optional) """ - super(ShortcutsFile, self).__init__(parent) + super().__init__(parent) def __addActionsToDict(self, category: str, actions: list, actionsDict: dict):
--- a/eric6/Preferences/SubstyleDefinitionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/SubstyleDefinitionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ @param parent reference to the parent widget @type QWidget """ - super(SubstyleDefinitionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__lexer = lexer
--- a/eric6/Preferences/ToolConfigurationDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ToolConfigurationDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param toollist list of configured tools @param parent parent widget (QWidget) """ - super(ToolConfigurationDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.iconPicker.setMode(E5PathPickerModes.OpenFileMode)
--- a/eric6/Preferences/ToolGroupConfigurationDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ToolGroupConfigurationDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @param currentGroup number of the active group (integer) @param parent parent widget (QWidget) """ - super(ToolGroupConfigurationDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.currentGroup = currentGroup
--- a/eric6/Preferences/ViewProfileDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Preferences/ViewProfileDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param parent parent widget of this dialog (QWidget) @exception ValueError raised to indicate an invalid layout """ - super(ViewProfileDialog, self).__init__(parent) + super().__init__(parent) if layout not in ("Toolboxes", "Sidebars"): raise ValueError(
--- a/eric6/Project/AddDirectoryDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Project/AddDirectoryDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param name name of this dialog (string) @param startdir start directory for the selection dialog """ - super(AddDirectoryDialog, self).__init__(parent) + super().__init__(parent) if name: self.setObjectName(name) self.setupUi(self)
--- a/eric6/Project/AddFileDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Project/AddFileDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ @param name name of this dialog (string) @param startdir start directory for the selection dialog """ - super(AddFileDialog, self).__init__(parent) + super().__init__(parent) if name: self.setObjectName(name) self.setupUi(self)
--- a/eric6/Project/AddFoundFilesDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Project/AddFoundFilesDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param parent parent widget of this dialog (QWidget) @param name name of this dialog (string) """ - super(AddFoundFilesDialog, self).__init__(parent) + super().__init__(parent) if name: self.setObjectName(name) self.setupUi(self)
--- a/eric6/Project/AddLanguageDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Project/AddLanguageDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param parent parent widget of this dialog (QWidget) @param name name of this dialog (string) """ - super(AddLanguageDialog, self).__init__(parent) + super().__init__(parent) if name: self.setObjectName(name) self.setupUi(self)
--- a/eric6/Project/CreateDialogCodeDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Project/CreateDialogCodeDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -57,7 +57,7 @@ @param project reference to the project object @param parent parent widget if the dialog (QWidget) """ - super(CreateDialogCodeDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.okButton = self.buttonBox.button(
--- a/eric6/Project/DebuggerPropertiesDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Project/DebuggerPropertiesDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -38,7 +38,7 @@ @param parent parent widget of this dialog (QWidget) @param name name of this dialog (string) """ - super(DebuggerPropertiesDialog, self).__init__(parent) + super().__init__(parent) if name: self.setObjectName(name) self.setupUi(self)
--- a/eric6/Project/DebuggerPropertiesFile.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Project/DebuggerPropertiesFile.py Sat Apr 10 18:38:27 2021 +0200 @@ -35,7 +35,7 @@ @param parent reference to the parent object (defaults to None) @type QObject (optional) """ - super(DebuggerPropertiesFile, self).__init__(parent) + super().__init__(parent) self.__project = project def writeFile(self, filename: str) -> bool:
--- a/eric6/Project/FiletypeAssociationDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Project/FiletypeAssociationDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param project reference to the project object @param parent reference to the parent widget (QWidget) """ - super(FiletypeAssociationDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.filetypeAssociationList.headerItem().setText(
--- a/eric6/Project/IdlCompilerDefineNameDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Project/IdlCompilerDefineNameDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param parent reference to the parent widget @type QWidget """ - super(IdlCompilerDefineNameDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.nameEdit.setText(name)
--- a/eric6/Project/IdlCompilerOptionsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Project/IdlCompilerOptionsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -41,7 +41,7 @@ @param parent reference to the parent widget @type QWidget """ - super(IdlCompilerOptionsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__project = project
--- a/eric6/Project/LexerAssociationDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Project/LexerAssociationDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param project reference to the project object @param parent reference to the parent widget (QWidget) """ - super(LexerAssociationDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.editorLexerList.headerItem().setText(
--- a/eric6/Project/MakePropertiesDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Project/MakePropertiesDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @param parent reference to the parent widget of this dialog @type QWidget """ - super(MakePropertiesDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__project = project
--- a/eric6/Project/NewDialogClassDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Project/NewDialogClassDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param defaultPath default path for the new file (string) @param parent parent widget if the dialog (QWidget) """ - super(NewDialogClassDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.pathnamePicker.setMode(E5PathPickerModes.DirectoryMode)
--- a/eric6/Project/NewPythonPackageDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Project/NewPythonPackageDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ (string) @param parent reference to the parent widget (QWidget) """ - super(NewPythonPackageDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.okButton = self.buttonBox.button(
--- a/eric6/Project/Project.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Project/Project.py Sat Apr 10 18:38:27 2021 +0200 @@ -168,7 +168,7 @@ @param parent parent widget (usually the ui object) (QWidget) @param filename optional filename of a project file to open (string) """ - super(Project, self).__init__(parent) + super().__init__(parent) self.ui = parent
--- a/eric6/Project/ProjectBrowserModel.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Project/ProjectBrowserModel.py Sat Apr 10 18:38:27 2021 +0200 @@ -233,7 +233,7 @@ @param parent reference to parent object (Project.Project) """ - super(ProjectBrowserModel, self).__init__(parent, nopopulate=True) + super().__init__(parent, nopopulate=True) rootData = self.tr("Name") self.rootItem = BrowserItem(None, rootData)
--- a/eric6/Project/ProjectFile.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Project/ProjectFile.py Sat Apr 10 18:38:27 2021 +0200 @@ -35,7 +35,7 @@ @param parent reference to the parent object (defaults to None) @type QObject (optional) """ - super(ProjectFile, self).__init__(parent) + super().__init__(parent) self.__project = project def writeFile(self, filename: str) -> bool:
--- a/eric6/Project/PropertiesDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Project/PropertiesDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -37,7 +37,7 @@ @param parent parent widget of this dialog (QWidget) @param name name of this dialog (string) """ - super(PropertiesDialog, self).__init__(parent) + super().__init__(parent) if name: self.setObjectName(name) self.setupUi(self)
--- a/eric6/Project/QuickFindFileDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Project/QuickFindFileDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -46,7 +46,7 @@ @param parent parent widget of this dialog @type QWidget """ - super(QuickFindFileDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.fileList.headerItem().setText(self.fileList.columnCount(), "") @@ -279,4 +279,4 @@ self.fileNameEdit.selectAll() self.fileNameEdit.setFocus() - super(QuickFindFileDialog, self).show() + super().show()
--- a/eric6/Project/RccCompilerOptionsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Project/RccCompilerOptionsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param parent reference to the parent widget @type QWidget """ - super(RccCompilerOptionsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.thresholdSpinBox.setValue(compilerOptions["CompressionThreshold"])
--- a/eric6/Project/SpellingPropertiesDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Project/SpellingPropertiesDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param new flag indicating the generation of a new project @param parent parent widget of this dialog (QWidget) """ - super(SpellingPropertiesDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.pwlPicker.setMode(E5PathPickerModes.SaveFileMode)
--- a/eric6/Project/TranslationPropertiesDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Project/TranslationPropertiesDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param new flag indicating the generation of a new project @param parent parent widget of this dialog (QWidget) """ - super(TranslationPropertiesDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.transPatternPicker.setMode(E5PathPickerModes.SaveFileMode)
--- a/eric6/Project/UicCompilerOptionsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Project/UicCompilerOptionsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param parent reference to the parent widget @type QWidget """ - super(UicCompilerOptionsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.packageEdit.setText(compilerOptions["Package"])
--- a/eric6/Project/UserProjectFile.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Project/UserProjectFile.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param parent reference to the parent object (defaults to None) @type QObject (optional) """ - super(UserProjectFile, self).__init__(parent) + super().__init__(parent) self.__project = project def writeFile(self, filename: str) -> bool:
--- a/eric6/Project/UserPropertiesDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Project/UserPropertiesDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param parent parent widget of this dialog (QWidget) @param name name of this dialog (string) """ - super(UserPropertiesDialog, self).__init__(parent) + super().__init__(parent) if name: self.setObjectName(name) self.setupUi(self)
--- a/eric6/PyUnit/UnittestDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/PyUnit/UnittestDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -71,7 +71,7 @@ @param name name of this dialog @type str """ - super(UnittestDialog, self).__init__(parent) + super().__init__(parent) if name: self.setObjectName(name) self.setupUi(self) @@ -1252,7 +1252,7 @@ @param failfast flag indicating to stop at the first error @type bool """ - super(QtTestResult, self).__init__() + super().__init__() self.parent = parent self.failfast = failfast @@ -1263,7 +1263,7 @@ @param test reference to the test object @param err error traceback """ - super(QtTestResult, self).addFailure(test, err) + super().addFailure(test, err) tracebackLines = self._exc_info_to_string(err, test) self.parent.testFailed(str(test), tracebackLines, test.id()) @@ -1274,7 +1274,7 @@ @param test reference to the test object @param err error traceback """ - super(QtTestResult, self).addError(test, err) + super().addError(test, err) tracebackLines = self._exc_info_to_string(err, test) self.parent.testErrored(str(test), tracebackLines, test.id()) @@ -1285,7 +1285,7 @@ @param test reference to the test object @param reason reason for skipping the test (string) """ - super(QtTestResult, self).addSkip(test, reason) + super().addSkip(test, reason) self.parent.testSkipped(str(test), reason, test.id()) def addExpectedFailure(self, test, err): @@ -1295,7 +1295,7 @@ @param test reference to the test object @param err error traceback """ - super(QtTestResult, self).addExpectedFailure(test, err) + super().addExpectedFailure(test, err) tracebackLines = self._exc_info_to_string(err, test) self.parent.testFailedExpected(str(test), tracebackLines, test.id()) @@ -1305,7 +1305,7 @@ @param test reference to the test object """ - super(QtTestResult, self).addUnexpectedSuccess(test) + super().addUnexpectedSuccess(test) self.parent.testSucceededUnexpected(str(test), test.id()) def startTest(self, test): @@ -1314,7 +1314,7 @@ @param test Reference to the test object """ - super(QtTestResult, self).startTest(test) + super().startTest(test) self.parent.testStarted(str(test), test.shortDescription()) def stopTest(self, test): @@ -1323,7 +1323,7 @@ @param test Reference to the test object """ - super(QtTestResult, self).stopTest(test) + super().stopTest(test) self.parent.testFinished() @@ -1338,7 +1338,7 @@ @param prog filename of the program to open @param parent reference to the parent widget (QWidget) """ - super(UnittestWindow, self).__init__(parent) + super().__init__(parent) self.cw = UnittestDialog(prog, parent=self) self.cw.installEventFilter(self) size = self.cw.size()
--- a/eric6/QScintilla/APIsManager.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/APIsManager.py Sat Apr 10 18:38:27 2021 +0200 @@ -47,7 +47,7 @@ @param parent reference to the parent object @type QObject """ - super(APIs, self).__init__(parent) + super().__init__(parent) if projectType: self.setObjectName("APIs_{0}_{1}".format(language, projectType)) else: @@ -259,7 +259,7 @@ @param parent reference to the parent object (QObject) """ - super(APIsManager, self).__init__(parent) + super().__init__(parent) self.setObjectName("APIsManager") self.__apis = {}
--- a/eric6/QScintilla/DocstringGenerator/BaseDocstringGenerator.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/DocstringGenerator/BaseDocstringGenerator.py Sat Apr 10 18:38:27 2021 +0200 @@ -214,7 +214,7 @@ @param editor reference to the editor @type Editor """ - super(DocstringMenuForEnterOnly, self).__init__(editor) + super().__init__(editor) self.__editor = editor def keyPressEvent(self, evt): @@ -229,4 +229,4 @@ self.__editor.keyPressEvent(evt) self.close() else: - super(DocstringMenuForEnterOnly, self).keyPressEvent(evt) + super().keyPressEvent(evt)
--- a/eric6/QScintilla/DocstringGenerator/PyDocstringGenerator.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/DocstringGenerator/PyDocstringGenerator.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param editor reference to the editor widget @type Editor """ - super(PyDocstringGenerator, self).__init__(editor) + super().__init__(editor) self.__quote3 = '"""' self.__quote3Alternate = "'''" @@ -467,7 +467,7 @@ """ Constructor """ - super(PyFunctionInfo, self).__init__() + super().__init__() def __isCharInPairs(self, posChar, pairs): """
--- a/eric6/QScintilla/Editor.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/Editor.py Sat Apr 10 18:38:27 2021 +0200 @@ -193,7 +193,7 @@ @type QWidget @exception OSError raised to indicate an issue accessing the file """ - super(Editor, self).__init__(parent) + super().__init__(parent) self.setAttribute(Qt.WidgetAttribute.WA_KeyCompression) self.setUtf8(True) @@ -5315,7 +5315,7 @@ if bool(self.__ctHookFunctions): self.__callTip() else: - super(Editor, self).callTip() + super().callTip() def __callTip(self): """ @@ -5365,7 +5365,7 @@ if len(callTips) == 0: if Preferences.getEditor("CallTipsScintillaOnFail"): # try QScintilla calltips - super(Editor, self).callTip() + super().callTip() return ctshift = 0 @@ -6968,7 +6968,7 @@ """ Public method to undo the last recorded change. """ - super(Editor, self).undo() + super().undo() self.undoAvailable.emit(self.isUndoAvailable()) self.redoAvailable.emit(self.isRedoAvailable()) @@ -6976,7 +6976,7 @@ """ Public method to redo the last recorded change. """ - super(Editor, self).redo() + super().redo() self.undoAvailable.emit(self.isUndoAvailable()) self.redoAvailable.emit(self.isRedoAvailable()) @@ -7031,7 +7031,7 @@ if self.fileName: self.taskViewer.clearFileTasks(self.fileName, True) - super(Editor, self).close() + super().close() def keyPressEvent(self, ev): """ @@ -7072,7 +7072,7 @@ ev.accept() return - super(Editor, self).keyPressEvent(ev) + super().keyPressEvent(ev) else: ev.ignore() @@ -7133,7 +7133,7 @@ self.setCursorFlashTime(QApplication.cursorFlashTime()) - super(Editor, self).focusInEvent(event) + super().focusInEvent(event) def focusOutEvent(self, event): """ @@ -7145,7 +7145,7 @@ self.vm.editorActGrp.setEnabled(False) self.setCaretWidth(0) - super(Editor, self).focusOutEvent(event) + super().focusOutEvent(event) def changeEvent(self, evt): """ @@ -7175,7 +7175,7 @@ cap = self.tr("{0} (ro)").format(cap) self.setWindowTitle(cap) - super(Editor, self).changeEvent(evt) + super().changeEvent(evt) def mousePressEvent(self, event): """ @@ -7185,7 +7185,7 @@ @type QMouseEvent """ self.vm.eventFilter(self, event) - super(Editor, self).mousePressEvent(event) + super().mousePressEvent(event) def mouseDoubleClickEvent(self, evt): """ @@ -7194,7 +7194,7 @@ @param evt reference to the mouse event @type QMouseEvent """ - super(Editor, self).mouseDoubleClickEvent(evt) + super().mouseDoubleClickEvent(evt) self.mouseDoubleClick.emit(evt.pos(), evt.buttons()) @@ -7222,7 +7222,7 @@ evt.accept() return - super(Editor, self).wheelEvent(evt) + super().wheelEvent(evt) def event(self, evt): """ @@ -7237,7 +7237,7 @@ self.gestureEvent(evt) return True - return super(Editor, self).event(evt) + return super().event(evt) def gestureEvent(self, evt): """ @@ -7269,7 +7269,7 @@ @param evt reference to the resize event @type QResizeEvent """ - super(Editor, self).resizeEvent(evt) + super().resizeEvent(evt) self.__markerMap.calculateGeometry() def viewportEvent(self, evt): @@ -7287,7 +7287,7 @@ # ignore this - there seems to be a runtime issue when the editor # is created pass - return super(Editor, self).viewportEvent(evt) + return super().viewportEvent(evt) def __updateReadOnly(self, bForce=True): """ @@ -7397,7 +7397,7 @@ Public method to set the styles according the selected Qt style or the selected editor colours. """ - super(Editor, self).clearStyles() + super().clearStyles() if Preferences.getEditor("OverrideEditAreaColours"): self.setColor(Preferences.getEditorColour("EditAreaForeground")) self.setPaper(Preferences.getEditorColour("EditAreaBackground")) @@ -7416,7 +7416,7 @@ if self.inDragDrop: event.acceptProposedAction() else: - super(Editor, self).dragEnterEvent(event) + super().dragEnterEvent(event) def dragMoveEvent(self, event): """ @@ -7427,7 +7427,7 @@ if self.inDragDrop: event.accept() else: - super(Editor, self).dragMoveEvent(event) + super().dragMoveEvent(event) def dragLeaveEvent(self, event): """ @@ -7439,7 +7439,7 @@ self.inDragDrop = False event.accept() else: - super(Editor, self).dragLeaveEvent(event) + super().dragLeaveEvent(event) def dropEvent(self, event): """ @@ -7461,7 +7461,7 @@ .format(fname)) event.acceptProposedAction() else: - super(Editor, self).dropEvent(event) + super().dropEvent(event) self.inDragDrop = False @@ -7734,7 +7734,7 @@ if text in matchingPairs: self.delete() - super(Editor, self).editorCommand(cmd) + super().editorCommand(cmd) def __applyTemplate(self, templateName, language): """ @@ -8471,7 +8471,7 @@ key = (int(modifiers), int(button)) self.vm.eventFilter(self, evt) - super(Editor, self).mouseReleaseEvent(evt) + super().mouseReleaseEvent(evt) if ( button != Qt.MouseButton.NoButton and
--- a/eric6/QScintilla/EditorAssembly.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/EditorAssembly.py Sat Apr 10 18:38:27 2021 +0200 @@ -41,7 +41,7 @@ @param tv reference to the task viewer object @type TaskViewer """ - super(EditorAssembly, self).__init__() + super().__init__() self.__layout = QGridLayout(self) self.__layout.setContentsMargins(0, 0, 0, 0)
--- a/eric6/QScintilla/EditorButtonsWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/EditorButtonsWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param parent reference to the parent widget @type QWidget """ - super(EditorButtonsWidget, self).__init__(parent) + super().__init__(parent) margin = 2 spacing = 3 @@ -105,7 +105,7 @@ """ Public slot to show the widget. """ - super(EditorButtonsWidget, self).show() + super().show() self.__enableScrollerButtons() def resizeEvent(self, evt): @@ -115,7 +115,7 @@ @param evt reference to the resize event (QResizeEvent) """ self.__enableScrollerButtons() - super(EditorButtonsWidget, self).resizeEvent(evt) + super().resizeEvent(evt) ####################################################################### ## Methods below implement scroller related functions
--- a/eric6/QScintilla/EditorMarkerMap.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/EditorMarkerMap.py Sat Apr 10 18:38:27 2021 +0200 @@ -22,7 +22,7 @@ @param parent reference to the parent widget (QWidget) """ - super(EditorMarkerMap, self).__init__(parent) + super().__init__(parent) self.setWhatsThis(self.tr( """<b>Editor Map</b>"""
--- a/eric6/QScintilla/EditorOutline.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/EditorOutline.py Sat Apr 10 18:38:27 2021 +0200 @@ -37,7 +37,7 @@ @param parent reference to the parent widget @type QWidget """ - super(EditorOutlineView, self).__init__(parent) + super().__init__(parent) self.__model = EditorOutlineModel(editor, populate=populate) self.__sortModel = BrowserSortFilterProxyModel()
--- a/eric6/QScintilla/EditorOutlineModel.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/EditorOutlineModel.py Sat Apr 10 18:38:27 2021 +0200 @@ -38,7 +38,7 @@ @param populate flag indicating to populate the outline @type bool """ - super(EditorOutlineModel, self).__init__(nopopulate=True) + super().__init__(nopopulate=True) self.__editor = editor
--- a/eric6/QScintilla/Exporters/ExporterBase.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/Exporters/ExporterBase.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param editor reference to the editor object (QScintilla.Editor.Editor) @param parent parent object of the exporter (QObject) """ - super(ExporterBase, self).__init__(parent) + super().__init__(parent) self.editor = editor def _getFileName(self, fileFilter):
--- a/eric6/QScintilla/GotoDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/GotoDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param name name of this dialog (string) @param modal flag indicating a modal dialog (boolean) """ - super(GotoDialog, self).__init__(parent) + super().__init__(parent) if name: self.setObjectName(name) self.setupUi(self)
--- a/eric6/QScintilla/Lexers/LexerPygments.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/Lexers/LexerPygments.py Sat Apr 10 18:38:27 2021 +0200 @@ -182,7 +182,7 @@ @param parent parent widget of this lexer @param name name of the pygments lexer to use (string) """ - super(LexerPygments, self).__init__(parent) + super().__init__(parent) self.__inReadSettings = False @@ -327,7 +327,7 @@ @type str (optional) """ self.__inReadSettings = True - super(LexerPygments, self).readSettings(qs, prefix=prefix) + super().readSettings(qs, prefix=prefix) self.__inReadSettings = False def language(self):
--- a/eric6/QScintilla/Lexers/SubstyledLexer.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/Lexers/SubstyledLexer.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ """ Constructor """ - super(SubstyledLexer, self).__init__() + super().__init__() self.baseStyles = [] # list of style numbers, that support sub-styling
--- a/eric6/QScintilla/MarkupProviders/HtmlProvider.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/MarkupProviders/HtmlProvider.py Sat Apr 10 18:38:27 2021 +0200 @@ -21,7 +21,7 @@ """ Constructor """ - super(HtmlProvider, self).__init__() + super().__init__() def kind(self): """
--- a/eric6/QScintilla/MarkupProviders/HyperlinkMarkupDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/MarkupProviders/HyperlinkMarkupDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param parent reference to the parent widget @type QWidget """ - super(HyperlinkMarkupDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__allowEmptyText = textMayBeEmpty
--- a/eric6/QScintilla/MarkupProviders/ImageMarkupDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/MarkupProviders/ImageMarkupDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param parent reference to the parent widget @type QWidget """ - super(ImageMarkupDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) if mode == ImageMarkupDialog.MarkDownMode:
--- a/eric6/QScintilla/MarkupProviders/MarkdownProvider.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/MarkupProviders/MarkdownProvider.py Sat Apr 10 18:38:27 2021 +0200 @@ -21,7 +21,7 @@ """ Constructor """ - super(MarkdownProvider, self).__init__() + super().__init__() def kind(self): """
--- a/eric6/QScintilla/MarkupProviders/RestructuredTextProvider.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/MarkupProviders/RestructuredTextProvider.py Sat Apr 10 18:38:27 2021 +0200 @@ -21,7 +21,7 @@ """ Constructor """ - super(RestructuredTextProvider, self).__init__() + super().__init__() self.__headerChars = ["=", "-", "~", "+", "#", "^"]
--- a/eric6/QScintilla/MiniEditor.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/MiniEditor.py Sat Apr 10 18:38:27 2021 +0200 @@ -67,7 +67,7 @@ @param parent parent widget @type QWidget """ - super(MiniScintilla, self).__init__(parent) + super().__init__(parent) self.mw = parent @@ -94,7 +94,7 @@ if text in matchingPairs: self.delete() - super(MiniScintilla, self).editorCommand(cmd) + super().editorCommand(cmd) def keyPressEvent(self, ev): """ @@ -135,7 +135,7 @@ ev.accept() return - super(MiniScintilla, self).keyPressEvent(ev) + super().keyPressEvent(ev) else: ev.ignore() @@ -159,7 +159,7 @@ self.setCursorFlashTime(QApplication.cursorFlashTime()) - super(MiniScintilla, self).focusInEvent(event) + super().focusInEvent(event) def focusOutEvent(self, event): """ @@ -171,7 +171,7 @@ self.mw.editorActGrp.setEnabled(False) self.setCaretWidth(0) - super(MiniScintilla, self).focusOutEvent(event) + super().focusOutEvent(event) def removeTrailingWhitespace(self): """ @@ -216,7 +216,7 @@ @param parent reference to the parent widget (QWidget) @param name object name of the window (string) """ - super(MiniEditor, self).__init__(parent) + super().__init__(parent) if name is not None: self.setObjectName(name) self.setWindowIcon(UI.PixmapCache.getIcon("editor")) @@ -2740,7 +2740,7 @@ if "[*]" not in self.windowTitle(): self.setWindowTitle(self.tr("[*] - {0}") .format(self.tr("Mini Editor"))) - super(MiniEditor, self).setWindowModified(modified) + super().setWindowModified(modified) def __setCurrentFile(self, fileName): """
--- a/eric6/QScintilla/Printer.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/Printer.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param mode mode of the printer (QPrinter.PrinterMode) """ - super(Printer, self).__init__(mode) + super().__init__(mode) self.setMagnification(Preferences.getPrinter("Magnification")) if Preferences.getPrinter("ColorMode"):
--- a/eric6/QScintilla/QsciScintillaCompat.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/QsciScintillaCompat.py Sat Apr 10 18:38:27 2021 +0200 @@ -54,7 +54,7 @@ @param parent parent widget (QWidget) """ - super(QsciScintillaCompat, self).__init__(parent) + super().__init__(parent) self.zoom = 0 @@ -98,7 +98,7 @@ @param m new modification status (boolean) """ self.__modified = m - super(QsciScintillaCompat, self).setModified(m) + super().setModified(m) self.modificationChanged.emit(m) def setLexer(self, lex=None): @@ -107,7 +107,7 @@ @param lex the lexer to be set or None to reset it. """ - super(QsciScintillaCompat, self).setLexer(lex) + super().setLexer(lex) if lex is None: self.clearStyles() @@ -378,7 +378,7 @@ @param zoom zoom factor increment (integer) """ - super(QsciScintillaCompat, self).zoomIn(zoom) + super().zoomIn(zoom) def zoomOut(self, zoom=1): """ @@ -386,7 +386,7 @@ @param zoom zoom factor decrement (integer) """ - super(QsciScintillaCompat, self).zoomOut(zoom) + super().zoomOut(zoom) def zoomTo(self, zoom): """ @@ -395,7 +395,7 @@ @param zoom zoom factor (integer) """ self.zoom = zoom - super(QsciScintillaCompat, self).zoomTo(zoom) + super().zoomTo(zoom) self.zoomValueChanged.emit(self.zoom) def getZoom(self): @@ -1309,9 +1309,9 @@ @param margin margin number (integer) """ if style < self.ArrowFoldStyle: - super(QsciScintillaCompat, self).setFolding(style, margin) + super().setFolding(style, margin) else: - super(QsciScintillaCompat, self).setFolding( + super().setFolding( QsciScintilla.FoldStyle.PlainFoldStyle, margin) if style == self.ArrowFoldStyle: @@ -1459,7 +1459,7 @@ else: self.SendScintilla(QsciScintilla.SCI_CALLTIPCANCEL) - super(QsciScintillaCompat, self).focusOutEvent(event) + super().focusOutEvent(event) def event(self, evt): """ @@ -1519,21 +1519,21 @@ """ Public method to resize list box after creation. """ - super(QsciScintillaCompat, self).autoCompleteFromDocument() + super().autoCompleteFromDocument() self.updateUserListSize() def autoCompleteFromAPIs(self): """ Public method to resize list box after creation. """ - super(QsciScintillaCompat, self).autoCompleteFromAPIs() + super().autoCompleteFromAPIs() self.updateUserListSize() def autoCompleteFromAll(self): """ Public method to resize list box after creation. """ - super(QsciScintillaCompat, self).autoCompleteFromAll() + super().autoCompleteFromAll() self.updateUserListSize() ###########################################################################
--- a/eric6/QScintilla/SearchReplaceWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/SearchReplaceWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -43,7 +43,7 @@ @param sliding flag indicating the widget is embedded in the sliding widget (boolean) """ - super(SearchReplaceWidget, self).__init__(parent) + super().__init__(parent) self.__viewmanager = vm self.__isMiniEditor = vm is parent @@ -1188,7 +1188,7 @@ self.__showReplace(text) else: self.__showFind(text) - super(SearchReplaceWidget, self).show() + super().show() self.activateWindow() @pyqtSlot() @@ -1239,7 +1239,7 @@ @param vm reference to the viewmanager object @param parent parent widget of this widget (QWidget) """ - super(SearchReplaceSlidingWidget, self).__init__(parent) + super().__init__(parent) self.__searchReplaceWidget = SearchReplaceWidget( replace, vm, self, True) @@ -1350,7 +1350,7 @@ @param text text to be shown in the findtext edit (string) """ self.__searchReplaceWidget.show(text) - super(SearchReplaceSlidingWidget, self).show() + super().show() self.__enableScrollerButtons() def __slideLeft(self): @@ -1401,4 +1401,4 @@ """ self.__enableScrollerButtons() - super(SearchReplaceSlidingWidget, self).resizeEvent(evt) + super().resizeEvent(evt)
--- a/eric6/QScintilla/Shell.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/Shell.py Sat Apr 10 18:38:27 2021 +0200 @@ -52,7 +52,7 @@ @param parent parent widget @type QWidget """ - super(ShellAssembly, self).__init__(parent) + super().__init__(parent) self.__shell = Shell(dbs, vm, project, False, self) @@ -136,7 +136,7 @@ @param parent parent widget @type QWidget """ - super(Shell, self).__init__(parent) + super().__init__(parent) self.setUtf8(True) self.vm = vm @@ -842,7 +842,7 @@ @param venvName name of the virtual environment @type str """ - super(Shell, self).clear() + super().clear() if self.passive and not self.dbs.isConnected(): self.__write(self.tr('Passive Debug Mode')) self.__write(self.tr('\nNot connected')) @@ -1244,7 +1244,7 @@ lines = QApplication.clipboard().text(QClipboard.Mode.Selection) self.paste(lines) else: - super(Shell, self).mousePressEvent(event) + super().mousePressEvent(event) def wheelEvent(self, evt): """ @@ -1261,7 +1261,7 @@ evt.accept() return - super(Shell, self).wheelEvent(evt) + super().wheelEvent(evt) def event(self, evt): """ @@ -1274,7 +1274,7 @@ self.gestureEvent(evt) return True - return super(Shell, self).event(evt) + return super().event(evt) def gestureEvent(self, evt): """ @@ -1336,7 +1336,7 @@ self.prline, self.prcol = self.getCursorPosition() if self.__echoInput: ac = self.isListActive() - super(Shell, self).keyPressEvent(ev) + super().keyPressEvent(ev) self.incrementalSearchActive = True if ac and self.racEnabled: self.dbs.remoteCompletion( @@ -2158,7 +2158,7 @@ if self.inDragDrop: event.acceptProposedAction() else: - super(Shell, self).dragEnterEvent(event) + super().dragEnterEvent(event) def dragMoveEvent(self, event): """ @@ -2169,7 +2169,7 @@ if self.inDragDrop: event.accept() else: - super(Shell, self).dragMoveEvent(event) + super().dragMoveEvent(event) def dragLeaveEvent(self, event): """ @@ -2181,7 +2181,7 @@ self.inDragDrop = False event.accept() else: - super(Shell, self).dragLeaveEvent(event) + super().dragLeaveEvent(event) def dropEvent(self, event): """ @@ -2209,7 +2209,7 @@ self.executeLines(s) del s else: - super(Shell, self).dropEvent(event) + super().dropEvent(event) self.inDragDrop = False @@ -2249,7 +2249,7 @@ self.setCaretWidth(self.caretWidth) self.setCursorFlashTime(QApplication.cursorFlashTime()) - super(Shell, self).focusInEvent(event) + super().focusInEvent(event) def focusOutEvent(self, event): """ @@ -2266,7 +2266,7 @@ self.__searchNextShortcut.setEnabled(False) self.__searchPrevShortcut.setEnabled(False) self.setCaretWidth(0) - super(Shell, self).focusOutEvent(event) + super().focusOutEvent(event) def insert(self, txt): """
--- a/eric6/QScintilla/ShellHistoryDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/ShellHistoryDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param shell reference to the shell object @type Shell """ - super(ShellHistoryDialog, self).__init__(shell) + super().__init__(shell) self.setupUi(self) self.__vm = vm
--- a/eric6/QScintilla/ShellWindow.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/ShellWindow.py Sat Apr 10 18:38:27 2021 +0200 @@ -56,7 +56,7 @@ @param name object name of the window @type str """ - super(ShellWindow, self).__init__(parent) + super().__init__(parent) if name is not None: self.setObjectName(name) self.setWindowIcon(UI.PixmapCache.getIcon("shell"))
--- a/eric6/QScintilla/SortOptionsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/SortOptionsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -22,7 +22,7 @@ @param parent reference to the parent widget (QWidget) """ - super(SortOptionsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) msh = self.minimumSizeHint()
--- a/eric6/QScintilla/SpellChecker.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/SpellChecker.py Sat Apr 10 18:38:27 2021 +0200 @@ -43,7 +43,7 @@ @param checkRegion reference to a function to check for a valid region """ - super(SpellChecker, self).__init__(editor) + super().__init__(editor) self.editor = editor self.indicator = indicator
--- a/eric6/QScintilla/SpellCheckingDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/SpellCheckingDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param endPos end position for spell checking (integer) @param parent reference to the parent widget (QWidget) """ - super(SpellCheckingDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__spell = spellChecker
--- a/eric6/QScintilla/SpellingDictionaryEditDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/SpellingDictionaryEditDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param info info string to show at the header (string) @param parent reference to the parent widget (QWidget) """ - super(SpellingDictionaryEditDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.infoLabel.setText(info)
--- a/eric6/QScintilla/TypingCompleters/CompleterBase.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/TypingCompleters/CompleterBase.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ if parent is None: parent = editor - super(CompleterBase, self).__init__(parent) + super().__init__(parent) self.editor = editor self.enabled = False
--- a/eric6/QScintilla/TypingCompleters/CompleterPython.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/TypingCompleters/CompleterPython.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param editor reference to the editor object (QScintilla.Editor) @param parent reference to the parent object (QObject) """ - super(CompleterPython, self).__init__(editor, parent) + super().__init__(editor, parent) self.__defRX = re.compile( r"^[ \t]*(def|cdef|cpdef) \w+\(")
--- a/eric6/QScintilla/TypingCompleters/CompleterRuby.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/TypingCompleters/CompleterRuby.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param editor reference to the editor object (QScintilla.Editor) @param parent reference to the parent object (QObject) """ - super(CompleterRuby, self).__init__(editor, parent) + super().__init__(editor, parent) self.__beginRX = re.compile(r"""^=begin """) self.__beginNlRX = re.compile(r"""^=begin\r?\n""")
--- a/eric6/QScintilla/TypingCompleters/CompleterYaml.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/TypingCompleters/CompleterYaml.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @param parent reference to the parent object @type QObject """ - super(CompleterYaml, self).__init__(editor, parent) + super().__init__(editor, parent) self.readSettings()
--- a/eric6/QScintilla/ZoomDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/QScintilla/ZoomDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param name name of this dialog (string) @param modal modal dialog state (boolean) """ - super(ZoomDialog, self).__init__(parent) + super().__init__(parent) if name: self.setObjectName(name) self.setupUi(self)
--- a/eric6/Sessions/SessionFile.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Sessions/SessionFile.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ @param parent reference to the parent object (defaults to None) @type QObject (optional) """ - super(SessionFile, self).__init__(parent) + super().__init__(parent) self.__isGlobal = isGlobal
--- a/eric6/Snapshot/SnapWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Snapshot/SnapWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -42,7 +42,7 @@ @param parent reference to the parent widget (QWidget) """ - super(SnapWidget, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.saveButton.setIcon(UI.PixmapCache.getIcon("fileSaveAs"))
--- a/eric6/Snapshot/SnapshotDefaultGrabber.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Snapshot/SnapshotDefaultGrabber.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param parent reference to the parent object @type QObject """ - super(SnapshotDefaultGrabber, self).__init__(parent) + super().__init__(parent) self.__grabber = None self.__grabberWidget = QWidget(
--- a/eric6/Snapshot/SnapshotFreehandGrabber.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Snapshot/SnapshotFreehandGrabber.py Sat Apr 10 18:38:27 2021 +0200 @@ -54,7 +54,7 @@ """ Constructor """ - super(SnapshotFreehandGrabber, self).__init__( + super().__init__( None, Qt.WindowType.X11BypassWindowManagerHint | Qt.WindowType.WindowStaysOnTopHint |
--- a/eric6/Snapshot/SnapshotPreview.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Snapshot/SnapshotPreview.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param parent reference to the parent widget (QWidget) """ - super(SnapshotPreview, self).__init__(parent) + super().__init__(parent) self.setAlignment(Qt.AlignmentFlag.AlignHCenter | Qt.AlignmentFlag.AlignCenter)
--- a/eric6/Snapshot/SnapshotRegionGrabber.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Snapshot/SnapshotRegionGrabber.py Sat Apr 10 18:38:27 2021 +0200 @@ -64,7 +64,7 @@ @exception ValueError raised to indicate a bad value for the 'mode' parameter """ - super(SnapshotRegionGrabber, self).__init__( + super().__init__( None, Qt.WindowType.X11BypassWindowManagerHint | Qt.WindowType.WindowStaysOnTopHint |
--- a/eric6/Snapshot/SnapshotTimer.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Snapshot/SnapshotTimer.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ """ Constructor """ - super(SnapshotTimer, self).__init__(None) + super().__init__(None) self.setWindowFlags( Qt.WindowType.WindowStaysOnTopHint |
--- a/eric6/Snapshot/SnapshotWaylandGrabber.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Snapshot/SnapshotWaylandGrabber.py Sat Apr 10 18:38:27 2021 +0200 @@ -42,7 +42,7 @@ @param parent reference to the parent object @type QObject """ - super(SnapshotWaylandGrabber, self).__init__(parent) + super().__init__(parent) from .SnapshotTimer import SnapshotTimer self.__grabTimer = SnapshotTimer()
--- a/eric6/SqlBrowser/SqlBrowser.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/SqlBrowser/SqlBrowser.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ (list of strings) @param parent reference to the parent widget (QWidget) """ - super(SqlBrowser, self).__init__(parent) + super().__init__(parent) self.setObjectName("SqlBrowser") if connections is None:
--- a/eric6/SqlBrowser/SqlBrowserWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/SqlBrowser/SqlBrowserWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -35,7 +35,7 @@ @param parent reference to the parent widget (QWidget) """ - super(SqlBrowserWidget, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.table.addAction(self.insertRowAction)
--- a/eric6/SqlBrowser/SqlConnectionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/SqlBrowser/SqlConnectionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param parent reference to the parent widget (QWidget) """ - super(SqlConnectionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.databasePicker.setMode(E5PathPickerModes.OpenFileMode)
--- a/eric6/SqlBrowser/SqlConnectionWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/SqlBrowser/SqlConnectionWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param parent reference to the parent widget (QWidget) """ - super(SqlConnectionWidget, self).__init__(parent) + super().__init__(parent) layout = QVBoxLayout(self) layout.setContentsMargins(0, 0, 0, 0)
--- a/eric6/Tasks/Task.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Tasks/Task.py Sat Apr 10 18:38:27 2021 +0200 @@ -76,7 +76,7 @@ @param uid unique id of the task (string) @param parentUid unique id of the parent task (string) """ - super(Task, self).__init__() + super().__init__() self.summary = summary self.description = description
--- a/eric6/Tasks/TaskFilterConfigDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Tasks/TaskFilterConfigDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param taskFilter the task filter object to be configured @param parent the parent widget (QWidget) """ - super(TaskFilterConfigDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.typeCombo.addItem("", Task.TypeNone)
--- a/eric6/Tasks/TaskPropertiesDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Tasks/TaskPropertiesDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param parent the parent widget (QWidget) @param projectOpen flag indicating status of the project (boolean) """ - super(TaskPropertiesDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.filenameCompleter = E5FileCompleter(self.filenameEdit)
--- a/eric6/Tasks/TaskViewer.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Tasks/TaskViewer.py Sat Apr 10 18:38:27 2021 +0200 @@ -50,7 +50,7 @@ @param parent the parent (QWidget) @param project reference to the project object """ - super(TaskViewer, self).__init__(parent) + super().__init__(parent) self.setSortingEnabled(True) self.setExpandsOnDoubleClick(False) @@ -833,7 +833,7 @@ @param parent reference to the parent object (QObject) """ - super(ProjectTaskExtractionThread, self).__init__() + super().__init__() self.__lock = threading.Lock() self.__interrupt = False
--- a/eric6/Tasks/TasksFile.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Tasks/TasksFile.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ @param parent reference to the parent object (defaults to None) @type QObject (optional) """ - super(TasksFile, self).__init__(parent) + super().__init__(parent) self.__isGlobal = isGlobal def writeFile(self, filename: str) -> bool:
--- a/eric6/Templates/TemplateMultipleVariablesDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Templates/TemplateMultipleVariablesDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param variables list of template variable names (list of strings) @param parent parent widget of this dialog (QWidget) """ - super(TemplateMultipleVariablesDialog, self).__init__(parent) + super().__init__(parent) self.TemplateMultipleVariablesDialogLayout = QVBoxLayout(self) self.TemplateMultipleVariablesDialogLayout.setContentsMargins(
--- a/eric6/Templates/TemplatePropertiesDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Templates/TemplatePropertiesDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param itm item (TemplateEntry or TemplateGroup) to read the data from """ - super(TemplatePropertiesDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.templateEdit.setFont(Preferences.getTemplates("EditorFont"))
--- a/eric6/Templates/TemplateSingleVariableDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Templates/TemplateSingleVariableDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param variable template variable name (string) @param parent parent widget of this dialog (QWidget) """ - super(TemplateSingleVariableDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.variableLabel.setText(variable)
--- a/eric6/Templates/TemplateViewer.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Templates/TemplateViewer.py Sat Apr 10 18:38:27 2021 +0200 @@ -43,7 +43,7 @@ self.language = language self.entries = {} - super(TemplateGroup, self).__init__(parent, [name]) + super().__init__(parent, [name]) if Preferences.getTemplates("ShowTooltip"): self.setToolTip(0, language) @@ -202,7 +202,7 @@ self.template = templateText self.__extractVariables() - super(TemplateEntry, self).__init__(parent, [self.__displayText()]) + super().__init__(parent, [self.__displayText()]) if Preferences.getTemplates("ShowTooltip"): self.setToolTip(0, self.template) @@ -386,7 +386,7 @@ @param parent the parent (QWidget) @param viewmanager reference to the viewmanager object """ - super(TemplateViewer, self).__init__(parent) + super().__init__(parent) self.viewmanager = viewmanager self.groups = {}
--- a/eric6/Templates/TemplatesFile.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Templates/TemplatesFile.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param parent reference to the parent object (defaults to None) @type QObject (optional) """ - super(TemplatesFile, self).__init__(parent) + super().__init__(parent) self.__viewer = viewer def writeFile(self, filename: str) -> bool:
--- a/eric6/Toolbox/SingleApplication.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Toolbox/SingleApplication.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param name name this server is listening to (string) """ - super(SingleApplicationServer, self).__init__() + super().__init__() res = self.listen(name) if not res:
--- a/eric6/Tools/TRPreviewer.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Tools/TRPreviewer.py Sat Apr 10 18:38:27 2021 +0200 @@ -50,7 +50,7 @@ self.mainWidget = None self.currentFile = QDir.currentPath() - super(TRPreviewer, self).__init__(parent) + super().__init__(parent) if not name: self.setObjectName("TRPreviewer") else: @@ -132,7 +132,7 @@ the main window has been shown. This way, previewing a dialog doesn't interfere with showing the main window. """ - super(TRPreviewer, self).show() + super().show() if self.filesToLoad: filenames, self.filesToLoad = (self.filesToLoad[:], []) first = True @@ -460,7 +460,7 @@ available languages (QComboBox) @param parent parent widget (QWidget) """ - super(TranslationsDict, self).__init__(parent) + super().__init__(parent) self.selector = selector self.currentTranslator = None @@ -684,7 +684,7 @@ @param parent parent widget (QWidget) @param name name of this widget (string) """ - super(WidgetView, self).__init__(parent) + super().__init__(parent) if name: self.setObjectName(name) self.setWindowTitle(name) @@ -769,7 +769,7 @@ @param parent parent widget (QWidget) """ - super(WidgetArea, self).__init__(parent) + super().__init__(parent) self.setHorizontalScrollBarPolicy(Qt.ScrollBarPolicy.ScrollBarAsNeeded) self.setVerticalScrollBarPolicy(Qt.ScrollBarPolicy.ScrollBarAsNeeded)
--- a/eric6/Tools/TrayStarter.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Tools/TrayStarter.py Sat Apr 10 18:38:27 2021 +0200 @@ -38,7 +38,7 @@ @param settingsDir directory to be used for the settings files @type str """ - super(TrayStarter, self).__init__( + super().__init__( UI.PixmapCache.getIcon( Preferences.getTrayStarter("TrayStarterIcon")))
--- a/eric6/Tools/UIPreviewer.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Tools/UIPreviewer.py Sat Apr 10 18:38:27 2021 +0200 @@ -43,7 +43,7 @@ self.mainWidget = None self.currentFile = QDir.currentPath() - super(UIPreviewer, self).__init__(parent) + super().__init__(parent) if not name: self.setObjectName("UIPreviewer") else: @@ -119,7 +119,7 @@ the main window has been shown. This way, previewing a dialog doesn't interfere with showing the main window. """ - super(UIPreviewer, self).show() + super().show() if self.fileToLoad is not None: fn, self.fileToLoad = (self.fileToLoad, None) self.__loadFile(fn)
--- a/eric6/UI/AuthenticationDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/AuthenticationDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param saveIt flag indicating the value for the save checkbox (boolean) @param parent reference to the parent widget (QWidget) """ - super(AuthenticationDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.infoLabel.setText(info)
--- a/eric6/UI/Browser.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/Browser.py Sat Apr 10 18:38:27 2021 +0200 @@ -89,7 +89,7 @@ @param parent parent widget (QWidget) """ - super(Browser, self).__init__(parent) + super().__init__(parent) self.setWindowTitle(QCoreApplication.translate('Browser', 'File-Browser'))
--- a/eric6/UI/BrowserModel.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/BrowserModel.py Sat Apr 10 18:38:27 2021 +0200 @@ -47,7 +47,7 @@ @param nopopulate flag indicating to not populate the model (boolean) """ - super(BrowserModel, self).__init__(parent) + super().__init__(parent) self.progDir = None
--- a/eric6/UI/BrowserSortFilterProxyModel.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/BrowserSortFilterProxyModel.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param parent reference to the parent object @type QObject """ - super(BrowserSortFilterProxyModel, self).__init__(parent) + super().__init__(parent) self.hideNonPublic = Preferences.getUI("BrowsersHideNonPublic") self.hideHiddenFiles = not Preferences.getUI("BrowsersListHiddenFiles") @@ -42,7 +42,7 @@ """ self.__sortColumn = column self.__sortOrder = order - super(BrowserSortFilterProxyModel, self).sort(column, order) + super().sort(column, order) def lessThan(self, left, right): """
--- a/eric6/UI/ClearPrivateDataDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/ClearPrivateDataDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param parent reference to the parent widget @type QWidget """ - super(ClearPrivateDataDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) msh = self.minimumSizeHint()
--- a/eric6/UI/CodeDocumentationViewer.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/CodeDocumentationViewer.py Sat Apr 10 18:38:27 2021 +0200 @@ -71,7 +71,7 @@ @param parent reference to the parent widget @type QWidget """ - super(DocumentationViewerWidget, self).__init__(parent) + super().__init__(parent) self.setObjectName("DocumentationViewerWidget") self.__verticalLayout = QVBoxLayout(self) @@ -171,7 +171,7 @@ @param parent reference to the parent widget @type QWidget """ - super(CodeDocumentationViewer, self).__init__(parent) + super().__init__(parent) self.__setupUi() self.__ui = parent
--- a/eric6/UI/CompareDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/CompareDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -95,7 +95,7 @@ (list of two tuples of two strings) @param parent parent widget (QWidget) """ - super(CompareDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) if files is None: @@ -186,7 +186,7 @@ """ if filename: self.file1Picker.setText(filename) - super(CompareDialog, self).show() + super().show() def __appendText(self, pane, linenumber, line, charFormat, interLine=False): @@ -470,7 +470,7 @@ (list of two tuples of two strings) @param parent reference to the parent widget (QWidget) """ - super(CompareWindow, self).__init__(parent) + super().__init__(parent) self.setStyle(Preferences.getUI("Style"), Preferences.getUI("StyleSheet"))
--- a/eric6/UI/DeleteFilesConfirmationDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/DeleteFilesConfirmationDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param message message to be shown (string) @param files list of filenames to be shown (list of strings) """ - super(DeleteFilesConfirmationDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setModal(True)
--- a/eric6/UI/DiffDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/DiffDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -37,7 +37,7 @@ @param parent reference to the parent widget (QWidget) """ - super(DiffDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.file1Picker.setMode(E5PathPickerModes.OpenFileMode) @@ -79,7 +79,7 @@ """ if filename: self.file1Picker.setText(filename) - super(DiffDialog, self).show() + super().show() def on_buttonBox_clicked(self, button): """ @@ -286,7 +286,7 @@ @param parent reference to the parent widget (QWidget) """ - super(DiffWindow, self).__init__(parent) + super().__init__(parent) self.setStyle(Preferences.getUI("Style"), Preferences.getUI("StyleSheet"))
--- a/eric6/UI/DiffHighlighter.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/DiffHighlighter.py Sat Apr 10 18:38:27 2021 +0200 @@ -20,7 +20,7 @@ @param doc reference to the text document (QTextDocument) """ - super(DiffHighlighter, self).__init__(doc) + super().__init__(doc) def generateRules(self): """
--- a/eric6/UI/EmailDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/EmailDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -52,7 +52,7 @@ @param mode mode of this dialog (string, "bug" or "feature") @param parent parent widget of this dialog (QWidget) """ - super(EmailDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/UI/ErrorLogDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/ErrorLogDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ (boolean) @param parent reference to the parent widget (QWidget) """ - super(ErrorLogDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/UI/FindFileDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/FindFileDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -55,7 +55,7 @@ @param replaceMode flag indicating the replace dialog mode (boolean) @param parent parent widget of this dialog (QWidget) """ - super(FindFileDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window) @@ -197,7 +197,7 @@ self.findList.clear() self.replacetextCombo.setEditText("") - super(FindFileDialog, self).show() + super().show() def on_findtextCombo_editTextChanged(self, text): """
--- a/eric6/UI/FindFileNameDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/FindFileNameDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -44,7 +44,7 @@ @param project reference to the project object @param parent parent widget of this dialog (QWidget) """ - super(FindFileNameDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.searchDirPicker.setMode(E5PathPickerModes.DirectoryMode) @@ -261,4 +261,4 @@ self.fileNameEdit.selectAll() self.fileNameEdit.setFocus() - super(FindFileNameDialog, self).show() + super().show()
--- a/eric6/UI/InstallInfoDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/InstallInfoDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ @param parent reference to the parent widget @type QWidget """ - super(InstallInfoDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__deleteButton = self.buttonBox.addButton( @@ -157,7 +157,7 @@ if yes: self.__saveData() - super(InstallInfoDialog, self).reject() + super().reject() def __saveData(self): """
--- a/eric6/UI/LogView.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/LogView.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param ui reference to the main window (UserInterface) @param parent reference to the parent widget (QWidget) """ - super(LogViewer, self).__init__(parent) + super().__init__(parent) self.setWindowIcon(UI.PixmapCache.getIcon("eric")) @@ -104,7 +104,7 @@ @param parent reference to the parent widget (QWidget) """ - super(LogViewerEdit, self).__init__(parent) + super().__init__(parent) self.setAcceptRichText(False) self.setLineWrapMode(QTextEdit.LineWrapMode.NoWrap) self.setReadOnly(True)
--- a/eric6/UI/NotificationWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/NotificationWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -51,7 +51,7 @@ @param parent reference to the parent widget @type QWidget """ - super(NotificationFrame, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.layout().setAlignment( @@ -128,7 +128,7 @@ position interactively @type bool """ - super(NotificationWidget, self).__init__(parent) + super().__init__(parent) self.__layout = QVBoxLayout(self) self.__layout.setContentsMargins(0, 0, 0, 0)
--- a/eric6/UI/NumbersWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/NumbersWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param parent reference to the parent widget (QWidget) """ - super(BinaryModel, self).__init__(parent) + super().__init__(parent) self.__bits = 0 self.__value = 0 @@ -175,7 +175,7 @@ @param parent reference to the parent widget (QWidget) """ - super(NumbersWidget, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowIcon(UI.PixmapCache.getIcon("eric"))
--- a/eric6/UI/Previewer.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/Previewer.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param splitter reference to the embedding splitter (QSplitter) @param parent reference to the parent widget (QWidget) """ - super(Previewer, self).__init__(parent) + super().__init__(parent) self.__vm = viewmanager self.__splitter = splitter @@ -66,7 +66,7 @@ """ Public method to show the preview widget. """ - super(Previewer, self).show() + super().show() if self.__firstShow: self.__splitter.restoreState( Preferences.getUI("PreviewSplitterState")) @@ -77,7 +77,7 @@ """ Public method to hide the preview widget. """ - super(Previewer, self).hide() + super().hide() self.__typingTimer.stop() def shutdown(self):
--- a/eric6/UI/Previewers/PreviewerHTML.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/Previewers/PreviewerHTML.py Sat Apr 10 18:38:27 2021 +0200 @@ -37,7 +37,7 @@ @param parent reference to the parent widget (QWidget) """ - super(PreviewerHTML, self).__init__(parent) + super().__init__(parent) self.__layout = QVBoxLayout(self) @@ -337,7 +337,7 @@ @param parent reference to the parent object (QObject) """ - super(PreviewProcessingThread, self).__init__() + super().__init__() self.__lock = threading.Lock()
--- a/eric6/UI/Previewers/PreviewerQSS.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/Previewers/PreviewerQSS.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @param parent reference to the parent widget (QWidget) """ - super(PreviewerQSS, self).__init__(parent) + super().__init__(parent) self.setupUi(self) # menu for the tool button
--- a/eric6/UI/PythonAstViewer.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/PythonAstViewer.py Sat Apr 10 18:38:27 2021 +0200 @@ -42,7 +42,7 @@ @param parent reference to the parent widget @type QWidget """ - super(PythonAstViewer, self).__init__(parent) + super().__init__(parent) self.__layout = QVBoxLayout(self) self.setLayout(self.__layout) @@ -139,7 +139,7 @@ """ Public slot to show the AST viewer. """ - super(PythonAstViewer, self).show() + super().show() if not self.__vmConnected: self.__vm.editorChangedEd.connect(self.__editorChanged) @@ -153,7 +153,7 @@ """ Public slot to hide the AST viewer. """ - super(PythonAstViewer, self).hide() + super().hide() if self.__editor: self.__editor.clearAllHighlights()
--- a/eric6/UI/PythonDisViewer.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/PythonDisViewer.py Sat Apr 10 18:38:27 2021 +0200 @@ -58,7 +58,7 @@ @param parent reference to the parent widget @type QWidget """ - super(PythonDisViewer, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowTitle(self.tr("Disassembly")) @@ -214,7 +214,7 @@ """ Public slot to show the DIS viewer. """ - super(PythonDisViewer, self).show() + super().show() if ( self.__mode == PythonDisViewerModes.SourceDisassemblyMode and @@ -233,7 +233,7 @@ """ Public slot to hide the DIS viewer. """ - super(PythonDisViewer, self).hide() + super().hide() if self.__editor: self.__editor.clearAllHighlights()
--- a/eric6/UI/SearchWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/SearchWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -39,7 +39,7 @@ @param showLine flag indicating to show all widget in one row @type bool """ - super(SearchWidget, self).__init__(parent) + super().__init__(parent) if showLine: from .Ui_SearchWidgetLine import Ui_SearchWidgetLine
--- a/eric6/UI/SplashScreen.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/SplashScreen.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ Qt.AlignmentFlag.AlignRight | Qt.AlignmentFlag.AlignAbsolute ) - super(SplashScreen, self).__init__(ericPic) + super().__init__(ericPic) self.show() QApplication.flush() @@ -43,7 +43,7 @@ @param msg message to be shown (string) """ logging.debug(msg) - super(SplashScreen, self).showMessage( + super().showMessage( msg, self.labelAlignment, QColor(Qt.GlobalColor.white)) QApplication.processEvents() @@ -51,7 +51,7 @@ """ Public method to clear the message shown. """ - super(SplashScreen, self).clearMessage() + super().clearMessage() QApplication.processEvents()
--- a/eric6/UI/SymbolsWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/SymbolsWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param parent reference to the parent object (QObject) """ - super(SymbolsModel, self).__init__(parent) + super().__init__(parent) self.__locale = QLocale() @@ -494,7 +494,7 @@ @param parent reference to the parent widget (QWidget) """ - super(SymbolsWidget, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowIcon(UI.PixmapCache.getIcon("eric"))
--- a/eric6/UI/UserInterface.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/UI/UserInterface.py Sat Apr 10 18:38:27 2021 +0200 @@ -86,7 +86,7 @@ @param parent reference to the parent object @type QObject """ - super(Redirector, self).__init__(parent) + super().__init__(parent) self.stderr = stderr self.buffer = '' @@ -191,7 +191,7 @@ @param originalPathString original PATH environment variable @type str """ - super(UserInterface, self).__init__() + super().__init__() self.__restartArgs = restartArguments[:]
--- a/eric6/Utilities/AutoSaver.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Utilities/AutoSaver.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param save slot to be called to perform the save operation @exception RuntimeError raised, if no parent is given """ - super(AutoSaver, self).__init__(parent) + super().__init__(parent) if parent is None: raise RuntimeError("AutoSaver: parent must not be None.") @@ -56,7 +56,7 @@ if evt.timerId() == self.__timer.timerId(): self.saveIfNeccessary() else: - super(AutoSaver, self).timerEvent(evt) + super().timerEvent(evt) def saveIfNeccessary(self): """
--- a/eric6/Utilities/BackgroundService.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Utilities/BackgroundService.py Sat Apr 10 18:38:27 2021 +0200 @@ -53,7 +53,7 @@ self.__queue = [] self.services = {} - super(BackgroundService, self).__init__(parent) + super().__init__(parent) networkInterface = Preferences.getDebugger("NetworkInterface") if networkInterface == "all" or '.' in networkInterface:
--- a/eric6/Utilities/FtpUtilities.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Utilities/FtpUtilities.py Sat Apr 10 18:38:27 2021 +0200 @@ -46,7 +46,7 @@ @param parent reference to the parent object (QObject) """ - super(FtpDirLineParser, self).__init__(parent) + super().__init__(parent) self.__parseLine = self.__parseUnixLine self.__modeSwitchAllowed = True
--- a/eric6/VCS/CommandOptionsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/VCS/CommandOptionsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - super(VcsCommandOptionsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) opt = vcs.vcsGetOptions()
--- a/eric6/VCS/ProjectBrowserHelper.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/VCS/ProjectBrowserHelper.py Sat Apr 10 18:38:27 2021 +0200 @@ -41,7 +41,7 @@ @param parent parent widget (QWidget) @param name name of this object (string) """ - super(VcsProjectBrowserHelper, self).__init__(parent) + super().__init__(parent) if name: self.setObjectName(name)
--- a/eric6/VCS/ProjectHelper.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/VCS/ProjectHelper.py Sat Apr 10 18:38:27 2021 +0200 @@ -36,7 +36,7 @@ @param parent parent widget (QWidget) @param name name of this object (string) """ - super(VcsProjectHelper, self).__init__(parent) + super().__init__(parent) if name: self.setObjectName(name)
--- a/eric6/VCS/RepositoryInfoDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/VCS/RepositoryInfoDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,6 +23,6 @@ @param parent reference to the parent widget (QWidget) @param info info data to show (string) """ - super(VcsRepositoryInfoDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.infoBrowser.setHtml(info)
--- a/eric6/VCS/StatusMonitorLed.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/VCS/StatusMonitorLed.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @param project reference to the project object (Project.Project) @param parent reference to the parent object (QWidget) """ - super(StatusMonitorLed, self).__init__( + super().__init__( parent, shape=E5LedRectangular, rectRatio=1.0) self.__vcsClean = True @@ -189,7 +189,7 @@ @param parent reference to the parent object @type QWidget """ - super(StatusMonitorLedWidget, self).__init__(parent) + super().__init__(parent) self.__layout = QHBoxLayout(self) self.__layout.setContentsMargins(0, 0, 0, 0)
--- a/eric6/VCS/StatusMonitorThread.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/VCS/StatusMonitorThread.py Sat Apr 10 18:38:27 2021 +0200 @@ -35,7 +35,7 @@ @param vcs reference to the version control object @param parent reference to the parent object (QObject) """ - super(VcsStatusMonitorThread, self).__init__(parent) + super().__init__(parent) self.setObjectName("VcsStatusMonitorThread") self.setTerminationEnabled(True)
--- a/eric6/VCS/VersionControl.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/VCS/VersionControl.py Sat Apr 10 18:38:27 2021 +0200 @@ -51,7 +51,7 @@ @param parent parent widget (QWidget) @param name name of this object (string) """ - super(VersionControl, self).__init__(parent) + super().__init__(parent) if name: self.setObjectName(name) self.defaultOptions = {
--- a/eric6/ViewManager/BookmarkedFilesDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/ViewManager/BookmarkedFilesDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param bookmarks list of bookmarked files (list of strings) @param parent parent widget (QWidget) """ - super(BookmarkedFilesDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.filePicker.setMode(E5PathPickerModes.OpenFileMode)
--- a/eric6/ViewManager/ViewManager.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/ViewManager/ViewManager.py Sat Apr 10 18:38:27 2021 +0200 @@ -111,7 +111,7 @@ """ Constructor """ - super(ViewManager, self).__init__() + super().__init__() # initialize the instance variables self.editors = []
--- a/eric6/VirtualEnv/VirtualenvAddEditDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/VirtualEnv/VirtualenvAddEditDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -52,7 +52,7 @@ @param parent reference to the parent widget @type QWidget """ - super(VirtualenvAddEditDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__venvName = venvName
--- a/eric6/VirtualEnv/VirtualenvConfigurationDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/VirtualEnv/VirtualenvConfigurationDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -39,7 +39,7 @@ @param parent reference to the parent widget @type QWidget """ - super(VirtualenvConfigurationDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) if not baseDir:
--- a/eric6/VirtualEnv/VirtualenvExecDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/VirtualEnv/VirtualenvExecDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -39,7 +39,7 @@ @param parent reference to the parent widget @type QWidget """ - super(VirtualenvExecDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button(
--- a/eric6/VirtualEnv/VirtualenvInterpreterSelectionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/VirtualEnv/VirtualenvInterpreterSelectionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -37,7 +37,7 @@ @param parent reference to the parent widget @type QWidget """ - super(VirtualenvInterpreterSelectionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.pythonExecPicker.setMode(E5PathPickerModes.OpenFileMode)
--- a/eric6/VirtualEnv/VirtualenvManager.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/VirtualEnv/VirtualenvManager.py Sat Apr 10 18:38:27 2021 +0200 @@ -46,7 +46,7 @@ @param parent reference to the parent object @type QWidget """ - super(VirtualenvManager, self).__init__(parent) + super().__init__(parent) self.__ui = parent
--- a/eric6/VirtualEnv/VirtualenvManagerDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/VirtualEnv/VirtualenvManagerDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -37,7 +37,7 @@ @param parent reference to the parent widget @type QWidget """ - super(VirtualenvManagerDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__manager = manager
--- a/eric6/VirtualEnv/VirtualenvNameDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/VirtualEnv/VirtualenvNameDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param parent reference to the parent widget @type QWidget """ - super(VirtualenvNameDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.envsList.addItems(environments)
--- a/eric6/WebBrowser/AdBlock/AdBlockDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/AdBlock/AdBlockDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param parent reference to the parent object @type QWidget """ - super(AdBlockDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/WebBrowser/AdBlock/AdBlockExceptionsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/AdBlock/AdBlockExceptionsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param parent reference to the parent widget @type QWidget """ - super(AdBlockExceptionsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window) @@ -93,4 +93,4 @@ from WebBrowser.WebBrowserWindow import WebBrowserWindow WebBrowserWindow.adBlockManager().setExceptions(hosts) - super(AdBlockExceptionsDialog, self).accept() + super().accept()
--- a/eric6/WebBrowser/AdBlock/AdBlockIcon.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/AdBlock/AdBlockIcon.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param parent reference to the parent widget @type WebBrowserWindow """ - super(AdBlockIcon, self).__init__(parent) + super().__init__(parent) self.__mw = parent self.__menuAction = None
--- a/eric6/WebBrowser/AdBlock/AdBlockManager.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/AdBlock/AdBlockManager.py Sat Apr 10 18:38:27 2021 +0200 @@ -48,7 +48,7 @@ @param parent reference to the parent object @type QObject """ - super(AdBlockManager, self).__init__(parent) + super().__init__(parent) self.__loaded = False self.__subscriptionsLoaded = False
--- a/eric6/WebBrowser/AdBlock/AdBlockMatcher.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/AdBlock/AdBlockMatcher.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param manager reference to the AdBlock manager object @type AdBlockManager """ - super(AdBlockMatcher, self).__init__(manager) + super().__init__(manager) self.__manager = manager
--- a/eric6/WebBrowser/AdBlock/AdBlockSubscription.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/AdBlock/AdBlockSubscription.py Sat Apr 10 18:38:27 2021 +0200 @@ -48,7 +48,7 @@ @param parent reference to the parent object (QObject) @param default flag indicating a default subscription (boolean) """ - super(AdBlockSubscription, self).__init__(parent) + super().__init__(parent) self.__custom = custom self.__url = url.toEncoded()
--- a/eric6/WebBrowser/AdBlock/AdBlockTreeWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/AdBlock/AdBlockTreeWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param parent reference to the parent widget @type QWidget """ - super(AdBlockTreeWidget, self).__init__(parent) + super().__init__(parent) self.__subscription = subscription self.__topItem = None @@ -278,4 +278,4 @@ elif evt.key() == Qt.Key.Key_Delete: self.removeRule() else: - super(AdBlockTreeWidget, self).keyPressEvent(evt) + super().keyPressEvent(evt)
--- a/eric6/WebBrowser/AdBlock/AdBlockUrlInterceptor.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/AdBlock/AdBlockUrlInterceptor.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param parent referemce to the parent object @type QObject """ - super(AdBlockUrlInterceptor, self).__init__(parent) + super().__init__(parent) self.__manager = manager
--- a/eric6/WebBrowser/AutoScroll/AutoScroller.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/AutoScroll/AutoScroller.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ @param parent reference to the parent object @type QObject """ - super(AutoScroller, self).__init__(parent) + super().__init__(parent) self.__view = None
--- a/eric6/WebBrowser/AutoScroll/FrameScroller.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/AutoScroll/FrameScroller.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param parent reference to the parent object @type QObject """ - super(FrameScroller, self).__init__(parent) + super().__init__(parent) self.__page = None
--- a/eric6/WebBrowser/Bookmarks/AddBookmarkDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Bookmarks/AddBookmarkDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param parent reference to the parent object (QObject) """ - super(AddBookmarkProxyModel, self).__init__(parent) + super().__init__(parent) def columnCount(self, parent): """ @@ -80,7 +80,7 @@ @param bookmarksManager reference to the bookmarks manager object (BookmarksManager) """ - super(AddBookmarkDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__bookmarksManager = bookmarksManager @@ -227,7 +227,7 @@ (not self.__addFolder and not self.addressEdit.text()) or not self.nameEdit.text() ): - super(AddBookmarkDialog, self).accept() + super().accept() return from .BookmarkNode import BookmarkNode @@ -250,4 +250,4 @@ self.__bookmarksManager.addBookmark(parent, bookmark) self.__addedNode = bookmark - super(AddBookmarkDialog, self).accept() + super().accept()
--- a/eric6/WebBrowser/Bookmarks/BookmarkPropertiesDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Bookmarks/BookmarkPropertiesDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param node reference to the bookmark (BookmarkNode) @param parent reference to the parent widget (QWidget) """ - super(BookmarkPropertiesDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) from .BookmarkNode import BookmarkNode @@ -52,7 +52,7 @@ not self.addressEdit.text()) or not self.nameEdit.text() ): - super(BookmarkPropertiesDialog, self).accept() + super().accept() return import WebBrowser.WebBrowserWindow @@ -71,4 +71,4 @@ self.__node.desc = description bookmarksManager.setNodeChanged(self.__node) - super(BookmarkPropertiesDialog, self).accept() + super().accept()
--- a/eric6/WebBrowser/Bookmarks/BookmarksDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Bookmarks/BookmarksDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -41,7 +41,7 @@ @param manager reference to the bookmarks manager object (BookmarksManager) """ - super(BookmarksDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window) @@ -95,7 +95,7 @@ Public method called when the dialog is rejected. """ self.__shutdown() - super(BookmarksDialog, self).reject() + super().reject() def __shutdown(self): """
--- a/eric6/WebBrowser/Bookmarks/BookmarksImportDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Bookmarks/BookmarksImportDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param parent reference to the parent widget (QWidget) """ - super(BookmarksImportDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.filePicker.setMode(E5PathPickerModes.OpenFileMode)
--- a/eric6/WebBrowser/Bookmarks/BookmarksImporters/BookmarksImporter.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Bookmarks/BookmarksImporters/BookmarksImporter.py Sat Apr 10 18:38:27 2021 +0200 @@ -21,7 +21,7 @@ @param sourceId source ID (string) @param parent reference to the parent object (QObject) """ - super(BookmarksImporter, self).__init__(parent) + super().__init__(parent) self._path = "" self._file = ""
--- a/eric6/WebBrowser/Bookmarks/BookmarksImporters/ChromeImporter.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Bookmarks/BookmarksImporters/ChromeImporter.py Sat Apr 10 18:38:27 2021 +0200 @@ -90,7 +90,7 @@ @param sourceId source ID (string) @param parent reference to the parent object (QObject) """ - super(ChromeImporter, self).__init__(sourceId, parent) + super().__init__(sourceId, parent) self.__fileName = ""
--- a/eric6/WebBrowser/Bookmarks/BookmarksImporters/FirefoxImporter.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Bookmarks/BookmarksImporters/FirefoxImporter.py Sat Apr 10 18:38:27 2021 +0200 @@ -68,7 +68,7 @@ @param sourceId source ID (string) @param parent reference to the parent object (QObject) """ - super(FirefoxImporter, self).__init__(sourceId, parent) + super().__init__(sourceId, parent) self.__fileName = "" self.__db = None
--- a/eric6/WebBrowser/Bookmarks/BookmarksImporters/HtmlImporter.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Bookmarks/BookmarksImporters/HtmlImporter.py Sat Apr 10 18:38:27 2021 +0200 @@ -60,7 +60,7 @@ @param sourceId source ID (string) @param parent reference to the parent object (QObject) """ - super(HtmlImporter, self).__init__(sourceId, parent) + super().__init__(sourceId, parent) self.__fileName = "" self.__inFile = None
--- a/eric6/WebBrowser/Bookmarks/BookmarksImporters/IExplorerImporter.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Bookmarks/BookmarksImporters/IExplorerImporter.py Sat Apr 10 18:38:27 2021 +0200 @@ -64,7 +64,7 @@ @param sourceId source ID (string) @param parent reference to the parent object (QObject) """ - super(IExplorerImporter, self).__init__(sourceId, parent) + super().__init__(sourceId, parent) self.__fileName = ""
--- a/eric6/WebBrowser/Bookmarks/BookmarksImporters/OperaImporter.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Bookmarks/BookmarksImporters/OperaImporter.py Sat Apr 10 18:38:27 2021 +0200 @@ -65,7 +65,7 @@ @param sourceId source ID (string) @param parent reference to the parent object (QObject) """ - super(OperaImporter, self).__init__(sourceId, parent) + super().__init__(sourceId, parent) self.__fileName = ""
--- a/eric6/WebBrowser/Bookmarks/BookmarksImporters/SafariImporter.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Bookmarks/BookmarksImporters/SafariImporter.py Sat Apr 10 18:38:27 2021 +0200 @@ -67,7 +67,7 @@ @param sourceId source ID (string) @param parent reference to the parent object (QObject) """ - super(SafariImporter, self).__init__(sourceId, parent) + super().__init__(sourceId, parent) self.__fileName = ""
--- a/eric6/WebBrowser/Bookmarks/BookmarksImporters/XbelImporter.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Bookmarks/BookmarksImporters/XbelImporter.py Sat Apr 10 18:38:27 2021 +0200 @@ -98,7 +98,7 @@ @param sourceId source ID (string) @param parent reference to the parent object (QObject) """ - super(XbelImporter, self).__init__(sourceId, parent) + super().__init__(sourceId, parent) self.__fileName = ""
--- a/eric6/WebBrowser/Bookmarks/BookmarksManager.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Bookmarks/BookmarksManager.py Sat Apr 10 18:38:27 2021 +0200 @@ -55,7 +55,7 @@ @param parent reference to the parent object (QObject) """ - super(BookmarksManager, self).__init__(parent) + super().__init__(parent) self.__saveTimer = AutoSaver(self, self.save) self.entryAdded.connect(self.__saveTimer.changeOccurred) @@ -529,7 +529,7 @@ @param parent reference to the parent node (BookmarkNode) @param row row number of bookmark (integer) """ - super(RemoveBookmarksCommand, self).__init__( + super().__init__( QCoreApplication.translate("BookmarksManager", "Remove Bookmark")) self._row = row @@ -603,7 +603,7 @@ @param title flag indicating a change of the title (True) or the URL (False) (boolean) """ - super(ChangeBookmarkCommand, self).__init__() + super().__init__() self._bookmarksManager = bookmarksManager self._title = title
--- a/eric6/WebBrowser/Bookmarks/BookmarksModel.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Bookmarks/BookmarksModel.py Sat Apr 10 18:38:27 2021 +0200 @@ -35,7 +35,7 @@ (BookmarksManager) @param parent reference to the parent object (QObject) """ - super(BookmarksModel, self).__init__(parent) + super().__init__(parent) self.__endMacro = False self.__bookmarksManager = manager
--- a/eric6/WebBrowser/Bookmarks/NsHtmlReader.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Bookmarks/NsHtmlReader.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ """ Constructor """ - super(NsHtmlReader, self).__init__() + super().__init__() self.__folderRx = re.compile("<DT><H3(.*?)>(.*?)</H3>", re.IGNORECASE) self.__endFolderRx = re.compile("</DL>", re.IGNORECASE)
--- a/eric6/WebBrowser/Bookmarks/NsHtmlWriter.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Bookmarks/NsHtmlWriter.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ """ Constructor """ - super(NsHtmlWriter, self).__init__() + super().__init__() def write(self, fileNameOrDevice, root): """
--- a/eric6/WebBrowser/Bookmarks/XbelReader.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Bookmarks/XbelReader.py Sat Apr 10 18:38:27 2021 +0200 @@ -39,7 +39,7 @@ """ Constructor """ - super(XbelReader, self).__init__() + super().__init__() self.__resolver = XmlEntityResolver() self.setEntityResolver(self.__resolver)
--- a/eric6/WebBrowser/Bookmarks/XbelWriter.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Bookmarks/XbelWriter.py Sat Apr 10 18:38:27 2021 +0200 @@ -20,7 +20,7 @@ """ Constructor """ - super(XbelWriter, self).__init__() + super().__init__() self.setAutoFormatting(True)
--- a/eric6/WebBrowser/ClosedTabsManager.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/ClosedTabsManager.py Sat Apr 10 18:38:27 2021 +0200 @@ -55,7 +55,7 @@ @param parent reference to the parent object (QObject) """ - super(ClosedTabsManager, self).__init__() + super().__init__() self.__closedTabs = []
--- a/eric6/WebBrowser/CookieJar/CookieExceptionsModel.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/CookieJar/CookieExceptionsModel.py Sat Apr 10 18:38:27 2021 +0200 @@ -22,7 +22,7 @@ @param cookieJar reference to the cookie jar (CookieJar) @param parent reference to the parent object (QObject) """ - super(CookieExceptionsModel, self).__init__(parent) + super().__init__(parent) self.__cookieJar = cookieJar self.__allowedCookies = self.__cookieJar.allowedCookies()
--- a/eric6/WebBrowser/CookieJar/CookieJar.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/CookieJar/CookieJar.py Sat Apr 10 18:38:27 2021 +0200 @@ -47,7 +47,7 @@ @param parent reference to the parent object (QObject) """ - super(CookieJar, self).__init__(parent) + super().__init__(parent) self.__loaded = False self.__acceptCookies = self.AcceptOnlyFromSitesNavigatedTo
--- a/eric6/WebBrowser/CookieJar/CookiesConfigurationDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/CookieJar/CookiesConfigurationDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param parent reference to the parent object (QWidget) """ - super(CookiesConfigurationDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__mw = parent @@ -75,7 +75,7 @@ jar.setFilterTrackingCookies( self.filterTrackingCookiesCheckbox.isChecked()) - super(CookiesConfigurationDialog, self).accept() + super().accept() @pyqtSlot() def on_exceptionsButton_clicked(self):
--- a/eric6/WebBrowser/CookieJar/CookiesDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/CookieJar/CookiesDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @param cookieJar reference to the cookie jar (CookieJar) @param parent reference to the parent widget (QWidget) """ - super(CookiesDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.addButton.setEnabled(False)
--- a/eric6/WebBrowser/CookieJar/CookiesExceptionsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/CookieJar/CookiesExceptionsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param cookieJar reference to the cookie jar (CookieJar) @param parent reference to the parent widget (QWidget) """ - super(CookiesExceptionsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__cookieJar = cookieJar
--- a/eric6/WebBrowser/Download/DownloadAskActionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Download/DownloadAskActionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param baseUrl URL (string) @param parent reference to the parent widget (QWidget) """ - super(DownloadAskActionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.infoLabel.setText("<b>{0}</b>".format(fileName))
--- a/eric6/WebBrowser/Download/DownloadItem.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Download/DownloadItem.py Sat Apr 10 18:38:27 2021 +0200 @@ -55,7 +55,7 @@ @param parent reference to the parent widget @type QWidget """ - super(DownloadItem, self).__init__(parent) + super().__init__(parent) self.setupUi(self) p = self.infoLabel.palette()
--- a/eric6/WebBrowser/Download/DownloadManager.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Download/DownloadManager.py Sat Apr 10 18:38:27 2021 +0200 @@ -52,7 +52,7 @@ @param parent reference to the parent widget (QWidget) """ - super(DownloadManager, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window) @@ -290,7 +290,7 @@ """ self.__startUpdateTimer() - super(DownloadManager, self).show() + super().show() self.activateWindow() self.raise_() @@ -633,7 +633,7 @@ self.__taskbarButton().progress().show() self.__taskbarButton().progress().setValue(progress) - super(DownloadManager, self).timerEvent(evt) + super().timerEvent(evt) def __startUpdateTimer(self): """
--- a/eric6/WebBrowser/Download/DownloadManagerButton.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Download/DownloadManagerButton.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param parent reference to the parent widget @type QWidget """ - super(DownloadManagerButton, self).__init__(parent) + super().__init__(parent) self.__manager = WebBrowserWindow.downloadManager()
--- a/eric6/WebBrowser/Download/DownloadModel.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Download/DownloadModel.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param parent reference to the parent object @type QObject """ - super(DownloadModel, self).__init__(parent) + super().__init__(parent) self.__manager = manager
--- a/eric6/WebBrowser/FeaturePermissions/FeaturePermissionBar.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/FeaturePermissions/FeaturePermissionBar.py Sat Apr 10 18:38:27 2021 +0200 @@ -35,7 +35,7 @@ @param manager reference to the feature permissions manager @type FeaturePermissionManager """ - super(FeaturePermissionBar, self).__init__(parent=page.view()) + super().__init__(parent=page.view()) self.__origin = QUrl(origin) self.__feature = feature @@ -146,7 +146,7 @@ Public slot to hide the animated widget. """ self.__page.loadStarted.disconnect(self.hide) - super(FeaturePermissionBar, self).hide() + super().hide() def __permissionDenied(self): """
--- a/eric6/WebBrowser/FeaturePermissions/FeaturePermissionManager.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/FeaturePermissions/FeaturePermissionManager.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param parent reference to the parent object @type QObject """ - super(FeaturePermissionManager, self).__init__(parent) + super().__init__(parent) self.__featurePermissions = { QWebEnginePage.Feature.Geolocation: {
--- a/eric6/WebBrowser/FeaturePermissions/FeaturePermissionsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/FeaturePermissions/FeaturePermissionsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ @param parent reference to the parent widget @type QWidget """ - super(FeaturePermissionsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) # add the various lists
--- a/eric6/WebBrowser/Feeds/FeedEditDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Feeds/FeedEditDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param title feed title (string) @param parent reference to the parent widget (QWidget) """ - super(FeedEditDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button(
--- a/eric6/WebBrowser/Feeds/FeedsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Feeds/FeedsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param browser reference to the browser widget (WebBrowserView) @param parent reference to the parent widget (QWidget) """ - super(FeedsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.iconLabel.setPixmap(UI.PixmapCache.getPixmap("rss48"))
--- a/eric6/WebBrowser/Feeds/FeedsManager.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Feeds/FeedsManager.py Sat Apr 10 18:38:27 2021 +0200 @@ -47,7 +47,7 @@ @param parent reference to the parent widget (QWidget) """ - super(FeedsManager, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window) @@ -68,7 +68,7 @@ """ Public slot to show the feeds manager dialog. """ - super(FeedsManager, self).show() + super().show() if not self.__wasShown: self.__enableButtons()
--- a/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyAddScriptDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyAddScriptDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ @param script GreaseMonkey script to be added (GreaseMonkeyScript) @param parent reference to the parent widget (QWidget) """ - super(GreaseMonkeyAddScriptDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.iconLabel.setPixmap(
--- a/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyConfiguration/GreaseMonkeyConfigurationDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyConfiguration/GreaseMonkeyConfigurationDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -36,7 +36,7 @@ @param manager reference to the manager object (GreaseMonkeyManager) @param parent reference to the parent widget (QWidget) """ - super(GreaseMonkeyConfigurationDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyConfiguration/GreaseMonkeyConfigurationListDelegate.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyConfiguration/GreaseMonkeyConfigurationListDelegate.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param parent reference to the parent object (QObject) """ - super(GreaseMonkeyConfigurationListDelegate, self).__init__(parent) + super().__init__(parent) self.__removePixmap = UI.PixmapCache.getIcon( "greaseMonkeyTrash").pixmap(
--- a/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyConfiguration/GreaseMonkeyConfigurationListWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyConfiguration/GreaseMonkeyConfigurationListWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param parent reference to the parent widget (QWidget) """ - super(GreaseMonkeyConfigurationListWidget, self).__init__(parent) + super().__init__(parent) self.__delegate = GreaseMonkeyConfigurationListDelegate(self) self.setItemDelegate(self.__delegate) @@ -67,7 +67,7 @@ self.removeItemRequested.emit(self.itemAt(evt.pos())) return - super(GreaseMonkeyConfigurationListWidget, self).mousePressEvent(evt) + super().mousePressEvent(evt) def mouseDoubleClickEvent(self, evt): """ @@ -79,5 +79,5 @@ self.removeItemRequested.emit(self.itemAt(evt.pos())) return - super(GreaseMonkeyConfigurationListWidget, self).mouseDoubleClickEvent( + super().mouseDoubleClickEvent( evt)
--- a/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyConfiguration/GreaseMonkeyConfigurationScriptInfoDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyConfiguration/GreaseMonkeyConfigurationScriptInfoDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param script reference to the script (GreaseMonkeyScript) @param parent reference to the parent widget (QWidget) """ - super(GreaseMonkeyConfigurationScriptInfoDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.iconLabel.setPixmap(
--- a/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyDownloader.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyDownloader.py Sat Apr 10 18:38:27 2021 +0200 @@ -40,7 +40,7 @@ @param mode download mode @type int (one of DownloadMainScript, DownloadRequireScript) """ - super(GreaseMonkeyDownloader, self).__init__() + super().__init__() self.__manager = manager
--- a/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyJsObject.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyJsObject.py Sat Apr 10 18:38:27 2021 +0200 @@ -22,7 +22,7 @@ @param parent reference to the parent object @type QObject """ - super(GreaseMonkeyJsObject, self).__init__(parent) + super().__init__(parent) self.__settings = None
--- a/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyManager.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyManager.py Sat Apr 10 18:38:27 2021 +0200 @@ -40,7 +40,7 @@ @param parent reference to the parent object (QObject) """ - super(GreaseMonkeyManager, self).__init__(parent) + super().__init__(parent) self.__disabledScripts = [] self.__scripts = []
--- a/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyScript.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyScript.py Sat Apr 10 18:38:27 2021 +0200 @@ -46,7 +46,7 @@ @param manager reference to the manager object (GreaseMonkeyManager) @param path path of the Javascript file (string) """ - super(GreaseMonkeyScript, self).__init__(manager) + super().__init__(manager) self.__manager = manager self.__fileWatcher = DelayedFileWatcher(parent=None)
--- a/eric6/WebBrowser/History/HistoryCompleter.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/History/HistoryCompleter.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param parent reference to the parent widget (QWidget) """ - super(HistoryCompletionView, self).__init__(parent) + super().__init__(parent) self.horizontalHeader().hide() self.verticalHeader().hide() @@ -50,7 +50,7 @@ self.horizontalHeader().resizeSection(0, 0.65 * self.width()) self.horizontalHeader().setStretchLastSection(True) - super(HistoryCompletionView, self).resizeEvent(evt) + super().resizeEvent(evt) def sizeHintForRow(self, row): """ @@ -75,7 +75,7 @@ @param parent reference to the parent object (QObject) """ - super(HistoryCompletionModel, self).__init__(parent) + super().__init__(parent) self.__searchString = "" self.__searchMatcher = None @@ -235,7 +235,7 @@ @param model reference to the model (QAbstractItemModel) @param parent reference to the parent object (QObject) """ - super(HistoryCompleter, self).__init__(model, parent) + super().__init__(model, parent) self.setPopup(HistoryCompletionView())
--- a/eric6/WebBrowser/History/HistoryDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/History/HistoryDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -43,7 +43,7 @@ @param parent reference to the parent widget (QWidget @param manager reference to the history manager object (HistoryManager) """ - super(HistoryDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/WebBrowser/History/HistoryFilterModel.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/History/HistoryFilterModel.py Sat Apr 10 18:38:27 2021 +0200 @@ -67,7 +67,7 @@ @param sourceModel reference to the source model (QAbstractItemModel) @param parent reference to the parent object (QObject) """ - super(HistoryFilterModel, self).__init__(parent) + super().__init__(parent) self.__loaded = False self.__filteredRows = [] @@ -125,7 +125,7 @@ self.__sourceRowsInserted) self.sourceModel().rowsRemoved.disconnect(self.__sourceRowsRemoved) - super(HistoryFilterModel, self).setSourceModel(sourceModel) + super().setSourceModel(sourceModel) if self.sourceModel() is not None: self.__loaded = False
--- a/eric6/WebBrowser/History/HistoryManager.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/History/HistoryManager.py Sat Apr 10 18:38:27 2021 +0200 @@ -118,7 +118,7 @@ @param parent reference to the parent object (QObject) """ - super(HistoryManager, self).__init__(parent) + super().__init__(parent) self.__saveTimer = AutoSaver(self, self.save) self.__daysToExpire = Preferences.getWebBrowser("HistoryLimit")
--- a/eric6/WebBrowser/History/HistoryMenu.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/History/HistoryMenu.py Sat Apr 10 18:38:27 2021 +0200 @@ -39,7 +39,7 @@ @param sourceModel reference to the source model (QAbstractItemModel) @param parent reference to the parent object (QObject) """ - super(HistoryMenuModel, self).__init__(parent) + super().__init__(parent) self.__treeModel = sourceModel @@ -237,7 +237,7 @@ @param sourceModel reference to the source model (QAbstractItemModel) @param parent reference to the parent object (QObject) """ - super(HistoryMostVisitedMenuModel, self).__init__(parent) + super().__init__(parent) self.setDynamicSortFilter(True) self.setSourceModel(sourceModel)
--- a/eric6/WebBrowser/History/HistoryModel.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/History/HistoryModel.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ (HistoryManager) @param parent reference to the parent object (QObject) """ - super(HistoryModel, self).__init__(parent) + super().__init__(parent) self.__historyManager = historyManager
--- a/eric6/WebBrowser/History/HistoryTreeModel.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/History/HistoryTreeModel.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param sourceModel reference to the source model (QAbstractItemModel) @param parent reference to the parent object (QObject) """ - super(HistoryTreeModel, self).__init__(parent) + super().__init__(parent) self.__sourceRowCache = [] self.__removingDown = False @@ -246,7 +246,7 @@ self.__sourceRowsInserted) self.sourceModel().rowsRemoved.disconnect(self.__sourceRowsRemoved) - super(HistoryTreeModel, self).setSourceModel(sourceModel) + super().setSourceModel(sourceModel) if self.sourceModel() is not None: self.__loaded = False
--- a/eric6/WebBrowser/ImageSearch/ImageSearchEngine.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/ImageSearch/ImageSearchEngine.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param parent reference to the parent object @type QObject """ - super(ImageSearchEngine, self).__init__(parent) + super().__init__(parent) self.__searchEngineNames = ["Google", "TinEye", "Yandex"]
--- a/eric6/WebBrowser/JavaScript/ExternalJsObject.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/JavaScript/ExternalJsObject.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param page reference to the web page object @type WebBrowserPage """ - super(ExternalJsObject, self).__init__(page) + super().__init__(page) self.__page = page
--- a/eric6/WebBrowser/JavaScript/PasswordManagerJsObject.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/JavaScript/PasswordManagerJsObject.py Sat Apr 10 18:38:27 2021 +0200 @@ -21,7 +21,7 @@ @param parent reference to the parent object @type ExternalJsObject """ - super(PasswordManagerJsObject, self).__init__(parent) + super().__init__(parent) self.__external = parent
--- a/eric6/WebBrowser/JavaScript/StartPageJsObject.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/JavaScript/StartPageJsObject.py Sat Apr 10 18:38:27 2021 +0200 @@ -21,7 +21,7 @@ @param parent reference to the parent object @type ExternalJsObject """ - super(StartPageJsObject, self).__init__(parent) + super().__init__(parent) self.__external = parent
--- a/eric6/WebBrowser/Navigation/NavigationBar.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Navigation/NavigationBar.py Sat Apr 10 18:38:27 2021 +0200 @@ -37,7 +37,7 @@ @param parent reference to the parent widget @type QWidget """ - super(NavigationBar, self).__init__(parent) + super().__init__(parent) self.setObjectName("navigationbar") self.__mw = mainWindow
--- a/eric6/WebBrowser/Navigation/NavigationContainer.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Navigation/NavigationContainer.py Sat Apr 10 18:38:27 2021 +0200 @@ -21,7 +21,7 @@ @param parent reference to the parent widget @type QWidget """ - super(NavigationContainer, self).__init__(parent) + super().__init__(parent) self.setObjectName("navigationcontainer") self.__layout = QVBoxLayout(self)
--- a/eric6/WebBrowser/Navigation/ReloadStopButton.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Navigation/ReloadStopButton.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param parent reference to the parent widget @type QWidget """ - super(ReloadStopButton, self).__init__(parent) + super().__init__(parent) self.setObjectName("navigation_reloadstop_button") self.setToolButtonStyle(Qt.ToolButtonStyle.ToolButtonIconOnly)
--- a/eric6/WebBrowser/Network/EricSchemeHandler.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Network/EricSchemeHandler.py Sat Apr 10 18:38:27 2021 +0200 @@ -36,7 +36,7 @@ @param parent reference to the parent object @type QObject """ - super(EricSchemeHandler, self).__init__(parent) + super().__init__(parent) self.__replies = [] @@ -83,7 +83,7 @@ @param parent reference to the parent object @type QObject """ - super(EricSchemeReply, self).__init__(parent) + super().__init__(parent) self.__loaded = False self.__job = job @@ -143,7 +143,7 @@ """ Public method used to cloase the reply. """ - super(EricSchemeReply, self).close() + super().close() self.closed.emit() def __adBlockPage(self):
--- a/eric6/WebBrowser/Network/NetworkManager.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Network/NetworkManager.py Sat Apr 10 18:38:27 2021 +0200 @@ -48,7 +48,7 @@ @param engine reference to the help engine (QHelpEngine) @param parent reference to the parent object (QObject) """ - super(NetworkManager, self).__init__(parent) + super().__init__(parent) from E5Network.E5NetworkProxyFactory import E5NetworkProxyFactory @@ -429,4 +429,4 @@ req.setAttribute( QNetworkRequest.Attribute.FollowRedirectsAttribute, True) - return super(NetworkManager, self).createRequest(op, req, data) + return super().createRequest(op, req, data)
--- a/eric6/WebBrowser/Network/NetworkUrlInterceptor.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Network/NetworkUrlInterceptor.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param parent reference to the parent object @type QObject """ - super(NetworkUrlInterceptor, self).__init__(parent) + super().__init__(parent) self.__interceptors = [] self.__mutex = QMutex()
--- a/eric6/WebBrowser/Network/ProtocolHandlerManager.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Network/ProtocolHandlerManager.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param parent reference to the parent object @type QObject """ - super(ProtocolHandlerManager, self).__init__(parent) + super().__init__(parent) self.__protocolHandlers = {} # dictionary of handlers with scheme as key
--- a/eric6/WebBrowser/Network/ProtocolHandlerManagerDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Network/ProtocolHandlerManagerDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param parent reference to the parent widget @type QWidget """ - super(ProtocolHandlerManagerDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setAttribute(Qt.WidgetAttribute.WA_DeleteOnClose)
--- a/eric6/WebBrowser/Network/QtHelpSchemeHandler.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Network/QtHelpSchemeHandler.py Sat Apr 10 18:38:27 2021 +0200 @@ -67,7 +67,7 @@ @param parent reference to the parent object @type QObject """ - super(QtHelpSchemeHandler, self).__init__(parent) + super().__init__(parent) self.__engine = engine @@ -119,7 +119,7 @@ @param parent reference to the parent object @type QObject """ - super(QtHelpSchemeReply, self).__init__(parent) + super().__init__(parent) self.__job = job self.__engine = engine @@ -201,7 +201,7 @@ """ Public method used to cloase the reply. """ - super(QtHelpSchemeReply, self).close() + super().close() self.closed.emit() def __mimeFromUrl(self, url):
--- a/eric6/WebBrowser/Network/SendRefererWhitelistDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Network/SendRefererWhitelistDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param parent reference to the parent widget (QWidget) """ - super(SendRefererWhitelistDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__model = QStringListModel( @@ -66,4 +66,4 @@ Preferences.setWebBrowser( "SendRefererWhitelist", self.__model.stringList()) - super(SendRefererWhitelistDialog, self).accept() + super().accept()
--- a/eric6/WebBrowser/Network/SslErrorExceptionsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Network/SslErrorExceptionsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param parent reference to the parent widget @type QWidget """ - super(SslErrorExceptionsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__errorDescriptions = {
--- a/eric6/WebBrowser/Network/UrlInterceptor.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Network/UrlInterceptor.py Sat Apr 10 18:38:27 2021 +0200 @@ -21,7 +21,7 @@ @param parent referemce to the parent object @type QObject """ - super(UrlInterceptor, self).__init__(parent) + super().__init__(parent) def interceptRequest(self, info): """
--- a/eric6/WebBrowser/OpenSearch/OpenSearchDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/OpenSearch/OpenSearchDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param parent reference to the parent object (QWidget) """ - super(OpenSearchDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setModal(True)
--- a/eric6/WebBrowser/OpenSearch/OpenSearchEditDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/OpenSearch/OpenSearchEditDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param engine reference to the search engine (OpenSearchEngine) @param parent reference to the parent object (QWidget) """ - super(OpenSearchEditDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__engine = engine @@ -47,4 +47,4 @@ self.__engine.setSearchUrlTemplate(self.searchEdit.text()) self.__engine.setSuggestionsUrlTemplate(self.suggestionsEdit.text()) - super(OpenSearchEditDialog, self).accept() + super().accept()
--- a/eric6/WebBrowser/OpenSearch/OpenSearchEngine.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/OpenSearch/OpenSearchEngine.py Sat Apr 10 18:38:27 2021 +0200 @@ -42,7 +42,7 @@ @param parent reference to the parent object (QObject) """ - super(OpenSearchEngine, self).__init__(parent) + super().__init__(parent) self.__suggestionsReply = None self.__networkAccessManager = None
--- a/eric6/WebBrowser/OpenSearch/OpenSearchEngineAction.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/OpenSearch/OpenSearchEngineAction.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ (OpenSearchEngine) @param parent reference to the parent object (QObject) """ - super(OpenSearchEngineAction, self).__init__(parent) + super().__init__(parent) self.__engine = engine if self.__engine.networkAccessManager() is None:
--- a/eric6/WebBrowser/OpenSearch/OpenSearchEngineModel.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/OpenSearch/OpenSearchEngineModel.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ (OpenSearchManager) @param parent reference to the parent object (QObject) """ - super(OpenSearchEngineModel, self).__init__(parent) + super().__init__(parent) self.__manager = manager manager.changed.connect(self.__enginesChanged)
--- a/eric6/WebBrowser/OpenSearch/OpenSearchManager.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/OpenSearch/OpenSearchManager.py Sat Apr 10 18:38:27 2021 +0200 @@ -42,7 +42,7 @@ """ if parent is None: parent = e5App() - super(OpenSearchManager, self).__init__(parent) + super().__init__(parent) self.__replies = [] self.__engines = {}
--- a/eric6/WebBrowser/OpenSearch/OpenSearchWriter.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/OpenSearch/OpenSearchWriter.py Sat Apr 10 18:38:27 2021 +0200 @@ -18,7 +18,7 @@ """ Constructor """ - super(OpenSearchWriter, self).__init__() + super().__init__() self.setAutoFormatting(True)
--- a/eric6/WebBrowser/PageScreenDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/PageScreenDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ (WebBrowserView) @param parent reference to the parent widget (QWidget) """ - super(PageScreenDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/WebBrowser/Passwords/PasswordManager.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Passwords/PasswordManager.py Sat Apr 10 18:38:27 2021 +0200 @@ -44,7 +44,7 @@ @param parent reference to the parent object (QObject) """ - super(PasswordManager, self).__init__(parent) + super().__init__(parent) # setup userscript to monitor forms script = QWebEngineScript()
--- a/eric6/WebBrowser/Passwords/PasswordModel.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Passwords/PasswordModel.py Sat Apr 10 18:38:27 2021 +0200 @@ -21,7 +21,7 @@ @param manager reference to the password manager (PasswordManager) @param parent reference to the parent object (QObject) """ - super(PasswordModel, self).__init__(parent) + super().__init__(parent) self.__manager = manager manager.changed.connect(self.__passwordsChanged)
--- a/eric6/WebBrowser/Passwords/PasswordReader.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Passwords/PasswordReader.py Sat Apr 10 18:38:27 2021 +0200 @@ -20,7 +20,7 @@ """ Constructor """ - super(PasswordReader, self).__init__() + super().__init__() def read(self, fileNameOrDevice): """
--- a/eric6/WebBrowser/Passwords/PasswordWriter.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Passwords/PasswordWriter.py Sat Apr 10 18:38:27 2021 +0200 @@ -18,7 +18,7 @@ """ Constructor """ - super(PasswordWriter, self).__init__() + super().__init__() self.setAutoFormatting(True)
--- a/eric6/WebBrowser/Passwords/PasswordsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Passwords/PasswordsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param parent reference to the parent widget (QWidget) """ - super(PasswordsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__showPasswordsText = self.tr("Show Passwords")
--- a/eric6/WebBrowser/PersonalInformationManager/PersonalDataDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/PersonalInformationManager/PersonalDataDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param parent reference to the parent widget (QWidget) """ - super(PersonalDataDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.iconLabel.setPixmap(UI.PixmapCache.getPixmap("pim48"))
--- a/eric6/WebBrowser/PersonalInformationManager/PersonalInformationManager.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/PersonalInformationManager/PersonalInformationManager.py Sat Apr 10 18:38:27 2021 +0200 @@ -49,7 +49,7 @@ @param parent reference to the parent object (QObject) """ - super(PersonalInformationManager, self).__init__(parent) + super().__init__(parent) self.__loaded = False self.__allInfo = {}
--- a/eric6/WebBrowser/QtHelp/HelpDocsInstaller.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/QtHelp/HelpDocsInstaller.py Sat Apr 10 18:38:27 2021 +0200 @@ -38,7 +38,7 @@ @param collection full pathname of the collection file (string) """ - super(HelpDocsInstaller, self).__init__() + super().__init__() self.__abort = False self.__collection = collection
--- a/eric6/WebBrowser/QtHelp/HelpIndexWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/QtHelp/HelpIndexWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -37,7 +37,7 @@ @param engine reference to the help engine (QHelpEngine) @param parent reference to the parent widget (QWidget) """ - super(HelpIndexWidget, self).__init__(parent) + super().__init__(parent) self.__engine = engine
--- a/eric6/WebBrowser/QtHelp/HelpSearchWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/QtHelp/HelpSearchWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -40,7 +40,7 @@ @param engine reference to the help search engine (QHelpSearchEngine) @param parent reference to the parent widget (QWidget) """ - super(HelpSearchWidget, self).__init__(parent) + super().__init__(parent) self.__engine = engine
--- a/eric6/WebBrowser/QtHelp/HelpTocWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/QtHelp/HelpTocWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -35,7 +35,7 @@ @param engine reference to the help engine (QHelpEngine) @param parent reference to the parent widget (QWidget) """ - super(HelpTocWidget, self).__init__(parent) + super().__init__(parent) self.__engine = engine self.__expandDepth = -2
--- a/eric6/WebBrowser/QtHelp/HelpTopicDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/QtHelp/HelpTopicDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param links dictionary with help topic as key (string) and URL as value (QUrl) """ - super(HelpTopicDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.label.setText(self.tr("Choose a &topic for <b>{0}</b>:")
--- a/eric6/WebBrowser/QtHelp/QtHelpDocumentationDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/QtHelp/QtHelpDocumentationDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ @param engine reference to the help engine (QHelpEngine) @param parent reference to the parent widget (QWidget) """ - super(QtHelpDocumentationDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__engine = engine
--- a/eric6/WebBrowser/QtHelp/QtHelpDocumentationSelectionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/QtHelp/QtHelpDocumentationSelectionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -42,7 +42,7 @@ @param parent reference to the parent widget @type QWidget """ - super(QtHelpDocumentationSelectionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) if mode == QtHelpDocumentationSelectionDialog.AddMode:
--- a/eric6/WebBrowser/SafeBrowsing/SafeBrowsingAPIClient.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/SafeBrowsing/SafeBrowsingAPIClient.py Sat Apr 10 18:38:27 2021 +0200 @@ -45,7 +45,7 @@ @param parent reference to the parent object @type QObject """ - super(SafeBrowsingAPIClient, self).__init__(parent) + super().__init__(parent) self.__apiKey = apiKey self.__fairUse = fairUse
--- a/eric6/WebBrowser/SafeBrowsing/SafeBrowsingCache.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/SafeBrowsing/SafeBrowsingCache.py Sat Apr 10 18:38:27 2021 +0200 @@ -101,7 +101,7 @@ @param parent reference to the parent object @type QObject """ - super(SafeBrowsingCache, self).__init__(parent) + super().__init__(parent) self.__connectionName = "SafeBrowsingCache"
--- a/eric6/WebBrowser/SafeBrowsing/SafeBrowsingDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/SafeBrowsing/SafeBrowsingDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param parent reference to the parent widget @type QWidget """ - super(SafeBrowsingDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window) @@ -73,7 +73,7 @@ self.__updateCacheButtons() - super(SafeBrowsingDialog, self).show() + super().show() @pyqtSlot() def on_gsbHelpButton_clicked(self):
--- a/eric6/WebBrowser/SafeBrowsing/SafeBrowsingInfoWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/SafeBrowsing/SafeBrowsingInfoWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param parent reference to the parent widget @type QWidget """ - super(SafeBrowsingInfoWidget, self).__init__(parent) + super().__init__(parent) self.setMinimumWidth(500)
--- a/eric6/WebBrowser/SafeBrowsing/SafeBrowsingLabel.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/SafeBrowsing/SafeBrowsingLabel.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param parent reference to the parent widget (QWidget) """ - super(SafeBrowsingLabel, self).__init__(parent) + super().__init__(parent) self.setFocusPolicy(Qt.FocusPolicy.NoFocus) self.setCursor(Qt.CursorShape.PointingHandCursor) @@ -49,7 +49,7 @@ if evt.button() == Qt.MouseButton.LeftButton: self.clicked.emit(evt.globalPos()) else: - super(SafeBrowsingLabel, self).mouseReleaseEvent(evt) + super().mouseReleaseEvent(evt) def mouseDoubleClickEvent(self, evt): """ @@ -60,7 +60,7 @@ if evt.button() == Qt.MouseButton.LeftButton: self.clicked.emit(evt.globalPos()) else: - super(SafeBrowsingLabel, self).mouseDoubleClickEvent(evt) + super().mouseDoubleClickEvent(evt) @pyqtSlot() def __updateLabel(self):
--- a/eric6/WebBrowser/SafeBrowsing/SafeBrowsingManager.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/SafeBrowsing/SafeBrowsingManager.py Sat Apr 10 18:38:27 2021 +0200 @@ -53,7 +53,7 @@ """ Constructor """ - super(SafeBrowsingManager, self).__init__() + super().__init__() self.__apiKey = Preferences.getWebBrowser("SafeBrowsingApiKey") if self.__apiKey:
--- a/eric6/WebBrowser/SearchWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/SearchWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param mainWindow reference to the main window (QMainWindow) @param parent parent widget of this dialog (QWidget) """ - super(SearchWidget, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__mainWindow = mainWindow
--- a/eric6/WebBrowser/Session/SessionManager.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Session/SessionManager.py Sat Apr 10 18:38:27 2021 +0200 @@ -63,7 +63,7 @@ @param parent reference to the parent object @type QObject """ - super(SessionManager, self).__init__(parent) + super().__init__(parent) sessionsDirName = self.getSessionsDirectory() sessionsDir = QDir(sessionsDirName)
--- a/eric6/WebBrowser/Session/SessionManagerDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Session/SessionManagerDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ @param parent reference to the parent widget @type QWidget """ - super(SessionManagerDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setAttribute(Qt.WidgetAttribute.WA_DeleteOnClose) @@ -136,7 +136,7 @@ @param evt reference to the event object @type QShowEvent """ - super(SessionManagerDialog, self).showEvent(evt) + super().showEvent(evt) self.__resizeViewHeader() def resizeEvent(self, evt): @@ -146,7 +146,7 @@ @param evt reference to the event object @type QResizeEvent """ - super(SessionManagerDialog, self).resizeEvent(evt) + super().resizeEvent(evt) self.__resizeViewHeader() def __resizeViewHeader(self):
--- a/eric6/WebBrowser/SiteInfo/SiteInfoDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/SiteInfo/SiteInfoDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -46,7 +46,7 @@ @param browser reference to the browser window (HelpBrowser) @param parent reference to the parent widget (QWidget) """ - super(SiteInfoDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/WebBrowser/SiteInfo/SiteInfoWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/SiteInfo/SiteInfoWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,7 +31,7 @@ @param parent reference to the parent object @type QWidget """ - super(SiteInfoWidget, self).__init__(parent) + super().__init__(parent) self.__browser = browser url = browser.url()
--- a/eric6/WebBrowser/SpeedDial/PageThumbnailer.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/SpeedDial/PageThumbnailer.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param parent reference to the parent object (QObject) """ - super(PageThumbnailer, self).__init__(parent) + super().__init__(parent) self.__size = QSize(231, 130) self.__loadTitle = False
--- a/eric6/WebBrowser/SpeedDial/SpeedDial.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/SpeedDial/SpeedDial.py Sat Apr 10 18:38:27 2021 +0200 @@ -42,7 +42,7 @@ @param parent reference to the parent object (QObject) """ - super(SpeedDial, self).__init__(parent) + super().__init__(parent) self.__regenerateScript = True
--- a/eric6/WebBrowser/SpeedDial/SpeedDialReader.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/SpeedDial/SpeedDialReader.py Sat Apr 10 18:38:27 2021 +0200 @@ -19,7 +19,7 @@ """ Constructor """ - super(SpeedDialReader, self).__init__() + super().__init__() def read(self, fileNameOrDevice): """
--- a/eric6/WebBrowser/SpeedDial/SpeedDialWriter.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/SpeedDial/SpeedDialWriter.py Sat Apr 10 18:38:27 2021 +0200 @@ -18,7 +18,7 @@ """ Constructor """ - super(SpeedDialWriter, self).__init__() + super().__init__() self.setAutoFormatting(True)
--- a/eric6/WebBrowser/SpellCheck/ManageDictionariesDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/SpellCheck/ManageDictionariesDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -46,7 +46,7 @@ @param parent reference to the parent widget @type QWidget """ - super(ManageDictionariesDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__refreshButton = self.buttonBox.addButton(
--- a/eric6/WebBrowser/StatusBar/ImagesIcon.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/StatusBar/ImagesIcon.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param window reference to the web browser window @type WebBrowserWindow """ - super(ImagesIcon, self).__init__(window) + super().__init__(window) self.setToolTip(self.tr("Modify images loading settings temporarily" " or globally"))
--- a/eric6/WebBrowser/StatusBar/JavaScriptIcon.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/StatusBar/JavaScriptIcon.py Sat Apr 10 18:38:27 2021 +0200 @@ -32,7 +32,7 @@ @param window reference to the web browser window @type WebBrowserWindow """ - super(JavaScriptIcon, self).__init__(window) + super().__init__(window) self.setToolTip(self.tr("Modify JavaScript settings temporarily for" " a site or globally"))
--- a/eric6/WebBrowser/StatusBar/JavaScriptSettingsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/StatusBar/JavaScriptSettingsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @param parent reference to the parent widget @type QWidget """ - super(JavaScriptSettingsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.javaScriptGroup.setChecked( @@ -72,4 +72,4 @@ Preferences.syncPreferences() - super(JavaScriptSettingsDialog, self).accept() + super().accept()
--- a/eric6/WebBrowser/StatusBar/StatusBarIcon.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/StatusBar/StatusBarIcon.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param window reference to the web browser window @type WebBrowserWindow """ - super(StatusBarIcon, self).__init__(window) + super().__init__(window) self._window = window
--- a/eric6/WebBrowser/Sync/DirectorySyncHandler.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Sync/DirectorySyncHandler.py Sat Apr 10 18:38:27 2021 +0200 @@ -44,7 +44,7 @@ @param parent reference to the parent object (QObject) """ - super(DirectorySyncHandler, self).__init__(parent) + super().__init__(parent) self.__forceUpload = False self.__remoteFilesFound = []
--- a/eric6/WebBrowser/Sync/FtpSyncHandler.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Sync/FtpSyncHandler.py Sat Apr 10 18:38:27 2021 +0200 @@ -51,7 +51,7 @@ @param parent reference to the parent object (QObject) """ - super(FtpSyncHandler, self).__init__(parent) + super().__init__(parent) self.__state = "idle" self.__forceUpload = False
--- a/eric6/WebBrowser/Sync/SyncAssistantDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Sync/SyncAssistantDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param parent reference to the parent widget (QWidget) """ - super(SyncAssistantDialog, self).__init__(parent) + super().__init__(parent) from . import SyncGlobals
--- a/eric6/WebBrowser/Sync/SyncCheckPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Sync/SyncCheckPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param parent reference to the parent widget (QWidget) """ - super(SyncCheckPage, self).__init__(parent) + super().__init__(parent) self.setupUi(self) def initializePage(self):
--- a/eric6/WebBrowser/Sync/SyncDataPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Sync/SyncDataPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param parent reference to the parent widget (QWidget) """ - super(SyncDataPage, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.bookmarksCheckBox.setChecked(
--- a/eric6/WebBrowser/Sync/SyncDirectorySettingsPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Sync/SyncDirectorySettingsPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param parent reference to the parent widget (QWidget) """ - super(SyncDirectorySettingsPage, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.directoryPicker.setMode(E5PathPickerModes.DirectoryMode)
--- a/eric6/WebBrowser/Sync/SyncEncryptionPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Sync/SyncEncryptionPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param parent reference to the parent widget (QWidget) """ - super(SyncEncryptionPage, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.keySizeComboBox.addItem(self.tr("128 Bits"), 16)
--- a/eric6/WebBrowser/Sync/SyncFtpSettingsPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Sync/SyncFtpSettingsPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param parent reference to the parent widget (QWidget) """ - super(SyncFtpSettingsPage, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.serverEdit.setText(Preferences.getWebBrowser("SyncFtpServer"))
--- a/eric6/WebBrowser/Sync/SyncHandler.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Sync/SyncHandler.py Sat Apr 10 18:38:27 2021 +0200 @@ -42,7 +42,7 @@ @param parent reference to the parent object (QObject) """ - super(SyncHandler, self).__init__(parent) + super().__init__(parent) self._firstTimeSynced = False
--- a/eric6/WebBrowser/Sync/SyncHostTypePage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Sync/SyncHostTypePage.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param parent reference to the parent widget (QWidget) """ - super(SyncHostTypePage, self).__init__(parent) + super().__init__(parent) self.setupUi(self) if Preferences.getWebBrowser("SyncType") == SyncGlobals.SyncTypeFtp:
--- a/eric6/WebBrowser/Sync/SyncManager.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Sync/SyncManager.py Sat Apr 10 18:38:27 2021 +0200 @@ -40,7 +40,7 @@ @param parent reference to the parent object (QObject) """ - super(SyncManager, self).__init__(parent) + super().__init__(parent) self.__handler = None
--- a/eric6/WebBrowser/TabManager/TabManagerWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/TabManager/TabManagerWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -59,7 +59,7 @@ @param defaultWidget flag indicating the default widget @type bool """ - super(TabManagerWidget, self).__init__(parent) + super().__init__(parent) self.setWindowFlags(Qt.WindowType.Window) self.__layout = QVBoxLayout(self)
--- a/eric6/WebBrowser/Tools/DelayedFileWatcher.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Tools/DelayedFileWatcher.py Sat Apr 10 18:38:27 2021 +0200 @@ -31,9 +31,9 @@ @type QObject """ if paths: - super(DelayedFileWatcher, self).__init__(paths, parent) + super().__init__(paths, parent) else: - super(DelayedFileWatcher, self).__init__(parent) + super().__init__(parent) self.__dirQueue = [] self.__fileQueue = []
--- a/eric6/WebBrowser/Tools/PrintToPdfDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Tools/PrintToPdfDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param parent reference to the parent widget @type QWidget """ - super(PrintToPdfDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.pdfFilePicker.setMode(E5PathPickerModes.SaveFileOverwriteMode)
--- a/eric6/WebBrowser/Tools/WebIconDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Tools/WebIconDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param parent reference to the parent widget @type QWidget """ - super(WebIconDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) for url, icon in iconsDB.items():
--- a/eric6/WebBrowser/Tools/WebIconLoader.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Tools/WebIconLoader.py Sat Apr 10 18:38:27 2021 +0200 @@ -42,7 +42,7 @@ @param parent reference to the parent object @type QObject """ - super(WebIconLoader, self).__init__(parent) + super().__init__(parent) networkManager = ( WebBrowser.WebBrowserWindow.WebBrowserWindow.networkManager()
--- a/eric6/WebBrowser/Tools/WebIconProvider.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/Tools/WebIconProvider.py Sat Apr 10 18:38:27 2021 +0200 @@ -35,7 +35,7 @@ @param parent reference to the parent object (QObject) """ - super(WebIconProvider, self).__init__(parent) + super().__init__(parent) self.__encoding = "iso-8859-1" self.__iconsFileName = "web_site_icons.json"
--- a/eric6/WebBrowser/UrlBar/BookmarkActionSelectionDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/UrlBar/BookmarkActionSelectionDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param url URL to be worked on (QUrl) @param parent reference to the parent widget (QWidget) """ - super(BookmarkActionSelectionDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__action = self.Undefined
--- a/eric6/WebBrowser/UrlBar/BookmarkInfoDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/UrlBar/BookmarkInfoDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -27,7 +27,7 @@ @param bookmark reference to the bookmark to be shown (Bookmark) @param parent reference to the parent widget (QWidget) """ - super(BookmarkInfoDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__bookmark = bookmark
--- a/eric6/WebBrowser/UrlBar/FavIconLabel.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/UrlBar/FavIconLabel.py Sat Apr 10 18:38:27 2021 +0200 @@ -22,7 +22,7 @@ @param parent reference to the parent widget (QWidget) """ - super(FavIconLabel, self).__init__(parent) + super().__init__(parent) self.__browser = None self.__dragStartPos = QPoint() @@ -67,7 +67,7 @@ """ if evt.button() == Qt.MouseButton.LeftButton: self.__dragStartPos = evt.pos() - super(FavIconLabel, self).mousePressEvent(evt) + super().mousePressEvent(evt) def mouseReleaseEvent(self, evt): """ @@ -77,7 +77,7 @@ """ if evt.button() == Qt.MouseButton.LeftButton: self.__showPopup(evt.globalPos()) - super(FavIconLabel, self).mouseReleaseEvent(evt) + super().mouseReleaseEvent(evt) def mouseMoveEvent(self, evt): """
--- a/eric6/WebBrowser/UrlBar/SslLabel.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/UrlBar/SslLabel.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param parent reference to the parent widget (QWidget) """ - super(SslLabel, self).__init__(parent) + super().__init__(parent) self.setFocusPolicy(Qt.FocusPolicy.NoFocus)
--- a/eric6/WebBrowser/UrlBar/StackedUrlBar.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/UrlBar/StackedUrlBar.py Sat Apr 10 18:38:27 2021 +0200 @@ -20,7 +20,7 @@ @param parent reference to the parent widget (QWidget) """ - super(StackedUrlBar, self).__init__(parent) + super().__init__(parent) sizePolicy = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Preferred)
--- a/eric6/WebBrowser/UrlBar/UrlBar.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/UrlBar/UrlBar.py Sat Apr 10 18:38:27 2021 +0200 @@ -314,7 +314,7 @@ self.__mw.currentBrowser().triggerPageAction( QWebEnginePage.WebAction.Forward) else: - super(UrlBar, self).mousePressEvent(evt) + super().mousePressEvent(evt) def mouseDoubleClickEvent(self, evt): """
--- a/eric6/WebBrowser/UserAgent/UserAgentManager.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/UserAgent/UserAgentManager.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param parent reference to the parent object (QObject) """ - super(UserAgentManager, self).__init__(parent) + super().__init__(parent) self.__agents = {} # dictionary with agent strings indexed by host name
--- a/eric6/WebBrowser/UserAgent/UserAgentMenu.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/UserAgent/UserAgentMenu.py Sat Apr 10 18:38:27 2021 +0200 @@ -30,7 +30,7 @@ @param url URL to set user agent for (QUrl) @param parent reference to the parent widget (QWidget) """ - super(UserAgentMenu, self).__init__(title, parent) + super().__init__(title, parent) self.__manager = None self.__url = url
--- a/eric6/WebBrowser/UserAgent/UserAgentModel.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/UserAgent/UserAgentModel.py Sat Apr 10 18:38:27 2021 +0200 @@ -21,7 +21,7 @@ @param manager reference to the user agent manager (UserAgentManager) @param parent reference to the parent object (QObject) """ - super(UserAgentModel, self).__init__(parent) + super().__init__(parent) self.__manager = manager self.__manager.changed.connect(self.__userAgentsChanged)
--- a/eric6/WebBrowser/UserAgent/UserAgentReader.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/UserAgent/UserAgentReader.py Sat Apr 10 18:38:27 2021 +0200 @@ -19,7 +19,7 @@ """ Constructor """ - super(UserAgentReader, self).__init__() + super().__init__() def read(self, fileNameOrDevice): """
--- a/eric6/WebBrowser/UserAgent/UserAgentWriter.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/UserAgent/UserAgentWriter.py Sat Apr 10 18:38:27 2021 +0200 @@ -18,7 +18,7 @@ """ Constructor """ - super(UserAgentWriter, self).__init__() + super().__init__() self.setAutoFormatting(True)
--- a/eric6/WebBrowser/UserAgent/UserAgentsDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/UserAgent/UserAgentsDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -28,7 +28,7 @@ @param parent reference to the parent widget (QWidget) """ - super(UserAgentsDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.removeButton.clicked.connect(
--- a/eric6/WebBrowser/VirusTotal/VirusTotalApi.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/VirusTotal/VirusTotalApi.py Sat Apr 10 18:38:27 2021 +0200 @@ -64,7 +64,7 @@ @param parent reference to the parent object (QObject) """ - super(VirusTotalAPI, self).__init__(parent) + super().__init__(parent) self.__replies = []
--- a/eric6/WebBrowser/VirusTotal/VirusTotalDomainReportDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/VirusTotal/VirusTotalDomainReportDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -43,7 +43,7 @@ @param parent reference to the parent widget @type QWidget """ - super(VirusTotalDomainReportDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/WebBrowser/VirusTotal/VirusTotalIpReportDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/VirusTotal/VirusTotalIpReportDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -34,7 +34,7 @@ @param parent reference to the parent widget @type QWidget """ - super(VirusTotalIpReportDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.setWindowFlags(Qt.WindowType.Window)
--- a/eric6/WebBrowser/VirusTotal/VirusTotalWhoisDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/VirusTotal/VirusTotalWhoisDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @param parent reference to the parent widget @type QWidget """ - super(VirusTotalWhoisDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.headerLabel.setText(
--- a/eric6/WebBrowser/WebBrowserClearPrivateDataDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/WebBrowserClearPrivateDataDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param parent reference to the parent widget (QWidget) """ - super(WebBrowserClearPrivateDataDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) msh = self.minimumSizeHint()
--- a/eric6/WebBrowser/WebBrowserJavaScriptConsole.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/WebBrowserJavaScriptConsole.py Sat Apr 10 18:38:27 2021 +0200 @@ -23,7 +23,7 @@ @param parent reference to the parent widget (QWidget) """ - super(WebBrowserJavaScriptConsole, self).__init__(parent) + super().__init__(parent) self.setAcceptRichText(False) self.setLineWrapMode(QTextEdit.LineWrapMode.NoWrap) self.setReadOnly(True)
--- a/eric6/WebBrowser/WebBrowserLanguagesDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/WebBrowserLanguagesDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -25,7 +25,7 @@ @param parent reference to the parent widget (QWidget) """ - super(WebBrowserLanguagesDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.__model = QStringListModel() @@ -116,7 +116,7 @@ else: Preferences.Prefs.settings.setValue( "WebBrowser/AcceptLanguages", result) - super(WebBrowserLanguagesDialog, self).accept() + super().accept() @classmethod def httpString(cls, languages):
--- a/eric6/WebBrowser/WebBrowserPage.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/WebBrowserPage.py Sat Apr 10 18:38:27 2021 +0200 @@ -75,7 +75,7 @@ @param parent parent widget of this window (QWidget) """ - super(WebBrowserPage, self).__init__( + super().__init__( WebBrowserWindow.webProfile(), parent) self.__printer = None
--- a/eric6/WebBrowser/WebBrowserTabBar.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/WebBrowserTabBar.py Sat Apr 10 18:38:27 2021 +0200 @@ -26,7 +26,7 @@ @param parent reference to the parent widget (WebBrowserTabWidget) """ - super(WebBrowserTabBar, self).__init__(parent) + super().__init__(parent) self.__tabWidget = parent @@ -92,7 +92,7 @@ if self.count() == 1: return - super(WebBrowserTabBar, self).mouseMoveEvent(evt) + super().mouseMoveEvent(evt) if Preferences.getWebBrowser("ShowPreview"): # Find the tab under the mouse @@ -131,7 +131,7 @@ # If leave tabwidget then hide previous tab preview self.__hidePreview() - super(WebBrowserTabBar, self).leaveEvent(evt) + super().leaveEvent(evt) def mousePressEvent(self, evt): """ @@ -142,7 +142,7 @@ if Preferences.getWebBrowser("ShowPreview"): self.__hidePreview() - super(WebBrowserTabBar, self).mousePressEvent(evt) + super().mousePressEvent(evt) def event(self, evt): """ @@ -162,7 +162,7 @@ evt.setAccepted(True) return True - return super(WebBrowserTabBar, self).event(evt) + return super().event(evt) def tabRemoved(self, index): """
--- a/eric6/WebBrowser/WebBrowserTabWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/WebBrowserTabWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -81,7 +81,7 @@ @param parent reference to the parent widget (QWidget) """ - super(WebBrowserTabWidget, self).__init__(parent, dnd=True) + super().__init__(parent, dnd=True) from .WebBrowserTabBar import WebBrowserTabBar self.__tabBar = WebBrowserTabBar(self)
--- a/eric6/WebBrowser/WebBrowserView.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/WebBrowserView.py Sat Apr 10 18:38:27 2021 +0200 @@ -84,7 +84,7 @@ @param parent parent widget of this window (QWidget) @param name name of this window (string) """ - super(WebBrowserView, self).__init__(parent) + super().__init__(parent) self.setObjectName(name) self.__rwhvqt = None @@ -224,7 +224,7 @@ ): return - super(WebBrowserView, self).load(url) + super().load(url) if not self.__firstLoad: self.__firstLoad = True @@ -1362,7 +1362,7 @@ evt.acceptProposedAction() if not evt.isAccepted(): - super(WebBrowserView, self).dragMoveEvent(evt) + super().dragMoveEvent(evt) def dropEvent(self, evt): """ @@ -1370,7 +1370,7 @@ @param evt reference to the drop event (QDropEvent) """ - super(WebBrowserView, self).dropEvent(evt) + super().dropEvent(evt) if ( not evt.isAccepted() and evt.source() != self and @@ -1625,7 +1625,7 @@ self.triggerPageAction( QWebEnginePage.WebAction.ExitFullScreen) - return super(WebBrowserView, self).eventFilter(obj, evt) + return super().eventFilter(obj, evt) def event(self, evt): """ @@ -1638,7 +1638,7 @@ self._gestureEvent(evt) return True - return super(WebBrowserView, self).event(evt) + return super().event(evt) def inputWidget(self): """ @@ -1726,7 +1726,7 @@ @return view title @rtype str """ - titleStr = super(WebBrowserView, self).title() + titleStr = super().title() if not titleStr: if self.url().isEmpty(): url = self.__page.requestedUrl() @@ -2143,7 +2143,7 @@ @param evt reference to the show event object @type QShowEvent """ - super(WebBrowserView, self).showEvent(evt) + super().showEvent(evt) self.activateSession() def activateSession(self):
--- a/eric6/WebBrowser/WebBrowserWebSearchWidget.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/WebBrowserWebSearchWidget.py Sat Apr 10 18:38:27 2021 +0200 @@ -40,7 +40,7 @@ @param parent reference to the parent widget @type QWidget """ - super(WebBrowserWebSearchWidget, self).__init__(parent) + super().__init__(parent) from E5Gui.E5LineEdit import E5LineEdit from E5Gui.E5LineEditButton import E5LineEditButton @@ -333,7 +333,7 @@ """ self.__recentSearches = [] self.__setupCompleterMenu() - super(WebBrowserWebSearchWidget, self).clear() + super().clear() self.clearFocus() def preferencesChanged(self): @@ -413,4 +413,4 @@ self.__mw.currentBrowser().triggerPageAction( QWebEnginePage.WebAction.Forward) else: - super(WebBrowserWebSearchWidget, self).mousePressEvent(evt) + super().mousePressEvent(evt)
--- a/eric6/WebBrowser/WebBrowserWindow.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/WebBrowserWindow.py Sat Apr 10 18:38:27 2021 +0200 @@ -140,7 +140,7 @@ """ self.__hideNavigationTimer = None - super(WebBrowserWindow, self).__init__(parent) + super().__init__(parent) self.setObjectName(name) if private: self.setWindowTitle(self.tr("eric Web Browser (Private Mode)")) @@ -4358,7 +4358,7 @@ self.currentBrowser().triggerPageAction( QWebEnginePage.WebAction.Forward) else: - super(WebBrowserWindow, self).mousePressEvent(evt) + super().mousePressEvent(evt) @classmethod def feedsManager(cls): @@ -4510,7 +4510,7 @@ self.__linkActivated(url) return - super(WebBrowserWindow, self).keyPressEvent(evt) + super().keyPressEvent(evt) def event(self, evt): """ @@ -4559,7 +4559,7 @@ if self.__hideNavigationTimer: self.__hideNavigationTimer.stop() - return super(WebBrowserWindow, self).event(evt) + return super().event(evt) ########################################################################### ## Interface to VirusTotal below ##
--- a/eric6/WebBrowser/WebInspector.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/WebInspector.py Sat Apr 10 18:38:27 2021 +0200 @@ -33,7 +33,7 @@ @param parent reference to the parent widget @type QWidget """ - super(WebInspector, self).__init__(parent) + super().__init__(parent) self.__view = None self.__inspectElement = False @@ -53,7 +53,7 @@ @type QCloseEvent """ Preferences.setGeometry("WebInspectorGeometry", self.saveGeometry()) - super(WebInspector, self).closeEvent(evt) + super().closeEvent(evt) if evt.isAccepted(): self.inspectorClosed.emit()
--- a/eric6/WebBrowser/ZoomManager/ZoomManager.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/ZoomManager/ZoomManager.py Sat Apr 10 18:38:27 2021 +0200 @@ -29,7 +29,7 @@ @param parent reference to the parent object (QObject) """ - super(ZoomManager, self).__init__(parent) + super().__init__(parent) self.__zoomDB = {}
--- a/eric6/WebBrowser/ZoomManager/ZoomValuesDialog.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/ZoomManager/ZoomValuesDialog.py Sat Apr 10 18:38:27 2021 +0200 @@ -24,7 +24,7 @@ @param parent reference to the parent widget (QWidget) """ - super(ZoomValuesDialog, self).__init__(parent) + super().__init__(parent) self.setupUi(self) self.removeButton.clicked.connect(
--- a/eric6/WebBrowser/ZoomManager/ZoomValuesModel.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/WebBrowser/ZoomManager/ZoomValuesModel.py Sat Apr 10 18:38:27 2021 +0200 @@ -21,7 +21,7 @@ @param manager reference to the zoom values manager (ZoomManager) @param parent reference to the parent object (QObject) """ - super(ZoomValuesModel, self).__init__(parent) + super().__init__(parent) self.__manager = manager manager.changed.connect(self.__zoomValuesChanged)