summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDao Cong Tien <tiendc@vn.fujitsu.com>2018-07-12 15:16:10 +0700
committerDao Cong Tien <tiendc@vn.fujitsu.com>2018-07-26 14:57:58 +0700
commite8824a2c938a5ccc16cfabd6552edd915777aef4 (patch)
tree75f3ceb7148fc5331e70217b276b32ba0a7048ee /tox.ini
parent315a0de97c42061dc04f2c7006aaecc027e02d40 (diff)
downloadheat-e8824a2c938a5ccc16cfabd6552edd915777aef4.tar.gz
Adds doc8 check to pep8
This patch adds doc8 check for .rst files to pep8. Files that fail doc8 check are also fixed. Ignore D001 of doc8 check. This requires lot of changes and should be done in a separated patch. Change-Id: I7732abc55ec27026efbf56663ba02ff27e8ec847
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 5 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 83ec9fa4f..6948d8905 100644
--- a/tox.ini
+++ b/tox.ini
@@ -45,6 +45,7 @@ commands =
# B603: Test for use of subprocess with shell equals true
# B607: Test for starting a process with a partial path
bandit -r heat -x tests --skip B101,B104,B107,B110,B310,B311,B404,B410,B504,B506,B603,B607
+ doc8 {posargs}
[testenv:venv]
basepython = python3
@@ -115,6 +116,10 @@ show-source = true
exclude=.*,dist,*lib/python*,*egg,build,*convergence/scenarios/*
max-complexity=20
+[doc8]
+ignore = D001
+ignore-path = .venv,.git,.tox,.tmp,*heat/locale*,*lib/python*,heat.egg*,doc/build,releasenotes/*
+
[hacking]
import_exceptions = heat.common.i18n
local-check-factory = heat.hacking.checks.factory