From 2a32fb63fa472a7d9c069b48c9bf958e0d1d9188 Mon Sep 17 00:00:00 2001 From: Hoang Trung Hieu Date: Mon, 22 Jan 2018 11:16:34 +0700 Subject: 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 Change-Id: If35a7a9ea64c7482306ef6403e9585b78da27fb9 --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tox.ini') 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 -- cgit v1.2.1