[tox] minversion = 3.1.1 envlist = docs,pep8 skipsdist = True ignore_basepython_conflict = True [testenv] basepython = python3 setenv = VIRTUAL_ENV={envdir} deps = -r{toxinidir}/requirements.txt commands = stestr run --slowest {posargs} [testenv:venv] commands = {posargs} [testenv:docs] whitelist_externals = rm commands = rm -rf doc/build sphinx-build -W -b html doc/source doc/build/html whereto doc/source/_extra/.htaccess doc/test/redirect-tests.txt