From cc698005bffe5f40a6f1bee6c742cbe5bddb2a10 Mon Sep 17 00:00:00 2001 From: Claudiu Popa Date: Mon, 27 Apr 2020 10:37:13 +0200 Subject: Replace logging-format-formatting with the valid logging-format-interpolation --- pylint/checkers/logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pylint') diff --git a/pylint/checkers/logging.py b/pylint/checkers/logging.py index 5de0340d5..fa7aabd26 100644 --- a/pylint/checkers/logging.py +++ b/pylint/checkers/logging.py @@ -272,7 +272,7 @@ class LoggingChecker(checkers.BaseChecker): ): valid_types.append("fstring") if not self.linter.is_message_enabled( - "logging-format-formatting", node.fromlineno + "logging-format-interpolation", node.fromlineno ): valid_types.append(".format()") if not self.linter.is_message_enabled("logging-not-lazy", node.fromlineno): -- cgit v1.2.1