PluginPyLint.py

changeset 64
7c2867ac2ee8
parent 62
3d7ca91127c5
child 66
0ed7d5364b48
child 68
35b46e640d6d
equal deleted inserted replaced
63:919dd526655a 64:7c2867ac2ee8
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.6" 38 version = "6.1.7"
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""" \
115 @param majorVersion major python version of the executables (int) 115 @param majorVersion major python version of the executables (int)
116 @return path name of the executable (string) 116 @return path name of the executable (string)
117 """ 117 """
118 # Determine Python Version 118 # Determine Python Version
119 if majorVersion == 3: 119 if majorVersion == 3:
120 minorVersions = range(5) 120 minorVersions = range(10)
121 elif majorVersion == 2: 121 elif majorVersion == 2:
122 minorVersions = range(5, 9) 122 minorVersions = range(6, 8)
123 else: 123 else:
124 return [] 124 return []
125 125
126 executables = set() 126 executables = set()
127 if Utilities.isWindowsPlatform(): 127 if Utilities.isWindowsPlatform():

eric ide

mercurial