Enable some off-by-default checks

Some of the available checks are disabled by default, like:
[H106] Don’t put vim configuration in source files
[H203] Use assertIs(Not)None to check for None

Change-Id: I489669b36b1d56907285fffec702c737143f644e
This commit is contained in:
loooosy 2017-07-18 08:51:04 +08:00
parent fbf71441df
commit 0afab91417

View File

@ -35,6 +35,9 @@ show-source = True
#H404: multi line docstring should start without a leading new line
#H405: multi line docstring summary not separated with an empty line
#H904: Wrap long lines in parentheses instead of a backslash
#H106 Dont put vim configuration in source files
#H203 Use assertIs(Not)None to check for None
ignore = H803,E302,E303,H233,H302,H404,H405,H904
enable-extensions=H106,H203
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build