Delay string interpolations at logging calls
This is a general best practice which brings (slight) performance improvements and also structured logging. Enable the hacking check to enforce it. Change-Id: I1438382344507b05a88e59a675f398901ccbb9dc Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
2
tox.ini
2
tox.ini
@@ -50,7 +50,7 @@ commands = sphinx-build -W -b html doc/source doc/build/html
|
|||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
show-source = True
|
show-source = True
|
||||||
enable-extensions = H203,H106
|
enable-extensions = H106,H203,H904
|
||||||
exclude=.venv,.git,.tox,dist,*lib/python*,*egg,build
|
exclude=.venv,.git,.tox,dist,*lib/python*,*egg,build
|
||||||
max-complexity=20
|
max-complexity=20
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user