set basepython for pylint tox env

to python2.7 so that running locally will succeed
and the results will match those for the gate
pylint job.

Partial-Bug: #1673824

Change-Id: I6c45a32ba8e77c35403357b0100379bb536a36b3
This commit is contained in:
Tom Barron 2017-03-17 12:02:21 -04:00
parent f7783776b5
commit 7dfd141915
1 changed files with 2 additions and 0 deletions

View File

@ -77,12 +77,14 @@ commands =
{toxinidir}/tools/fast8.sh
[testenv:pylint]
basepython = python2.7
deps = -r{toxinidir}/requirements.txt
pylint==0.26.0
whitelist_externals = bash
commands = bash tools/lintstack.sh
[testenv:lint]
basepython = python2.7
deps = -r{toxinidir}/requirements.txt
pylint==0.26.0
commands = python tools/lintstack.py check