Disable syslog in heat-translator for functest integration
[parser.git] / tosca2heat / heat-translator / 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 testr --slowest --testr-args='{posargs}'
14
15 [testenv:pep8]
16 commands = flake8
17
18 [testenv:venv]
19 commands = {posargs}
20
21 [testenv:cover]
22 commands = python setup.py testr --coverage --coverage-package-name=translator --testr-args='{posargs}'
23
24 [testenv:docs]
25 commands = python setup.py build_sphinx
26
27 [testenv:debug]
28 commands = oslo_debug_helper -t translator/tests {posargs}
29
30 [flake8]
31 # H803 skipped on purpose per list discussion.
32 # E123, E125 skipped as they are invalid PEP-8.
33
34 show-source = True
35 ignore = E123,E125,H803
36 builtins = _
37 exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build