Files
584b2fb4b0a1968699f8d2dd4b0a2af67e7dca8c
nova /tox.ini

48 lines
1.1 KiB
INI
Raw Normal View History

[testenv]
setenv = VIRTUAL_ENV={envdir}
LANGUAGE=en_US:en
LC_ALL=C
-r{toxinidir}/test-requirements.txt
python tools/patch_tox_venv.py
python setup.py testr --slowest --testr-args='{posargs}'
downloadcache = ~/cache/pip
[testenv:pep8]
commands =
setenv = VIRTUAL_ENV={envdir}
commands = bash tools/lintstack.sh
# Also do not run test_coverage_ext tests while gathering coverage as those
# tests conflict with coverage.
[testenv:venv]
commands = {posargs}
[flake8]
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,plugins,tools
[hacking]
local-check-factory = nova.hacking.checks.factory