Merge "Disable syslog in heat-translator for functest integration"
[parser.git] / apigateway / tox.ini
1 [tox]
2 minversion = 1.6
3 envlist = py27,pep8
4 skipsdist = True
5
6 [testenv]
7 usedevelop = True
8 install_command = pip install -U {opts} {packages}
9 setenv =
10    VIRTUAL_ENV={envdir}
11 deps = -r{toxinidir}/requirements.txt
12        -r{toxinidir}/test-requirements.txt
13 commands = python setup.py test --slowest --testr-args='{posargs}'
14 whitelist_externals =
15     bash
16 [testenv:pep8]
17 commands = flake8
18
19 [testenv:venv]
20 commands = {posargs}
21
22 [testenv:cover]
23 commands = python setup.py test --coverage --coverage-package-name=translator --testr-args='{posargs}'
24
25 [testenv:docs]
26 commands = python setup.py build_sphinx
27
28 [testenv:debug]
29 commands = oslo_debug_helper -t translator/tests {posargs}
30
31 [flake8]
32 # H803 skipped on purpose per list discussion.
33 # E123, E125 skipped as they are invalid PEP-8.
34
35 show-source = True
36 ignore = E123,E125,H803
37 builtins = _
38 exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build