Files
cad0f06ec94d733d88eb5b3983afc22b4604d1b2
nova /tox.ini

59 lines
1.5 KiB
INI
Raw Normal View History

[testenv]
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
LANGUAGE=en_US:en
LC_ALL=C
python tools/patch_tox_venv.py
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]
# in sqlalchemy.
# H102 Apache 2.0 license header not found
[hacking]
local-check-factory = nova.hacking.checks.factory