Merge "fix tox python3 overrides"

This commit is contained in:
Zuul 2018-06-11 17:13:02 +00:00 committed by Gerrit Code Review
commit f1f1ba90fd
1 changed files with 6 additions and 0 deletions

View File

@ -48,27 +48,33 @@ commands =
coverage report
[testenv:debug]
basepython = python3
commands =
{[testenv]commands}
oslo_debug_helper -t {env:OS_TEST_PATH} {posargs}
[testenv:bandit]
basepython = python3
# B101(assert_ussed) - Validation uses asserts because of performance reasons
# monasca_common/kafka_lib is a clone of kafka-python and will be deleted in the future
commands = bandit -r monasca_common -n5 -s B101 -x monasca_common/tests -x monasca_common/kafka_lib
[testenv:flake8]
basepython = python3
commands = flake8 monasca_common
[testenv:pep8]
basepython = python3
commands =
{[testenv:flake8]commands}
{[testenv:bandit]commands}
[testenv:venv]
basepython = python3
commands = {posargs}
[testenv:bindep]
basepython = python3
deps = bindep
commands = bindep test