From b08d3d5b11e27680d278f9bc3894d3dc5b7e6bda Mon Sep 17 00:00:00 2001 From: Tom Barron Date: Sat, 7 Apr 2018 09:20:15 -0400 Subject: [PATCH] Run pep8/fast8 with python3 Change-Id: I056d7228834f5becf36ccbd4f7473e532cc5a431 --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tox.ini b/tox.ini index f6faa08b27..0e5c0b3ce0 100644 --- a/tox.ini +++ b/tox.ini @@ -37,6 +37,8 @@ basepython = python3.5 commands = oslo_debug_helper {posargs} [testenv:pep8] +# Let's gate pep8 under py3 by default because the py3 checks are stricter. +basepython = python3 commands = flake8 {posargs} # Run bashate during pep8 runs to ensure violations are caught by @@ -87,6 +89,8 @@ commands = {toxinidir}/tools/cover.sh {posargs} [testenv:fast8] +# Let's run fast8 under py3 by default because the py3 checks are stricter. +basepython = python3 commands = {toxinidir}/tools/fast8.sh