Method: pylint.checkers.unsupported_version.UnsupportedVersionChecker.visit_joinedstr
Calls: 93, Exceptions: 0, Paths: 2Back
Path 1: 91 calls (0.98)
JoinedStr (91)
1@only_required_for_messages("using-f-string-in-unsupported-version")
2 def visit_joinedstr(self, node: nodes.JoinedStr) -> None:
3 """Check f-strings."""
4 if not self._py36_plus:
5 self.add_message("using-f-string-in-unsupported-version", node=node)
Path 2: 2 calls (0.02)
JoinedStr (2)
1@only_required_for_messages("using-f-string-in-unsupported-version")
2 def visit_joinedstr(self, node: nodes.JoinedStr) -> None:
3 """Check f-strings."""
4 if not self._py36_plus:
5 self.add_message("using-f-string-in-unsupported-version", node=node)