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
This patch is to enable the H106 and H203 checks in aeromancer project.

Change-Id: I785538ae292879048999f4198864eafbe086d53f
This commit is contained in:
luke.li 2017-06-22 10:07:15 +08:00
parent 1108516eda
commit 2b72dae59d
1 changed files with 1 additions and 0 deletions

View File

@ -30,5 +30,6 @@ commands = python setup.py build_sphinx
show-source = True
ignore = E123,E125,H803
enable-extensions = H203,H106
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build