Files
2f6022f6bff9172a075b01c6cb6f87a4b4aabeb8
nova /tox.ini

58 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