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