Method: pylint.checkers.classes.class_checker.ClassChecker._check_property_with_parameters
Calls: 1716, Exceptions: 0, Paths: 4Back
Path 1: 1094 calls (0.64)
FunctionDef (1080) AsyncFunctionDef (14)
1def _check_property_with_parameters(self, node: nodes.FunctionDef) -> None:
2 if (
3 node.args.args
4 and len(node.args.args) > 1
5 and decorated_with_property(node)
6 and not is_property_setter(node)
7 ):
8 self.add_message("property-with-parameters", node=node)
Path 2: 577 calls (0.34)
FunctionDef (574) AsyncFunctionDef (3)
1def _check_property_with_parameters(self, node: nodes.FunctionDef) -> None:
2 if (
3 node.args.args
4 and len(node.args.args) > 1
5 and decorated_with_property(node)
6 and not is_property_setter(node)
7 ):
8 self.add_message("property-with-parameters", node=node)
Path 3: 44 calls (0.03)
FunctionDef (44)
1def _check_property_with_parameters(self, node: nodes.FunctionDef) -> None:
2 if (
3 node.args.args
4 and len(node.args.args) > 1
5 and decorated_with_property(node)
6 and not is_property_setter(node)
7 ):
8 self.add_message("property-with-parameters", node=node)
Path 4: 1 calls (0.0)
FunctionDef (1)
1def _check_property_with_parameters(self, node: nodes.FunctionDef) -> None:
2 if (
3 node.args.args
4 and len(node.args.args) > 1
5 and decorated_with_property(node)
6 and not is_property_setter(node)
7 ):
8 self.add_message("property-with-parameters", node=node)