PluginPyLint.py

changeset 35
c3ca6d580760
parent 32
b0a6368042b9
child 37
6d16eddede1e
child 38
bf234b8941d9
equal deleted inserted replaced
34:6af72432d072 35:c3ca6d580760
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.0" 45 version = "5.4.1"
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""" \
77 "version": "", 77 "version": "",
78 "versionCleanup": (0, -1), 78 "versionCleanup": (0, -1),
79 } 79 }
80 if _checkProgram(): 80 if _checkProgram():
81 for exePath in (exePy2[0], exePy3[0]): 81 for exePath in (exePy2[0], exePy3[0]):
82 data["exe"] = exePath 82 if exePath:
83 data["versionStartsWith"] = "pylint" 83 data["exe"] = exePath
84 dataList.append(data.copy()) 84 data["versionStartsWith"] = "pylint"
85 dataList.append(data.copy())
85 else: 86 else:
86 dataList.append(data) 87 dataList.append(data)
87 return dataList 88 return dataList
88 89
89 90

eric ide

mercurial