File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 3030from adabot .lib import common_funcs
3131from adabot .lib import circuitpython_library_validators as cpy_vals
3232from adabot import github_requests as github
33+ from adabot import pypi_requests as pypi
3334
3435DO_NOT_VALIDATE = ['CircuitPython_Community_Bundle' ]
3536
@@ -164,10 +165,16 @@ def get_contributors(repo):
164165 if vals [0 ].startswith ("validate" )
165166 ]
166167 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+
167174 validator = cpy_vals .library_validator (
168175 default_validators ,
169176 bundle_submodules ,
170- 0.0
177+ latest_pylint
171178 )
172179
173180 for repo in repos :
You can’t perform that action at this time.
0 commit comments