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: I1539758b4a02ad1d597482d168c95babe6a74e94
This commit is contained in:
wangzhenyu 2017-06-27 16:54:22 +08:00
parent 4ba4f6a274
commit 5473625e66

View File

@ -43,6 +43,9 @@ commands =
python setup.py build_sphinx
[flake8]
# H106: Dont put vim configuration in source files
# H203: Use assertIs(Not)None to check for None
enable-extensions=H106,H203
show-source = true
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools