Include "docs" in default tox envs list
authorJeremy Stanley <fungi@yuggoth.org>
Sun, 8 Jul 2018 19:31:38 +0000 (19:31 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sun, 8 Jul 2018 19:31:38 +0000 (19:31 +0000)
Encourage regular testing that docs builds aren't broken by
generating them by default when tox is run without specific env
list. Also remove the doc tree from the flake8 exclusion list as it
should no longer contain anything to which that would object.

tox.ini

diff --git a/tox.ini b/tox.ini
index 5b84bb3..edb0362 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -4,7 +4,7 @@
 
 [tox]
 minversion = 2.0
-envlist = dist, flake8, yamllint
+envlist = dist, docs, flake8, yamllint
 skipsdist = True
 
 [testenv]
@@ -44,4 +44,4 @@ commands = {posargs}
 
 [flake8]
 show-source = True
-exclude=.venv,.git,.tox,doc,*lib/python*,*egg,build
+exclude=.venv,.git,.tox,*lib/python*,*egg,build