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: Ie73e001aa632b771693f7bed98cfadcb495940f0
This commit is contained in:
blue55 2017-06-22 09:14:37 +08:00
parent 4f46b53a53
commit 8b70e73c86
1 changed files with 3 additions and 0 deletions

View File

@ -28,7 +28,10 @@ commands = oslo_debug_helper {posargs}
[flake8]
# E123, E125 skipped as they are invalid PEP-8.
# [H106] Dont put vim configuration in source files
# [H203] Use assertIs(Not)None to check for None
show-source = True
enable-extensions = H106,H203
ignore = E123,E125
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build