tripleo-docs/tox.ini
Dan Prince c77f5b7385 Drop genconfig from tox.ini
Change-Id: I37958a2f9ea3a9f0d62be4a42960dfdf516fd4a7
2015-09-24 08:39:35 -04:00

30 lines
634 B
INI

[tox]
minversion = 1.6
skipsdist = True
envlist = py34,py27,pep8
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
[testenv:pep8]
whitelist_externals = bash
# We fail pretty horribly on bashate right now
#commands = bash -c "find scripts -type f | xargs bashate -v"
# flake8
commands = flake8
[flake8]
ignore = H803
show-source = True
exclude = .tox,dist,doc,*.egg,build