From b958d0a681a0d2cada5e374f2b3dc02fb4bf3a03 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Sat, 26 Nov 2022 14:40:05 +0100 Subject: [PATCH] Update pylint/checkers/logging.py --- pylint/checkers/logging.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pylint/checkers/logging.py b/pylint/checkers/logging.py index a1fc1099c0..b3a6845b2f 100644 --- a/pylint/checkers/logging.py +++ b/pylint/checkers/logging.py @@ -105,12 +105,7 @@ "warning", } -MOST_COMMON_FORMATTING = { - "%s", - "%d", - "%f", - "%r", -} +MOST_COMMON_FORMATTING = frozenset("%s", "%d", "%f", "%r") def is_method_call(