31 lines
540 B
INI
31 lines
540 B
INI
[tox]
|
|
envlist=pep8,py27,py34
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
install_command = pip install -U {opts} {packages}
|
|
setenv=VIRTUAL_ENV={envdir}
|
|
deps=-r{toxinidir}/pip-requires
|
|
-r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:py27]
|
|
commands=nosetests
|
|
|
|
[testenv:py34]
|
|
commands=nosetests
|
|
|
|
[testenv:pep8]
|
|
commands=flake8
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
|
|
[flake8]
|
|
# E123, E125 skipped as they are invalid PEP-8.
|
|
|
|
show-source = True
|
|
ignore = E123,E125
|
|
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|