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 Oct 9, 2023
1 parent 82243e6 commit a5e9910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hera_sim/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def list_all_components(with_aliases: bool = True) -> str:
for cmp, models in cmps.items():
out += f"{cmp}:\n"

model_to_name = defaultdict(lambda: [])
model_to_name = defaultdict(list)
for name, model in models.items():
model_to_name[model].append(name)

Expand Down

0 comments on commit a5e9910

Please sign in to comment.