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:
zhengwei6082 2017-06-23 17:25:39 +08:00
parent 5b6768140f
commit 227a9e9b63

View File

@ -49,6 +49,7 @@ commands =
show-source=True
ignore= H105,E123,E226,N320
builtins= _
enable-extensions = H106,H203
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,*sqlalchemy/alembic/versions/*,demo/,releasenotes
[testenv:wheel]