[tox] minversion = 2.0 envlist = pep8,docs skipsdist = True [testenv] basepython = python3 usedevelop = True setenv = VIRTUAL_ENV={envdir} deps = -r{toxinidir}/requirements.txt passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY [testenv:venv] commands = {posargs} [testenv:docs] commands = sphinx-build -W -a -b html doc/source doc/build/html [testenv:spelling] deps = -r{toxinidir}/requirements.txt sphinxcontrib-spelling PyEnchant commands = sphinx-build -b spelling doc/source doc/build/spelling [testenv:pep8] commands = flake8 [flake8] show-source = True ignore = E123,E125,D100 exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build