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: I4b7cc70025a56e19aad7ffc2caec307e5f70500e
This commit is contained in:
zhanghongtao 2017-07-26 19:57:29 +08:00
parent b291c2bbd4
commit cbca5ba77b
1 changed files with 1 additions and 1 deletions

View File

@ -62,9 +62,9 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
#
# E251 unexpected spaces around keyword / parameter equals
# reason: no improvement in readability
show-source = True
ignore = E251
enable-extensions=H106,H203
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
max-complexity=30