Run pep8/fast8 with python3

Change-Id: I056d7228834f5becf36ccbd4f7473e532cc5a431
This commit is contained in:
Tom Barron 2018-04-07 09:20:15 -04:00
parent 8069580b32
commit b08d3d5b11

View File

@ -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