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: I54b4b950dfcd2ce5a64f38b5d5b5cbe95846a8fa
This commit is contained in:
blue55 2017-06-22 11:01:23 +08:00
parent 2fb4a216cc
commit f87c349bc3

View File

@ -96,6 +96,7 @@ commands = bandit -r oslo_messaging -x tests -n5
[flake8] [flake8]
show-source = True show-source = True
enable-extensions = H203,H106
ignore = H405 ignore = H405
exclude = .tox,dist,doc,*.egg,build,__init__.py exclude = .tox,dist,doc,*.egg,build,__init__.py