--- a/Plugins/PluginSyntaxChecker.py Fri Nov 01 15:48:48 2013 +0100 +++ b/Plugins/PluginSyntaxChecker.py Sun Nov 03 15:58:22 2013 +0100 @@ -29,7 +29,8 @@ packageName = "__core__" shortDescription = "Show the Syntax Checker dialog." longDescription = """This plugin implements the Syntax Checker dialog.""" \ - """ Syntax Checker is used to check Python source files for correct syntax.""" + """ Syntax Checker is used to check Python source files for correct""" \ + """ syntax.""" pyqtApi = 2 # End-Of-Header @@ -92,8 +93,8 @@ self.trUtf8('&Syntax...'), 0, 0, self, "") self.__editorAct.setWhatsThis(self.trUtf8( - """<b>Check Syntax...</b>""" - """<p>This checks Python files for syntax errors.</p>""" + """<b>Check Syntax...</b>""" + """<p>This checks Python files for syntax errors.</p>""" )) self.__editorAct.triggered[()].connect(self.__editorSyntaxCheck) @@ -150,8 +151,8 @@ """ if menuName == "Checks" and self.__projectAct is not None: self.__projectAct.setEnabled( - e5App().getObject("Project").getProjectLanguage() in \ - ["Python3", "Python2", "Python"]) + e5App().getObject("Project").getProjectLanguage() in + ["Python3", "Python2", "Python"]) def __projectBrowserShowMenu(self, menuName, menu): """ @@ -186,11 +187,11 @@ project = e5App().getObject("Project") project.saveAllScripts() ppath = project.getProjectPath() - files = [os.path.join(ppath, file) \ - for file in project.pdata["SOURCES"] \ + files = [os.path.join(ppath, file) + for file in project.pdata["SOURCES"] if file.endswith( - tuple(Preferences.getPython("Python3Extensions")) + - tuple(Preferences.getPython("PythonExtensions")))] + tuple(Preferences.getPython("Python3Extensions")) + + tuple(Preferences.getPython("PythonExtensions")))] from CheckerPlugins.SyntaxChecker.SyntaxCheckerDialog import \ SyntaxCheckerDialog