Skip to content

Commit

Permalink
Replace logging-format-formatting with the valid logging-format-inter…
Browse files Browse the repository at this point in the history
…polation
  • Loading branch information
PCManticore committed Apr 27, 2020
1 parent fb59ed8 commit cc69800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylint/checkers/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def _helper_string(self, node):
):
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):
Expand Down

0 comments on commit cc69800

Please sign in to comment.