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: I41e5b6dd451354df06450dd038bdb852c55aa512
changes/31/477831/1
wangzhenyu 2017-06-27 16:46:13 +08:00
parent 0ccf8575d4
commit 8fcb380aa1
1 changed files with 3 additions and 0 deletions

View File

@ -62,6 +62,9 @@ commands = pylint --rcfile .pylintrc freezerclient
# H404 -> Multi line docstrings should start without a leading new line.
# H405 -> Multi line docstrings should start with a one line summary followed by an empty line.
ignore = H104,H202,H404,H405
# 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,.tox,dist,doc,*egg,releasenotes