28 lines
649 B
INI
28 lines
649 B
INI
[tox]
|
|
envlist = pep8,py27
|
|
|
|
[testenv]
|
|
setenv =
|
|
VIRTUAL_ENV={envdir}
|
|
PYTHONPATH = {toxinidir}/etc/barbican
|
|
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:py27]
|
|
commands = python setup.py testr --coverage
|
|
coverage combine
|
|
coverage report -m
|
|
|
|
[testenv:coverage]
|
|
commands = coverage html {posargs:--include="*barbican*"}
|
|
|
|
[testenv:pep8]
|
|
commands = {toxinidir}/tools/hacking.sh {posargs}
|
|
|
|
[flake8]
|
|
# E711 ignored because of sqlalchemy override of == None
|
|
# H ignored because it's not H clean
|
|
ignore = E711,H
|
|
exclude = .git,.idea,.tox,bin,dist,debian,rpmbuild,tools,*.egg-info,*openstack/common
|