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: I3d9eba508155f7ef8eba5185b27bd2673fe95d0f
This commit is contained in:
loooosy 2017-07-18 08:55:17 +08:00
parent 0c7a16c252
commit cc60458f27
1 changed files with 3 additions and 0 deletions

View File

@ -87,5 +87,8 @@ max-complexity = 30
# H405 Multiline docstring separated by empty line
# E402 module level import not at top of file FIXME remove this
ignore = H904,H405,E402
# H106 Dont put vim configuration in source files
# H203 Use assertIs(Not)None to check for None
enable-extensions=H106,H203
show-source = True
exclude=.venv,.git,.tox,dist,*egg,build