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: I7b2f51052b736442613001c6ab38a8832c46fcc0
This commit is contained in:
liangcui 2017-06-22 17:19:20 +08:00
parent 84c31bac4c
commit d4e2cdd576
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ commands = bandit -c bandit.yaml -r glare -n5 -p gate
# H405 multi line docstring summary not separated with an empty line
ignore = H404,H405
exclude = .venv,.git,.tox,dist,doc,etc,*glare/locale*,*lib/python*,*egg,build
enable-extensions = H106,H203
[hacking]
local-check-factory = glare.hacking.checks.factory