Add check-uuid to pep8 tox tests
Change-Id: I4f723e110d79c563685987e420df75257a62d719
This commit is contained in:
7
tox.ini
7
tox.ini
@@ -11,6 +11,7 @@ install_command = pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.opens
|
||||
setenv =
|
||||
PYTHONWARNINGS=default::DeprecationWarning
|
||||
deps =
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands = stestr run --slowest {posargs}
|
||||
|
||||
@@ -19,11 +20,12 @@ commands =
|
||||
doc8 doc/source/ CONTRIBUTING.rst HACKING.rst README.rst
|
||||
flake8
|
||||
bandit -r watcher_tempest_plugin -x tests -n5 -ll
|
||||
check-uuid --package watcher_tempest_plugin
|
||||
|
||||
[testenv:cover]
|
||||
setenv =
|
||||
{[testenv]setenv}
|
||||
PYTHON=coverage run --source ironic_tempest_plugin --parallel-mode
|
||||
PYTHON=coverage run --source watcher_tempest_plugin --parallel-mode
|
||||
commands =
|
||||
stestr run {posargs}
|
||||
coverage combine
|
||||
@@ -74,3 +76,6 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,demo/,releasenotes
|
||||
|
||||
[doc8]
|
||||
extension=.rst
|
||||
|
||||
[testenv:uuidgen]
|
||||
commands = check-uuid --fix --package watcher_tempest_plugin
|
||||
|
||||
Reference in New Issue
Block a user