summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2016-05-26 14:35:23 +0200
committerJulien Danjou <julien@danjou.info>2016-06-09 10:40:16 +0200
commit7360f85dabd13f87d2fbf56fb924e2cb9d382dc0 (patch)
tree8196fcf7184a7679b68fe8b283790b91c8a6e377
parente2683c7b860d94eb6784120e79c4fa2ba04b447b (diff)
downloadtooz-7360f85dabd13f87d2fbf56fb924e2cb9d382dc0.tar.gz
Run doc8 only in pep8 target
This should be enough and we're sure it's also run by the gate. Change-Id: I7680cbb54f38322c23e303c9b63b6887d3f609ad
-rw-r--r--test-requirements.txt1
-rw-r--r--tox.ini4
2 files changed, 2 insertions, 3 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index af7acb6..77d7c40 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -1,7 +1,6 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-doc8 # Apache-2.0
mock>=2.0 # BSD
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD
oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0
diff --git a/tox.ini b/tox.ini
index 68838a8..b2619c2 100644
--- a/tox.ini
+++ b/tox.ini
@@ -12,7 +12,6 @@ commands = {posargs}
[testenv:py27]
commands = python setup.py testr --slowest --testr-args="{posargs}"
{toxinidir}/run-examples.sh
- doc8 doc/source
[testenv:py27-zookeeper]
commands = pifpaf -e TOOZ_TEST run zookeeper -- python setup.py testr --slowest --testr-args="{posargs}"
@@ -75,12 +74,13 @@ commands = python setup.py testr --slowest --coverage --testr-args="{posargs}"
[testenv:docs]
commands = python setup.py build_sphinx
- doc8 doc/source
[testenv:pep8]
deps = hacking<0.11,>=0.10.0
+ doc8
commands =
flake8
+ doc8 doc/source
[flake8]
exclude=.venv,.git,.tox,dist,*egg,*.egg-info,build,examples,doc