blob: c53c2e2c13a4b9b61d00205a1a16e16d9962b213 [file] [log] [blame]
David Lyle64302f12016-04-29 15:46:34 -06001[tox]
2minversion = 1.6
sandriichenko4352bcc2018-02-23 14:29:43 +02003envlist = pep8
David Lyle64302f12016-04-29 15:46:34 -06004skipsdist = True
5
6[testenv]
7usedevelop = True
8install_command = pip install -U {opts} {packages}
9setenv =
10 VIRTUAL_ENV={envdir}
11deps = -r{toxinidir}/test-requirements.txt
12commands = python setup.py test --slowest --testr-args='{posargs}'
13
14[testenv:pep8]
15commands = flake8
16
17[testenv:venv]
18commands = {posargs}
19
20[testenv:cover]
21commands = python setup.py test --coverage --testr-args='{posargs}'
22
23[testenv:docs]
24commands = python setup.py build_sphinx
25
26[testenv:debug]
27commands = oslo_debug_helper {posargs}
28
29[flake8]
30# E123, E125 skipped as they are invalid PEP-8.
31
32show-source = True
33ignore = E123,E125,E129,H404,H405
34builtins = _
35exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build