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: Ifed3a0b3514ac10a4c2b49b904f39a3faf2f15b5
This commit is contained in:
lingyongxu 2017-06-22 16:31:09 +08:00
parent 2eb19108d4
commit 9867828c8e

View File

@ -73,6 +73,7 @@ commands = pylint --rcfile .pylintrc freezer
[flake8] [flake8]
ignore = H405,H404,H403,H401 ignore = H405,H404,H403,H401
show-source = True show-source = True
enable-extensions = H203,H106
exclude = .venv,.tox,dist,doc,test,*egg,releasenotes exclude = .venv,.tox,dist,doc,test,*egg,releasenotes
[testenv:install-guide] [testenv:install-guide]