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: Ic641fcc099ce51ee4c03b0ce17a6f57d326dfd3f
This commit is contained in:
lingyongxu 2017-06-22 17:08:29 +08:00
parent e2403f02c7
commit f4faf2a869

View File

@ -82,6 +82,9 @@ commands = pifpaf -g AODH_TEST_STORAGE_URL run postgresql -- oslo_debug_helper {
[flake8]
ignore =
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,install-guide
# [H106] Don't put vim configuration in source files.
# [H203] Use assertIs(Not)None to check for None.
enable-extensions=H106,H203
show-source = True
[hacking]