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 6, 2024
1 parent f15df39 commit d7fa0f1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit d7fa0f1

Please sign in to comment.