improve tox.ini with OS conventions
This commit is contained in:
parent
3569b45dfc
commit
6bb9667722
10
tox.ini
10
tox.ini
@ -6,11 +6,13 @@ skipsdist = True
|
|||||||
[testenv]
|
[testenv]
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
install_command = pip install -U {opts} {packages}
|
install_command = pip install -U {opts} {packages}
|
||||||
setenv =
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
VIRTUAL_ENV={envdir}
|
PYTHONDONTWRITEBYTECODE = 1
|
||||||
|
LANGUAGE=en_US
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
commands =
|
||||||
|
bash -c "TESTS_DIR=./redfish/tests python setup.py testr --slowest --testr-args='{posargs}'"
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
commands = flake8
|
commands = flake8
|
||||||
@ -33,4 +35,4 @@ commands = oslo_debug_helper {posargs}
|
|||||||
show-source = True
|
show-source = True
|
||||||
ignore = E123,E125
|
ignore = E123,E125
|
||||||
builtins = _
|
builtins = _
|
||||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user