Method: pylint.extensions.magic_value.MagicValueChecker._is_magic_value
Calls: 12, Exceptions: 0, Paths: 2Back
Path 1: 9 calls (0.75)
Const (9)
False (6) True (3)
1def _is_magic_value(self, node: nodes.Const) -> bool:
2 return (not utils.is_singleton_const(node)) and (
3 node.value not in (self.valid_magic_vals)
4 )
Path 2: 3 calls (0.25)
Const (3)
False (3)
1def _is_magic_value(self, node: nodes.Const) -> bool:
2 return (not utils.is_singleton_const(node)) and (
3 node.value not in (self.valid_magic_vals)
4 )