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: I0b6ea01d2efc4d8e0d96af169cadb410c49624aa
This commit is contained in:
loooosy 2017-06-23 16:44:35 +08:00
parent e6f66554eb
commit 9ddddb01d3
1 changed files with 3 additions and 0 deletions

View File

@ -98,6 +98,9 @@ commands = bindep test
# H302 import only modules
# H405 multi line docstring summary not separated with an empty line
ignore = F821,H201,H302,H405
# H106: Dont put vim configuration in source files
# H203: Use assertIs(Not)None to check for None
enable-extensions=H106,H203
max-complexity = 50
max-line-length = 120
builtins = _