summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorTom Barron <tpb@dyncloud.net>2018-04-07 09:20:15 -0400
committerTom Barron <tpb@dyncloud.net>2018-04-07 09:20:15 -0400
commitb08d3d5b11e27680d278f9bc3894d3dc5b7e6bda (patch)
treee28ffc9ce339f909e9cea2204bcdeb3cc711e6ec /tox.ini
parent8069580b32247ad0b0b9f1316502e0d3a845cbb4 (diff)
Run pep8/fast8 with python3
Notes
Notes (review): Code-Review+2: zhongjun <jun.zhongjun2@gmail.com> Code-Review+2: xing-yang <xingyang105@gmail.com> Workflow+1: xing-yang <xingyang105@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 09 Apr 2018 09:31:14 +0000 Reviewed-on: https://review.openstack.org/559489 Project: openstack/manila Branch: refs/heads/master
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index f6faa08..0e5c0b3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -37,6 +37,8 @@ basepython = python3.5
37commands = oslo_debug_helper {posargs} 37commands = oslo_debug_helper {posargs}
38 38
39[testenv:pep8] 39[testenv:pep8]
40# Let's gate pep8 under py3 by default because the py3 checks are stricter.
41basepython = python3
40commands = 42commands =
41 flake8 {posargs} 43 flake8 {posargs}
42 # Run bashate during pep8 runs to ensure violations are caught by 44 # Run bashate during pep8 runs to ensure violations are caught by
@@ -87,6 +89,8 @@ commands =
87 {toxinidir}/tools/cover.sh {posargs} 89 {toxinidir}/tools/cover.sh {posargs}
88 90
89[testenv:fast8] 91[testenv:fast8]
92# Let's run fast8 under py3 by default because the py3 checks are stricter.
93basepython = python3
90commands = 94commands =
91 {toxinidir}/tools/fast8.sh 95 {toxinidir}/tools/fast8.sh
92 96