blob: 24edd6ef6a8764d18a3dd43a461e8be3a9b5c256 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
[tox]
minversion = 1.6
skipsdist = True
envlist = py26,py27,py33,pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
install_command = pip install -U {opts} {packages}
usedevelop = True
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
commands = flake8
[testenv:docs]
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py build_sphinx
[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
commands = python setup.py testr --coverage
[testenv:venv]
commands = {posargs}
[testenv:debug]
commands =
{toxinidir}/tools/debug_helper.sh {posargs}
[flake8]
show-source = True
ignore = E128,E251,E265,H405,H904
exclude = .tox,dist,doc,*.egg,build,./pycadf/openstack/common
builtins = _
|