Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

Commit

Permalink
style: apply automated linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
megalinter-bot committed Jun 5, 2024
1 parent a59b154 commit 4270093
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 4270093

Please sign in to comment.