barbican/tox.ini
chadlung 0e0d062113 Adjust contrib location, minor adjustments
Change-Id: I0a962f487ac3362b209422554286e76441daa06a
2014-02-26 15:33:30 -06:00

28 lines
673 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,contrib,functionaltests