Run pep8/fast8 with python3
Change-Id: I056d7228834f5becf36ccbd4f7473e532cc5a431
This commit is contained in:
parent
8069580b32
commit
b08d3d5b11
4
tox.ini
4
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user