diff options
author | Maru Newby <marun@redhat.com> | 2013-04-05 23:20:45 +0000 |
---|---|---|
committer | Maru Newby <marun@redhat.com> | 2013-04-08 23:10:35 +0000 |
commit | 3c193c9387308af6153c0e6e3d751b6672667c82 (patch) | |
tree | 67e73f07cc6495e59e9e219fa100886a822d30e9 /tox.ini | |
parent | 2a7527508522a6924c026e01cd55a4244426d7f5 (diff) | |
download | python-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.ini | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |