Merge "fix tox python3 overrides"
This commit is contained in:
commit
f1f1ba90fd
6
tox.ini
6
tox.ini
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user