Merge "Enable some off-by-default checks"

This commit is contained in:
Jenkins 2017-07-14 16:34:27 +00:00 committed by Gerrit Code Review
commit ee9481dcdd
1 changed files with 3 additions and 0 deletions

View File

@ -69,8 +69,11 @@ commands=
python setup.py build_sphinx
[flake8]
# [H106] Don't put vim configuration in source files.
# [H203] Use assertIs(Not)None to check for None.
show-source = True
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,releasenotes
enable-extensions = H106,H203
[testenv:releasenotes]
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html