Path 1: 29 calls (1.0)

Call (29)

'lazy %' (29)

1def _helper_string(self, node: nodes.Call) -> str:
2        """Create a string that lists the valid types of formatting for this node."""
3        valid_types = ["lazy %"]
4
5        if not self.linter.is_message_enabled(
6            "logging-fstring-formatting", node.fromlineno
7        ):
8            valid_types.append("fstring")
9        if not self.linter.is_message_enabled(
10            "logging-format-interpolation", node.fromlineno
11        ):
12            valid_types.append(".format()")
13        if not self.linter.is_message_enabled("logging-not-lazy", node.fromlineno):
14            valid_types.append("%")
15
16        return " or ".join(valid_types)