[tox] envlist = docs,doc8,pep8 minversion = 1.6 skipsdist = True [testenv] basepython=python2.7 setenv = VIRTUAL_ENV={envdir} deps = -r{toxinidir}/test-requirements.txt [testenv:venv] commands = {posargs} [testenv:doc8] commands = doc8 -e .rst doc/source [testenv:docs] commands= python setup.py build_sphinx [testenv:pep8] basepython = python2.7 deps = {[testenv]deps} commands= bash tools/flake8wrap.sh whitelist_externals = sh bash [flake8] # E125 is deliberately excluded. # See https://github.com/jcrocholl/pep8/issues/126 ignore = E125 exclude = .venv,.git,.tox,doc,conf.py