instack-undercloud/tox.ini
James Slagle ed5257972a Add sphinx documentation
In support of building the docs without the sphinx Makefile this also adds as
tox.ini that can be used to build the docs via:

tox -e docs

A few updates to setup.cfg are needed as well to acount for deleting old
scripts.

Change-Id: Ifa852f9684998ee695188d3e72df7cdc3c5e063e
2015-02-26 08:12:37 -05:00

25 lines
441 B
INI

[tox]
minversion = 1.6
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
[testenv:pep8]
deps = bashate
whitelist_externals = bash
commands = bash -c "find scripts -type f | xargs bashate -v"
[flake8]
ignore = H803
exclude = .tox