Plugins/PluginSyntaxChecker.py

changeset 3036
30c81c9e88b8
parent 3034
7ce719013078
child 3060
5883ce99ee12
child 3160
209a07d7e401
diff -r 36e9f388958b -r 30c81c9e88b8 Plugins/PluginSyntaxChecker.py
--- a/Plugins/PluginSyntaxChecker.py	Sat Oct 19 14:05:26 2013 +0200
+++ b/Plugins/PluginSyntaxChecker.py	Sat Oct 19 15:15:50 2013 +0200
@@ -27,7 +27,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
 
@@ -90,8 +91,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)
         
@@ -149,7 +150,7 @@
         if menuName == "Checks" and self.__projectAct is not None:
             self.__projectAct.setEnabled(
                 e5App().getObject("Project").getProjectLanguage() in
-                    ["Python3", "Python2", "Python"])
+                ["Python3", "Python2", "Python"])
     
     def __projectBrowserShowMenu(self, menuName, menu):
         """
@@ -187,8 +188,8 @@
         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

eric ide

mercurial