Files
8f62dd1f054475c0644c83031b86c8e622253ddc
nova /tox.ini

57 lines
1.4 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
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.
python setup.py testr --coverage \
[testenv:venv]
commands = {posargs}
[flake8]
# in sqlalchemy.
# H102 Apache 2.0 license header not found
[hacking]
local-check-factory = nova.hacking.checks.factory