PluginPyLint.py

changeset 18
ae62d56e345d
parent 16
ea2cd48d7338
child 20
8ca799e4b7e4
diff -r be64e1afc5c2 -r ae62d56e345d PluginPyLint.py
--- a/PluginPyLint.py	Sun Feb 03 16:56:41 2013 +0100
+++ b/PluginPyLint.py	Sat Feb 23 15:12:21 2013 +0100
@@ -18,9 +18,6 @@
 from E5Gui.E5Action import E5Action
 from E5Gui import E5MessageBox
 
-from PyLint.PyLintConfigDialog import PyLintConfigDialog
-from PyLint.PyLintExecDialog import PyLintExecDialog
-
 import Utilities
 
 # Start-of-Header
@@ -28,7 +25,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "5.1.2"
+version = "5.2.0"
 className = "PyLintPlugin"
 packageName = "PyLint"
 shortDescription = "Show the PyLint dialogs."
@@ -405,6 +402,7 @@
                 self.trUtf8("""The pylint executable could not be found."""))
             return
         
+        from PyLint.PyLintConfigDialog import PyLintConfigDialog
         dlg = PyLintConfigDialog(project.getProjectPath(), exe, parms)
         if dlg.exec_() == QDialog.Accepted:
             args, parms = dlg.generateParameters()
@@ -413,6 +411,7 @@
                 project.setData('CHECKERSPARMS', "PYLINT", parms)
             
             # now do the call
+            from PyLint.PyLintExecDialog import PyLintExecDialog
             dlg2 = PyLintExecDialog()
             try:
                 reportFile = parms['reportFile']

eric ide

mercurial