summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorNguyen Van Trung <trungnv@vn.fujitsu.com>2017-11-30 08:27:38 +0700
committerNguyen Van Trung <trungnv@vn.fujitsu.com>2017-11-30 08:28:55 +0700
commitabb3460b9e43b374eed8095936d9120979de46e4 (patch)
tree5b44c7fabf62d1e267e4a532a205ea039c91f411 /tox.ini
parent196e6d95312cda64899baadbce9709325c25de3e (diff)
downloadtrove-abb3460b9e43b374eed8095936d9120979de46e4.tar.gz
Add doc8 to pep8 check for trove project
This patch adds a doc8 check of .rst files to the current pep8 check. It includes fixes to the .rst files that didn't pass the check. Change-Id: I866ee72cfdd6067ae219a751aa7c2a0c391886f7
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index c2c91011..35cefcfc 100644
--- a/tox.ini
+++ b/tox.ini
@@ -30,6 +30,7 @@ sitepackages = True
basepython = python2.7
commands =
flake8
+ doc8 {posargs}
[testenv:py27]
commands = {[testenv]commands}
@@ -69,6 +70,9 @@ commands =
[testenv:venv]
commands = {posargs}
+[doc8]
+ignore-path = .venv,.tox,.git,dist,doc,*egg-info,tools,etc,build,*.po,*.pot,integration,releasenotes,*.txt,api-ref/source/samples
+
[flake8]
show-source = True
# H301 is ignored on purpose.