Enable some off-by-default checks
Some of the available checks are diskabled by default, like: [H106] Don't put vim configuration in source files; [H203] Use assertIs(Not)None to check for None. Change-Id: Ib822b3b4cb9ae1176a8d69bbc0ab45126adc1bab
This commit is contained in:
parent
8783d47cb1
commit
f10fd4f5d4
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…
x
Reference in New Issue
Block a user