33 # Start-of-Header |
33 # Start-of-Header |
34 name = "PyLint Plugin" |
34 name = "PyLint Plugin" |
35 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
35 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
36 autoactivate = True |
36 autoactivate = True |
37 deactivateable = True |
37 deactivateable = True |
38 version = "6.1.2" |
38 version = "6.1.3" |
39 className = "PyLintPlugin" |
39 className = "PyLintPlugin" |
40 packageName = "PyLint" |
40 packageName = "PyLint" |
41 shortDescription = "Show the PyLint dialogs." |
41 shortDescription = "Show the PyLint dialogs." |
42 longDescription = """This plug-in implements the PyLint dialogs.""" \ |
42 longDescription = """This plug-in implements the PyLint dialogs.""" \ |
43 """ PyLint is used to check Python source files according to various""" \ |
43 """ PyLint is used to check Python source files according to various""" \ |
88 Private method to generate a program entry. |
88 Private method to generate a program entry. |
89 |
89 |
90 @param exe name of the executable program (string) |
90 @param exe name of the executable program (string) |
91 @return version string of detected version (string) |
91 @return version string of detected version (string) |
92 """ |
92 """ |
|
93 version = '0.0.0' |
93 proc = QProcess() |
94 proc = QProcess() |
94 proc.setProcessChannelMode(QProcess.MergedChannels) |
95 proc.setProcessChannelMode(QProcess.MergedChannels) |
95 proc.start(exe, ['--version']) |
96 proc.start(exe, ['--version']) |
96 finished = proc.waitForFinished(10000) |
97 finished = proc.waitForFinished(10000) |
97 if finished: |
98 if finished: |