Files
deb-python-oslo.messaging/tox.ini
Christian Berendt 500f1e5dca Enable check for E226
* E226 missing whitespace around arithmetic operator

Change-Id: Iee5f6a952d9b12c6c8a4a79ef656fc7f94170776
2014-08-04 12:15:34 +00:00

35 lines
680 B
INI

[tox]
envlist = py26,py27,pep8
[testenv]
setenv =
VIRTUAL_ENV={envdir}
OS_TEST_TIMEOUT=30
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
commands = flake8
[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
commands =
python setup.py testr --coverage
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
[flake8]
show-source = True
ignore = E241,E265,E714,H237,H402,H405,H904
exclude = .tox,dist,doc,*.egg,build,__init__.py
builtins = _
[hacking]
import_exceptions =
oslo.messaging.openstack.common.gettextutils