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:
parent
f7783776b5
commit
7dfd141915
2
tox.ini
2
tox.ini
@ -77,12 +77,14 @@ commands =
|
|||||||
{toxinidir}/tools/fast8.sh
|
{toxinidir}/tools/fast8.sh
|
||||||
|
|
||||||
[testenv:pylint]
|
[testenv:pylint]
|
||||||
|
basepython = python2.7
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
pylint==0.26.0
|
pylint==0.26.0
|
||||||
whitelist_externals = bash
|
whitelist_externals = bash
|
||||||
commands = bash tools/lintstack.sh
|
commands = bash tools/lintstack.sh
|
||||||
|
|
||||||
[testenv:lint]
|
[testenv:lint]
|
||||||
|
basepython = python2.7
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
pylint==0.26.0
|
pylint==0.26.0
|
||||||
commands = python tools/lintstack.py check
|
commands = python tools/lintstack.py check
|
||||||
|
Loading…
Reference in New Issue
Block a user