PluginPyLint.py

branch
eric5
changeset 37
6d16eddede1e
parent 35
c3ca6d580760
equal deleted inserted replaced
36:3d5dc11c8d8c 37:6d16eddede1e
40 # Start-of-Header 40 # Start-of-Header
41 name = "PyLint Plugin" 41 name = "PyLint Plugin"
42 author = "Detlev Offenbach <detlev@die-offenbachs.de>" 42 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
43 autoactivate = True 43 autoactivate = True
44 deactivateable = True 44 deactivateable = True
45 version = "5.4.1" 45 version = "5.4.2"
46 className = "PyLintPlugin" 46 className = "PyLintPlugin"
47 packageName = "PyLint" 47 packageName = "PyLint"
48 shortDescription = "Show the PyLint dialogs." 48 shortDescription = "Show the PyLint dialogs."
49 longDescription = """This plug-in implements the PyLint dialogs.""" \ 49 longDescription = """This plug-in implements the PyLint dialogs.""" \
50 """ PyLint is used to check Python source files according to various""" \ 50 """ PyLint is used to check Python source files according to various""" \
536 if not forEditor: 536 if not forEditor:
537 project.setData('CHECKERSPARMS', "PYLINT", parms) 537 project.setData('CHECKERSPARMS', "PYLINT", parms)
538 538
539 # now do the call 539 # now do the call
540 from PyLint.PyLintExecDialog import PyLintExecDialog 540 from PyLint.PyLintExecDialog import PyLintExecDialog
541 dlg2 = PyLintExecDialog() 541 dlg2 = PyLintExecDialog(self.__ui)
542 reportFile = parms.get('reportFile', None) 542 reportFile = parms.get('reportFile', None)
543 res = dlg2.start(args, mpName, reportFile, 543 res = dlg2.start(args, mpName, reportFile,
544 project.getProjectPath()) 544 project.getProjectPath())
545 if res: 545 if res:
546 dlg2.show() 546 dlg2.show()

eric ide

mercurial