update pep8 test in tox
Change-Id: I4cbd530b1a3226361b298e9b0886658dae088c0b
This commit is contained in:
parent
708df101a2
commit
b9de428894
8
tox.ini
8
tox.ini
@ -19,9 +19,13 @@ deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/up
|
|||||||
commands = stestr run {posargs}
|
commands = stestr run {posargs}
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
|
deps =
|
||||||
|
-r{toxinidir}/doc/requirements.txt
|
||||||
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands =
|
commands =
|
||||||
flake8 {posargs}
|
find . -type f -name "*.pyc" -delete
|
||||||
doc8 specs/
|
stestr run --slowest {posargs}
|
||||||
|
flake8 {posargs}
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user