Files
7008899a0ad9858e5af990ae68c9390a63ea27eb
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.
# H803 skipped on purpose per list discussion.
# H102 Apache 2.0 license header not found
[hacking]
local-check-factory = nova.hacking.checks.factory