summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMaru Newby <marun@redhat.com>2013-04-05 23:20:45 +0000
committerMaru Newby <marun@redhat.com>2013-04-08 23:10:35 +0000
commit3c193c9387308af6153c0e6e3d751b6672667c82 (patch)
tree67e73f07cc6495e59e9e219fa100886a822d30e9 /tox.ini
parent2a7527508522a6924c026e01cd55a4244426d7f5 (diff)
downloadpython-neutronclient-3c193c9387308af6153c0e6e3d751b6672667c82.tar.gz
Enable automatic validation of many HACKING rules.
* Add hacking to the tox build - a set of flake8 plugins that perform automatic validation of many HACKING.rst rules. * This patch configures hacking in the tox build and performs the mechanical cleanup required to allow the checks to pass. * See https://pypi.python.org/pypi/hacking Change-Id: Ib41313b5aae991e6ffef2a89dd69e83985bdc36d
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini6
1 files changed, 4 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index ade5655..903048d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -24,8 +24,10 @@ downloadcache = ~/cache/pip
[flake8]
# E125 continuation line does not distinguish itself from next logical line
-# H hacking.py - automatic checks of rules in HACKING.rst
-ignore = E125,H
+# H301 one import per line
+# H302 import only modules
+# TODO(marun) H404 multi line docstring should start with a summary
+ignore = E125,H301,H302,H404
show-source = true
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools