Thu, 08 Dec 2022 18:09:33 +0100
Corrected some code style issues.
--- a/src/eric7/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/messages.py Thu Dec 08 18:04:00 2022 +0100 +++ b/src/eric7/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/messages.py Thu Dec 08 18:09:33 2022 +0100 @@ -391,7 +391,7 @@ class UnusedAnnotation(Message): """ - Class defining the "Unused Annotation" message + Class defining the "Unused Annotation" message. Indicates that a variable has been explicitly annotated but not actually used. @@ -401,6 +401,13 @@ message = "local variable %r is annotated but never used" def __init__(self, filename, loc, names): + """ + Constructor + + @param filename name of the file (string) + @param loc location of the issue + @param names names of unused variable (string) + """ Message.__init__(self, filename, loc) self.message_args = (names,)
--- a/src/eric7/ViewManager/ViewManager.py Thu Dec 08 18:04:00 2022 +0100 +++ b/src/eric7/ViewManager/ViewManager.py Thu Dec 08 18:09:33 2022 +0100 @@ -5648,7 +5648,7 @@ """ editor.modificationStatusChanged.connect(self._modificationStatusChanged) editor.cursorChanged.connect( - lambda f, l, p: self.__cursorChanged(f, l, p, editor) + lambda fn, line, pos: self.__cursorChanged(fn, line, pos, editor) ) editor.editorSaved.connect(lambda fn: self.__editorSaved(fn, editor)) editor.editorRenamed.connect(lambda fn: self.__editorRenamed(fn, editor))