Plugins/PluginTabnanny.py

changeset 3036
30c81c9e88b8
parent 3034
7ce719013078
child 3060
5883ce99ee12
child 3160
209a07d7e401
diff -r 36e9f388958b -r 30c81c9e88b8 Plugins/PluginTabnanny.py
--- a/Plugins/PluginTabnanny.py	Sat Oct 19 14:05:26 2013 +0200
+++ b/Plugins/PluginTabnanny.py	Sat Oct 19 15:15:50 2013 +0200
@@ -27,7 +27,8 @@
 packageName = "__core__"
 shortDescription = "Show the Tabnanny dialog."
 longDescription = """This plugin implements the Tabnanny dialog.""" \
- """ Tabnanny is used to check Python source files for correct indentations."""
+    """ Tabnanny is used to check Python source files for correct""" \
+    """ indentations."""
 pyqtApi = 2
 # End-Of-Header
 
@@ -151,7 +152,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):
         """
@@ -190,8 +191,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.Tabnanny.TabnannyDialog import TabnannyDialog
         self.__projectTabnannyDialog = TabnannyDialog()

eric ide

mercurial