Files
57c4a7f9d39f2febf6b1d9e484d3968c57bb22d6
nova /tox.ini

61 lines
1.6 KiB
INI
Raw Normal View History

[testenv]
setenv = VIRTUAL_ENV={envdir}
downloadcache = ~/cache/pip
[testenv:pep8]
commands =
sitepackages = False
commands =
bash tools/config/generate_sample.sh -b . -p nova -o etc/nova
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.
python setup.py testr --coverage \
[testenv:venv]
commands = {posargs}
sitepackages = False
# in sqlalchemy.
# H803 skipped on purpose per list discussion.
[hacking]
local-check-factory = nova.hacking.checks.factory