PluginPyLint.py

changeset 66
0ed7d5364b48
parent 64
7c2867ac2ee8
child 72
d864ddf21044
equal deleted inserted replaced
65:af349b5bb030 66:0ed7d5364b48
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.7" 38 version = "6.1.8"
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""" \
187 else: 187 else:
188 # 188 #
189 # Linux, Unix ... 189 # Linux, Unix ...
190 pylintScript = 'pylint' 190 pylintScript = 'pylint'
191 scriptSuffixes = ["", 191 scriptSuffixes = ["",
192 "-python{0}".format(majorVersion)] 192 "-python{0}".format(majorVersion),
193 "{0}".format(majorVersion),]
193 for minorVersion in minorVersions: 194 for minorVersion in minorVersions:
194 scriptSuffixes.append( 195 scriptSuffixes.append(
195 "-python{0}.{1}".format(majorVersion, minorVersion)) 196 "-python{0}.{1}".format(majorVersion, minorVersion))
196 # There could be multiple pylint executables in the path 197 # There could be multiple pylint executables in the path
197 # e.g. for different python variants 198 # e.g. for different python variants

eric ide

mercurial