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 Zun project.

Change-Id: Ib15bf2af5daebb5cd4d36f36226d92874198296b
This commit is contained in:
jeremy.zhang 2017-06-07 09:59:44 +08:00
parent 888ebd5c34
commit f5488e6702

View File

@ -62,6 +62,7 @@ commands =
[flake8]
show-source = True
enable-extensions = H203,H106
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build