Enable some off-by-default checks

Some of 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: I6c880ba9fcde60cbebdea4aa459b42c6b92d181c
This commit is contained in:
chenghuiyu 2017-11-22 19:09:41 +08:00
parent 880d7f76cf
commit 2eb06e9453
1 changed files with 3 additions and 0 deletions

View File

@ -58,6 +58,9 @@ commands = oslo_debug_helper {posargs}
[flake8]
show-source = True
builtins = _
# H106: Dont put vim configuration in source files
# H203: Use assertIs(Not)None to check for None
enable-extensions=H106,H203
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
[hacking]