[tox]
minversion = 1.6.0
-envlist = pep8
+envlist = docs,pep8
skipsdist = true
+[testenv:docs]
+deps = sphinx
+commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html
+
[testenv:pep8]
deps =
flake8
- pep8==1.7.0
+ pep8
commands = flake8
[flake8]
# that (select E133 instead of E123) but that should be caught by the
# verify job.
select = E,W
+exclude =
+ .git,
+ .tox,
+ docs/conf.py