From efd412aa9068ed9363ad10daee76d5bb7ba56fc7 Mon Sep 17 00:00:00 2001 From: Jussi Kukkonen Date: Tue, 11 May 2021 11:44:36 +0300 Subject: [PATCH] Metadata API/pylintrc: Use old style logging This is suggested by the Google style guide: the old style logging (%-format) allows the log strings to be lazily formatted so there's less need to think about performance when forming debug messages. No actual code changes are needed because the metadata API does not yet log anything. Fixes #1334 Signed-off-by: Jussi Kukkonen --- tuf/api/pylintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuf/api/pylintrc b/tuf/api/pylintrc index 409a9614..01139a88 100644 --- a/tuf/api/pylintrc +++ b/tuf/api/pylintrc @@ -44,7 +44,7 @@ max-line-length=80 single-line-if-stmt=yes [LOGGING] -logging-format-style=new +logging-format-style=old [MISCELLANEOUS] notes=TODO