Skip to content

Commit

Permalink
Fix format strings
Browse files Browse the repository at this point in the history
  • Loading branch information
p-snft committed Sep 19, 2023
1 parent 9879bb6 commit 966ea76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/oemof/network/network/edge.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ def __init__(
):
if flow is not None and values is not None:
raise ValueError(
f"\n\n`Edge`'s `flow` and `values` keyword arguments are "
"\n\n`Edge`'s `flow` and `values` keyword arguments are "
"aliases of each other,\nso they're mutually exclusive.\n"
"You supplied:\n"
" `flow` : {flow}\n"
" `values`: {values}\n"
f" `flow` : {flow}\n"
f" `values`: {values}\n"
"Choose one."
)
super().__init__(label=Edge.Label(input_node, output_node))
Expand Down

0 comments on commit 966ea76

Please sign in to comment.