Files
d34a46e38bc22cae3f6ae98dbd40389275e4c804
nova /tox.ini

79 lines
2.4 KiB
INI
Raw Normal View History

[testenv]
whitelist_externals = bash
find
# random hash seed successfully.
setenv = VIRTUAL_ENV={envdir}
# mode. To do this define the TRACE_FAILONLY environmental variable.
downloadcache = ~/cache/pip
[testenv:pep8]
commands =
bash tools/config/generate_sample.sh -b . -p nova -o etc/nova
commands = bash tools/lintstack.sh
# Also do not run test_coverage_ext tests while gathering coverage as those
# tests conflict with coverage.
commands =
coverage html --include='nova/*' --omit='nova/openstack/common/*' -d covhtml -i
[testenv:venv]
commands = {posargs}
commands = python setup.py build_sphinx
# H803 skipped on purpose per list discussion.
# TODO(jogo): get this number down to 25 or so
max-complexity=68
[hacking]
local-check-factory = nova.hacking.checks.factory
[testenv:pip-missing-reqs]
# do not install test-requirements as that will pollute the virtualenv for
# determining missing packages
# this also means that pip-missing-reqs must be installed separately, outside
# of the requirements.txt files
deps = pip_missing_reqs
-rrequirements.txt
commands=pip-missing-reqs -d --ignore-file=nova/tests/* nova