dcafb78a29
* Remove install_command : We can just use the default, we don't need to override * Remove requirements.txt from deps, as this is already added automatically Change-Id: I29b011a5dd3c64433b4a09ef1cf27b52f09e7d54
25 lines
458 B
INI
25 lines
458 B
INI
[tox]
|
|
envlist = py34,py27,pep8,docs
|
|
|
|
[testenv]
|
|
deps =
|
|
-r{toxinidir}/test-requirements.txt
|
|
distribute = False
|
|
commands = python setup.py testr --testr-args='{posargs}'
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:pep8]
|
|
deps = flake8
|
|
ignore = E251
|
|
commands = flake8 stevedore setup.py
|
|
|
|
[testenv:docs]
|
|
commands = python setup.py build_sphinx
|
|
|
|
[flake8]
|
|
ignore = E251
|
|
show-source = True
|
|
exclude=.venv,.git,.tox,dist,*openstack/common*,*lib/python*,*egg,build
|