deb-oslo.vmware/tox.ini
Davanum Srinivas 5571e9f435 Enable oslo.i18n for oslo.vmware
Change-Id: Ie6c8406bf55a4fb96373cdd3e1a2f5b3c2aafe59
2014-09-10 09:38:57 -04:00

35 lines
690 B
INI

[tox]
envlist = py26,py27,py33,py34,pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
commands = flake8
[testenv:pylint]
commands = pylint oslo
[testenv:docs]
commands = python setup.py build_sphinx
[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
commands =
python setup.py testr --coverage
[testenv:venv]
commands = {posargs}
[flake8]
show-source = True
ignore = H405,H904
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,__init__.py
builtins = _
[hacking]
import_exceptions = oslo.vmware._i18n