cloud-init/tox.ini

34 lines
631 B
INI

[tox]
minversion = 1.6
skipsdist = True
envlist = py27, py34, docs, pep8
[tox:jenkins]
downloadcache = ~/cache/pip
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
commands = nosetests {posargs}
[testenv:pep8]
deps = {[testenv]deps}
commands = flake8 {posargs}
[testenv:docs]
deps = {[testenv]deps}
commands = python setup.py build_sphinx
[testenv:venv]
deps = {[testenv]deps}
commands = {posargs}
[flake8]
builtins = _
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build
# TODO(harlowja): fix these up...
ignore = H102,H104,H105