fix tox.ini error
Change-Id: I01d760a972b384eb25ccee614e5ecd90d8433c8c
This commit is contained in:
parent
ace7eda8cd
commit
dd30f26f70
8
tox.ini
8
tox.ini
|
@ -12,10 +12,12 @@ deps =
|
|||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||
passenv = http_proxy
|
||||
https_proxy
|
||||
no_proxy
|
||||
|
||||
[testenv:bashate]
|
||||
whitelist_externals = bash
|
||||
allowlist_externals = bash
|
||||
commands = bash -c "find {toxinidir} -not -wholename \*.tox/\* -and \( -name \*.sh -or -wholename \*.d/\* -and -not -name \*.md -and -not -name \*.rst -and -not -name \*.py \) -print0 | xargs -0 bashate -v"
|
||||
|
||||
[testenv:pep8]
|
||||
|
@ -25,6 +27,8 @@ commands =
|
|||
flake8 {posargs}
|
||||
{toxinidir}/tools/run_bashate.sh
|
||||
dib-lint
|
||||
allowlist_externals = /bin/bash
|
||||
{toxinidir}/tools/run_bashate.sh
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
|
|
Loading…
Reference in New Issue