
There are no test jobs for flake8 so this is not neeeded. Change-Id: I63c7ae85510a86d0667b96da6526fa0df5aa621a
25 lines
493 B
INI
25 lines
493 B
INI
[tox]
|
|
minversion = 1.6
|
|
skipdist = True
|
|
envlist = pep8, py27, pypy, py33, py34
|
|
|
|
[testenv]
|
|
commands = python setup.py test --slowest --testr-args='{posargs}'
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
usedevelop = True
|
|
install_command = pip install {opts} {packages}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[testenv:docs]
|
|
commands = python setup.py build_sphinx
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[flake8]
|
|
show-source = True
|
|
exclude = .venv,.tox,dist,doc,build,*.egg
|