summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorTom Barron <tpb@dyncloud.net>2017-03-17 12:02:21 -0400
committerTom Barron <tpb@dyncloud.net>2017-03-20 15:44:39 +0000
commit7dfd141915d7dcec82b7592dc21650493dfc664f (patch)
tree39a096ab8b2c048d96f380f3f347e1beeb109b8b /tox.ini
parentf7783776b5479761ba9d6a6b63121be1c8957541 (diff)
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
Notes
Notes (review): Code-Review+2: Rodrigo Barbieri <rodrigo.barbieri2010@gmail.com> Code-Review+2: Goutham Pacha Ravi <gouthampravi@gmail.com> Workflow+1: Goutham Pacha Ravi <gouthampravi@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 20 Mar 2017 20:26:22 +0000 Reviewed-on: https://review.openstack.org/447049 Project: openstack/manila Branch: refs/heads/master
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 2563242..9ed3db3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -77,12 +77,14 @@ commands =
77 {toxinidir}/tools/fast8.sh 77 {toxinidir}/tools/fast8.sh
78 78
79[testenv:pylint] 79[testenv:pylint]
80basepython = python2.7
80deps = -r{toxinidir}/requirements.txt 81deps = -r{toxinidir}/requirements.txt
81 pylint==0.26.0 82 pylint==0.26.0
82whitelist_externals = bash 83whitelist_externals = bash
83commands = bash tools/lintstack.sh 84commands = bash tools/lintstack.sh
84 85
85[testenv:lint] 86[testenv:lint]
87basepython = python2.7
86deps = -r{toxinidir}/requirements.txt 88deps = -r{toxinidir}/requirements.txt
87 pylint==0.26.0 89 pylint==0.26.0
88commands = python tools/lintstack.py check 90commands = python tools/lintstack.py check