30b4868fa1
This patch is extending the doc8 check to also look at the .rst files under the priorities/ directory. Change-Id: Id9f7671e534c4d7c41dd4526f2134c1a0d566bf4
23 lines
470 B
INI
23 lines
470 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = py27,docs
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
install_command = pip install -U {opts} {packages}
|
|
setenv =
|
|
VIRTUAL_ENV={envdir}
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
commands =
|
|
python setup.py testr --slowest --testr-args='{posargs}'
|
|
doc8 priorities/ specs/ doc/source README.rst
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
commands = python setup.py build_sphinx
|