From abb3460b9e43b374eed8095936d9120979de46e4 Mon Sep 17 00:00:00 2001 From: Nguyen Van Trung Date: Thu, 30 Nov 2017 08:27:38 +0700 Subject: 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 --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tox.ini') 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. -- cgit v1.2.1