Enable some off-by-default checks
Some of 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: I3891fb42fe26d0edfbf85fddd2da5d8ff7739202 story: 2001301 task: 5852
This commit is contained in:
parent
bb9bb2d05b
commit
49404342ec
4
tox.ini
4
tox.ini
|
@ -116,8 +116,10 @@ show-source = true
|
|||
builtins = _
|
||||
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|
||||
import-order-style = pep8
|
||||
# [H106]: Don’t put vim configuration in source files
|
||||
# [H203]: Use assertIs(Not)None to check for None
|
||||
# [H904] Delay string interpolations at logging calls.
|
||||
enable-extensions=H904
|
||||
enable-extensions=H106,H203,H904
|
||||
|
||||
[hacking]
|
||||
import_exceptions = octavia.i18n
|
||||
|
|
Loading…
Reference in New Issue