diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2020-04-27 10:37:13 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2020-04-27 10:37:13 +0200 |
commit | cc698005bffe5f40a6f1bee6c742cbe5bddb2a10 (patch) | |
tree | 93e77996c79e83925b833df5f0c9d3efa8f891d9 /pylint | |
parent | fb59ed86d5e463ebfdeb5d0af8539b7a8431aa15 (diff) | |
download | pylint-git-cc698005bffe5f40a6f1bee6c742cbe5bddb2a10.tar.gz |
Replace logging-format-formatting with the valid logging-format-interpolation
Diffstat (limited to 'pylint')
-rw-r--r-- | pylint/checkers/logging.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |