PluginPyLint.py

changeset 72
d864ddf21044
parent 69
2de720476713
parent 66
0ed7d5364b48
child 74
118903c67658
equal deleted inserted replaced
71:5d5d4b3da05c 72:d864ddf21044
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.8" 38 version = "6.1.9"
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""" \
190 else: 190 else:
191 # 191 #
192 # Linux, Unix ... 192 # Linux, Unix ...
193 pylintScript = 'pylint' 193 pylintScript = 'pylint'
194 scriptSuffixes = ["", 194 scriptSuffixes = ["",
195 "-python{0}".format(majorVersion)] 195 "-python{0}".format(majorVersion),
196 "{0}".format(majorVersion),]
196 for minorVersion in minorVersions: 197 for minorVersion in minorVersions:
197 scriptSuffixes.append( 198 scriptSuffixes.append(
198 "-python{0}.{1}".format(majorVersion, minorVersion)) 199 "-python{0}.{1}".format(majorVersion, minorVersion))
199 # There could be multiple pylint executables in the path 200 # There could be multiple pylint executables in the path
200 # e.g. for different python variants 201 # e.g. for different python variants

eric ide

mercurial