Files
1b96b77211ad883c9e934f36d47a9e6191681a86
nova /tox.ini

54 lines
1.3 KiB
INI
Raw Normal View History

[testenv]
setenv = VIRTUAL_ENV={envdir}
LANGUAGE=en_US:en
LC_ALL=C
-r{toxinidir}/requirements.txt
python tools/patch_tox_venv.py
python setup.py testr --slowest --testr-args='{posargs}'
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
ignore = E121,E122,E123,E124,E126,E127,E128,E711,E712,H102,H302,H404,F403,F811,F841
[hacking]
local-check-factory = nova.hacking.checks.factory