diff --git a/src/library_analyzer/processing/api/purity_analysis/_get_module_data.py b/src/library_analyzer/processing/api/purity_analysis/_get_module_data.py index c8b5fe2a..daa991e1 100644 --- a/src/library_analyzer/processing/api/purity_analysis/_get_module_data.py +++ b/src/library_analyzer/processing/api/purity_analysis/_get_module_data.py @@ -708,7 +708,8 @@ def enter_functiondef(self, node: astroid.FunctionDef) -> None: return elif isinstance(decorator, astroid.Name) and decorator.name == "property": if isinstance(self.current_node_stack[-1], ClassScope) and hasattr( - self.current_node_stack[-1], "instance_variables", + self.current_node_stack[-1], + "instance_variables", ): self.current_node_stack[-1].instance_variables.setdefault(node.name, []).append( InstanceVariable(