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

Depends-On: Ib6451504530f932ebd63374618d213ff7086dd1c
Change-Id: I1e81dd00d6c19574382d3c065826255879708833
This commit is contained in:
loooosy 2017-06-23 16:47:02 +08:00 committed by Eyal
parent f6f6f7ee84
commit ac059ea575

View File

@ -38,9 +38,12 @@ 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
ignore = E123,E125
enable-extensions=H106,H203
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build