File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 30
30
from adabot .lib import common_funcs
31
31
from adabot .lib import circuitpython_library_validators as cpy_vals
32
32
from adabot import github_requests as github
33
+ from adabot import pypi_requests as pypi
33
34
34
35
DO_NOT_VALIDATE = ['CircuitPython_Community_Bundle' ]
35
36
@@ -164,10 +165,16 @@ def get_contributors(repo):
164
165
if vals [0 ].startswith ("validate" )
165
166
]
166
167
bundle_submodules = common_funcs .get_bundle_submodules ()
168
+
169
+ latest_pylint = ""
170
+ pylint_info = pypi .get ("/pypi/pylint/json" )
171
+ if pylint_info and pylint_info .ok :
172
+ latest_pylint = pylint_info .json ()["info" ]["version" ]
173
+
167
174
validator = cpy_vals .library_validator (
168
175
default_validators ,
169
176
bundle_submodules ,
170
- 0.0
177
+ latest_pylint
171
178
)
172
179
173
180
for repo in repos :
You can’t perform that action at this time.
0 commit comments