![Gary Kotton](/assets/img/avatar_default.png)
Update the code base to make use of _LE, _LI and _LW for log messages. The patch also updates the gettextutils.py common code. Change-Id: I6ac4c1e9f620947d4b3755d4ab3c36a8188b35b9
29 lines
617 B
INI
29 lines
617 B
INI
[tox]
|
|
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}'
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[testenv:cover]
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
commands =
|
|
python setup.py testr --coverage
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[flake8]
|
|
show-source = True
|
|
ignore = H305,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
|