Skip to content

Commit

Permalink
ruff: use kwargs items
Browse files Browse the repository at this point in the history
  • Loading branch information
jvansanten committed Dec 5, 2024
1 parent 74e52b9 commit 1837ece
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ampel/base/AmpelUnit.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ def __init__(self, **kwargs) -> None:
sa("_exclude_unset", unset)

# Set kwargs attributes
for k in kwargs:
for k, v in kwargs.items():
if k in sks or k in aks:
sa(k, kwargs[k])
sa(k, v)


def _get_trace_content(self) -> dict[str, Any]:
Expand Down

0 comments on commit 1837ece

Please sign in to comment.