Merge "Removed H302, H305 and H307"

This commit is contained in:
Jenkins 2016-07-14 19:32:17 +00:00 committed by Gerrit Code Review
commit b0a1d014e4
2 changed files with 3 additions and 6 deletions

View File

@ -1,3 +1,3 @@
hacking>=0.9.2,<0.10 hacking>=0.11.0,<0.12 # Apache-2.0
nose nose
mock>=1.0.1 mock>=1.0.1

View File

@ -27,10 +27,7 @@ commands = {posargs}
max-line-length = 120 max-line-length = 120
# TODO: ignored checks should be enabled in the future # TODO: ignored checks should be enabled in the future
# H201 no 'except:' at least use 'except Exception:' # H201 no 'except:' at least use 'except Exception:'
# H302 import only modules
# H305 imports not grouped correctly
# H307 like imports should be grouped together
# H405 multi line docstring summary not separated with an empty line # H405 multi line docstring summary not separated with an empty line
# H904 Wrap long lines in parentheses instead of a backslash # H904 Wrap long lines in parentheses instead of a backslash
ignore = F821,H201,H302,H305,H307,H405,H904,E126,E125,H306,E302,E122 ignore = F821,H201,H405,H904,E126,E125,H306,E302,E122
exclude=.venv,.git,.tox,dist,*openstack/common*,*egg,build exclude=.venv,.git,.tox,dist,*openstack/common*,*egg,build