summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorHoang Trung Hieu <hieuht@vn.fujitsu.com>2018-01-22 11:16:34 +0700
committerNguyen Van Trung <trungnv@vn.fujitsu.com>2018-02-01 09:11:53 +0700
commit2a32fb63fa472a7d9c069b48c9bf958e0d1d9188 (patch)
tree85536a24e59361c832afe1a43c437bd0810cf2e2 /tox.ini
parentc645af7c4bfd3f3b1dfbb2909f350b9104ca282b (diff)
downloadglance_store-2a32fb63fa472a7d9c069b48c9bf958e0d1d9188.tar.gz
Add doc8 to pep8 check for glance_store 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. Co-authored-By: Nguyen Van Trung <trungnv@vn.fujitsu.com> Change-Id: If35a7a9ea64c7482306ef6403e9585b78da27fb9
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 986aaee..4bc6e56 100644
--- a/tox.ini
+++ b/tox.ini
@@ -28,6 +28,7 @@ commands =
# B110 - Try, Except, Pass detected.
# B303 - Use of insecure MD2, MD4, or MD5 hash function.
bandit -r glance_store -x tests --skip B101,B110,B303
+ doc8 {posargs}
[testenv:bandit]
# NOTE(browne): This is required for the integration test job of the bandit
@@ -55,6 +56,9 @@ sitepackages = True
setenv = OS_TEST_PATH=./glance_store/tests/functional/filesystem
commands = python setup.py testr --slowest --testr-args='glance_store.tests.functional.filesystem'
+[doc8]
+ignore-path = .venv,.git,.tox,*glance_store/locale*,*lib/python*,glance_store.egg*,doc/build,*requirements.txt
+
[flake8]
# TODO(dmllr): Analyze or fix the warnings blacklisted below
# H301 one import per line