From 10e684cadbdaeef562f0425f27cdb9df20f20410 Mon Sep 17 00:00:00 2001 From: Mark McClain Date: Wed, 19 Nov 2014 17:30:10 -0500 Subject: [PATCH] enable H401 hacking check This change corrects H401 (docstring should not start with a space) errors and enables the check Change-Id: I2f798421d5895fcec349c757d27b7f085ee001e7 Partial-Bug: 1329017 --- tox.ini | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index d38ef0cdf..ee77332f1 100644 --- a/tox.ini +++ b/tox.ini @@ -67,12 +67,11 @@ commands = python setup.py build_sphinx # E265 block comment should start with ‘# ‘ # H305 imports not grouped correctly # H307 like imports should be grouped together -# H401 docstring should not start with a space # H402 one line docstring needs punctuation # H405 multi line docstring summary not separated with an empty line # H904 Wrap long lines in parentheses instead of a backslash # TODO(marun) H404 multi line docstring should start with a summary -ignore = E125,E126,E128,E129,E265,H305,H307,H401,H402,H404,H405,H904 +ignore = E125,E126,E128,E129,E265,H305,H307,H402,H404,H405,H904 show-source = true builtins = _ exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools,.ropeproject,rally-scenarios