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: I4a66dadb6cf9873d49eef48386b6b0e4fbcd3f99
This commit is contained in:
wangzhenyu 2017-06-27 18:25:47 +08:00
parent 3578c88ba6
commit 551d7fff11

View File

@ -46,5 +46,8 @@ commands = oslo_debug_helper -t moganclient/tests {posargs}
show-source = True
ignore = E123,E125
# H106: Dont put vim configuration in source files
# H203: Use assertIs(Not)None to check for None
enable-extensions=H106,H203
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build