deb-oslo.vmware/tox.ini
Christian Berendt 788e9447c3 Add Pylint testenv environment
Change-Id: Id08d5fa4f7ce077102bbf77f4c8c2d6b2bfc4c31
2014-08-04 15:29:14 +02:00

34 lines
688 B
INI

[tox]
skipsdist = True
envlist = py26,py27,py33,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}'
usedevelop = True
[testenv:pep8]
commands = flake8
[testenv:pylint]
commands = pylint oslo
[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.openstack.common.gettextutils