libra/tox.ini
Monty Taylor d9c6b5805e Update to pbr and flake8.
As part of this, found a discrepancy between the git tags and what was in
libra.__version__ - which is the whole reason to do tag-based-versions anyway.
After landing this, someone should do a "tag -s 1.2" or something similar
to release a properly tagged version of the code.

Change-Id: I2bb678bc6928dffebb0abc7c67cec50642b1f43d
2013-04-08 21:21:37 -04:00

26 lines
527 B
INI

[tox]
envlist = py27,pep8
[testenv]
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
[tox:jenkins]
downloadcache = ~/cache/pip
[testenv:pep8]
deps = flake8
commands = flake8
[testenv:pyflakes]
deps = pyflakes
commands = pyflakes libra
[flake8]
show-source = True
exclude = .venv,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tests
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'