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: Ie97fdb49a89d278a6140dc5a74d93b683cdecf0c
This commit is contained in:
loooosy
2017-07-20 09:20:23 +08:00
parent 81812c78b1
commit bd6ef69192

View File

@@ -47,6 +47,9 @@ passenv =
[flake8]
# E123, E125 skipped as they are invalid PEP-8.
# H106 Dont put vim configuration in source files
# H203 Use assertIs(Not)None to check for None
ignore = E123,E125
enable-extensions=H106,H203
show-source = True
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build