summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorliu-sheng <liusheng@huawei.com>2014-06-26 17:14:17 +0800
committerliu-sheng <liusheng@huawei.com>2014-07-11 10:17:38 +0800
commit4876f70b02bbd1780533e4500bf3322352efc4b3 (patch)
treee9653a7bb745f7e86c1dc83cd04894afc440ffa7 /tox.ini
parenta7dd2bb0e47ce3b5be0d71428ea598b2dc6177a1 (diff)
downloadheat-4876f70b02bbd1780533e4500bf3322352efc4b3.tar.gz
Fix H201 violations and re-enable gating
H201 got stricter in hacking 0.9, so fix new violations and re-enable gating. Change-Id: Ie79b04bc1ae2d4784318c19661584d02b7bee088 Implements: blueprint reduce-flake8-ignore-rules
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini3
1 files changed, 1 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index d2433a682..1f1e2be6e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -37,11 +37,10 @@ deps = -r{toxinidir}/requirements.txt
commands = python setup.py build_sphinx
[flake8]
-# H201 no 'except:' at least use 'except Exception:'
# H302 import only modules.'bla..' does not import a module
# H404 multi line docstring should start with a summary
# H803 no full stop at the end of the commit message
-ignore = H201,H302,H404,H803
+ignore = H302,H404,H803
show-source = true
builtins = _
exclude=.venv,.git,.tox,dist,*openstack/common*,*lib/python*,*egg,tools,build