Merge "Enable some off-by-default checks"
This commit is contained in:
commit
ee9481dcdd
3
tox.ini
3
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue