Andreas Jaeger f5237c5f03 Add -W to sphinx invocation for release-notes build
Let's not ignore warnings.

Change-Id: Ie4793bb7c37d7f2d731cc1c15aacfb6ff762252c
2015-11-25 19:48:17 +01:00

29 lines
627 B
INI

[tox]
minversion = 1.6
envlist = pep8
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/test-requirements.txt
setenv = VIRTUAL_ENV={envdir}
sitepackages = False
downloadcache = {toxworkdir}/_download
[testenv:pep8]
commands =
flake8 openstackdocstheme
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
[testenv:releasenotes]
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[flake8]
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools
show-source = True