From 4270093d91c5ea65aada8059353f3158ae396b5c Mon Sep 17 00:00:00 2001 From: megalinter-bot <129584137+megalinter-bot@users.noreply.github.com> Date: Wed, 5 Jun 2024 21:13:45 +0000 Subject: [PATCH] style: apply automated linter fixes --- .../processing/api/purity_analysis/_get_module_data.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 4b186d0d..4bdc742a 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 @@ -707,7 +707,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(