Method: pylint.extensions.no_self_use.NoSelfUseChecker.visit_functiondef
Calls: 32, Exceptions: 0, Paths: 2Back
Path 1: 31 calls (0.97)
FunctionDef (29) AsyncFunctionDef (2)
1def visit_functiondef(self, node: nodes.FunctionDef) -> None:
2 if not node.is_method():
3 return
4 self._meth_could_be_func = True
5 self._check_first_arg_for_type(node)
Path 2: 1 calls (0.03)
FunctionDef (1)
None (1)
1def visit_functiondef(self, node: nodes.FunctionDef) -> None:
2 if not node.is_method():
3 return
4 self._meth_could_be_func = True
5 self._check_first_arg_for_type(node)