Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 15, 2024
1 parent e65365e commit 7e6c05c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zninit/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ def auto_init(self, *args, **kwargs): # noqa: C901
if kwarg_name not in priority_kwargs:
required_keys.append(kwarg_name)

init_kwargs.update({
name: kwargs.pop(name, value) for name, value in kwargs_with_default.items()
})
init_kwargs.update(
{name: kwargs.pop(name, value) for name, value in kwargs_with_default.items()}
)
super_init(self, **kwargs) # call the super_init explicitly instead of super
# must call the super_init first e.g. it is required to set the node_name

Expand Down

0 comments on commit 7e6c05c

Please sign in to comment.