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: I4a66dadb6cf9873d49eef48386b6b0e4fbcd3f99
This commit is contained in:
parent
3578c88ba6
commit
551d7fff11
3
tox.ini
3
tox.ini
@ -46,5 +46,8 @@ commands = oslo_debug_helper -t moganclient/tests {posargs}
|
||||
|
||||
show-source = True
|
||||
ignore = E123,E125
|
||||
# H106: Don’t put vim configuration in source files
|
||||
# H203: Use assertIs(Not)None to check for None
|
||||
enable-extensions=H106,H203
|
||||
builtins = _
|
||||
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|
||||
|
Loading…
x
Reference in New Issue
Block a user