diff options
author | Dolph Mathews <dolph.mathews@gmail.com> | 2013-05-23 14:58:01 -0500 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-05-23 23:48:49 +0000 |
commit | 47bdec25eb51d2dfbcd28af512cfbd4f4165b332 (patch) | |
tree | 4ea16c843023941d895df44d70df7f48d470d8a9 /tox.ini | |
parent | f9b535c84ed22f6831165cb0807029a44a01bddb (diff) | |
download | keystone-47bdec25eb51d2dfbcd28af512cfbd4f4165b332.tar.gz keystone-47bdec25eb51d2dfbcd28af512cfbd4f4165b332.tar.xz keystone-47bdec25eb51d2dfbcd28af512cfbd4f4165b332.zip |
eliminate 'except:' (flake8 H201)
Change-Id: Ic53b43b96c490557352be212ac79a7e8a249c21a
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -31,7 +31,6 @@ commands = {posargs} [flake8] show-source = true -# H201: no 'except:' at least use 'except Exception:' # H301: one import per line # H302: import only modules # H304: no relative imports. @@ -40,7 +39,7 @@ show-source = true # H402: one line docstring needs punctuation # H403: multi line docstring end on new line # H404: multi line docstring should start with a summary -ignore = H201,H301,H302,H304,H306,H401,H402,H403,H404 +ignore = H301,H302,H304,H306,H401,H402,H403,H404 builtins = _ exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools,vendor |