Method: pylint.checkers.exceptions.ExceptionRaiseLeafVisitor.visit_const
Calls: 4, Exceptions: 0, Paths: 1Back
Path 1: 4 calls (1.0)
Const (4)
1def visit_const(self, node: nodes.Const) -> None:
2 self._checker.add_message(
3 "raising-bad-type",
4 node=self._node,
5 args=node.value.__class__.__name__,
6 confidence=INFERENCE,
7 )