Files
python-ceilometerclient/tox.ini
Lianhao Lu 640d6f4ff4 Enable pep8 E711/E712/E721/H302 checking
Change-Id: I229f1c15b46284fae94d4c786765baa18da0055f
2013-11-22 11:03:50 +08:00

30 lines
616 B
INI

[tox]
envlist = py26,py27,pypy,pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=C
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
python setup.py testr --testr-args='{posargs}'
[tox:jenkins]
downloadcache = ~/cache/pip
[testenv:pep8]
commands = flake8
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'
[testenv:venv]
commands = {posargs}
[flake8]
ignore = H233
show-source = True
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools