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 May 10, 2023
1 parent 884f430 commit 1bff906
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion profit/run/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ def __init__(
(
variable,
spec["dtype"].__name__,
() if "size" not in spec or spec["size"] == (1, 1) else (spec["size"][-1],),
()
if "size" not in spec or spec["size"] == (1, 1)
else (spec["size"][-1],),
)
for variable, spec in input_config.items()
]
Expand Down

0 comments on commit 1bff906

Please sign in to comment.