Plugins/PluginCodeStyleChecker.py

changeset 3004
c4bf32c791d0
parent 2982
556adfe76ba7
child 3057
10516539f238
child 3160
209a07d7e401
--- a/Plugins/PluginCodeStyleChecker.py	Thu Oct 10 18:40:16 2013 +0200
+++ b/Plugins/PluginCodeStyleChecker.py	Thu Oct 10 19:03:45 2013 +0200
@@ -87,7 +87,8 @@
                 """<p>This checks Python files for compliance to the"""
                 """ code style conventions given in various PEPs.</p>"""
             ))
-            self.__projectAct.triggered[()].connect(self.__projectCodeStyleCheck)
+            self.__projectAct.triggered[()].connect(
+                self.__projectCodeStyleCheck)
             e5App().getObject("Project").addE5Actions([self.__projectAct])
             menu.addAction(self.__projectAct)
         
@@ -276,8 +277,8 @@
         editor = e5App().getObject("ViewManager").activeWindow()
         if editor is not None:
             if editor.checkDirty() and editor.getFileName() is not None:
-                from CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog import \
-                    CodeStyleCheckerDialog
+                from CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog \
+                    import CodeStyleCheckerDialog
                 self.__editorCodeStyleCheckerDialog = CodeStyleCheckerDialog()
                 self.__editorCodeStyleCheckerDialog.show()
                 self.__editorCodeStyleCheckerDialog.start(

eric ide

mercurial