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: I369cff1c0f7f3cd3f5bcf3785b6904c9326c6759
This commit is contained in:
parent
5b6768140f
commit
227a9e9b63
1
tox.ini
1
tox.ini
@ -49,6 +49,7 @@ commands =
|
|||||||
show-source=True
|
show-source=True
|
||||||
ignore= H105,E123,E226,N320
|
ignore= H105,E123,E226,N320
|
||||||
builtins= _
|
builtins= _
|
||||||
|
enable-extensions = H106,H203
|
||||||
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,*sqlalchemy/alembic/versions/*,demo/,releasenotes
|
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,*sqlalchemy/alembic/versions/*,demo/,releasenotes
|
||||||
|
|
||||||
[testenv:wheel]
|
[testenv:wheel]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user