constellations/tox.ini
Doug Hellmann 765c02a15b initial repository setup
* fix the host in the .gitreview file
* add basic sphinx setup

Change-Id: Ibcb1dc33ae7c5663c8a41a78984de827ee37a40f
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-05-07 17:11:01 -04:00

33 lines
587 B
INI

[tox]
minversion = 1.6
envlist = docs
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps =
-r{toxinidir}/doc/requirements.txt
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands =
sphinx-build -W -b html doc/source doc/build/html
[testenv:pep8]
deps =
-r{toxinidir}/test-requirements.txt
commands =
flake8
[testenv:spelling]
deps =
-r{toxinidir}/requirements.txt
sphinxcontrib-spelling
PyEnchant
commands = sphinx-build -b spelling doc/source doc/build/spelling