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: Icb3a3828dff23f3aafe9332c352b38ffbcf17a24
This commit is contained in:
blue55 2017-06-22 10:03:50 +08:00
parent 73ac4e1a8e
commit 6d816a90e3

View File

@ -64,3 +64,4 @@ commands = bindep test
[flake8]
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools
show-source = True
enable-extensions = H203,H106