Path 1: 83 calls (0.89)

JoinedStr (83)

None (83)

1def _check_interpolation(self, node: nodes.JoinedStr) -> None:
2        if isinstance(node.parent, nodes.FormattedValue):
3            return
4        for value in node.values:
5            if isinstance(value, nodes.FormattedValue):
6                return
7        self.add_message("f-string-without-interpolation", node=node)
            

Path 2: 5 calls (0.05)

JoinedStr (5)

1def _check_interpolation(self, node: nodes.JoinedStr) -> None:
2        if isinstance(node.parent, nodes.FormattedValue):
3            return
4        for value in node.values:
5            if isinstance(value, nodes.FormattedValue):
6                return
7        self.add_message("f-string-without-interpolation", node=node)
            

Path 3: 5 calls (0.05)

JoinedStr (5)

None (5)

1def _check_interpolation(self, node: nodes.JoinedStr) -> None:
2        if isinstance(node.parent, nodes.FormattedValue):
3            return
4        for value in node.values:
5            if isinstance(value, nodes.FormattedValue):
6                return
7        self.add_message("f-string-without-interpolation", node=node)