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

Change-Id: I18babfaae830b13a53dcd13ce9233fc28652a787
This commit is contained in:
lingyongxu 2017-06-22 16:35:33 +08:00
parent 7a5dc9c8e9
commit 21bcd08370
1 changed files with 3 additions and 1 deletions

View File

@ -131,7 +131,9 @@ commands =
oslo-config-generator --config-file etc/magnum/magnum-config-generator.conf
[flake8]
enable-extensions = H203
# H106 Dont put vim configuration in source files
# H203 Use assertIs(Not)None to check for None
enable-extensions = H106,H203
exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,tools,releasenotes
[hacking]