Files
python-ceilometerclient/tox.ini
Monty Taylor b324ccc37b Migrate to flake8.
Fixes bug 1172444.

Change-Id: Iba46d40a0e3ae0385ce51181f47295a2b520110d
2013-05-18 09:40:15 -07:00

32 lines
663 B
INI

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