From 966ea764218fb14f7a2c1580203162ccf6a75857 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrik=20Sch=C3=B6nfeldt?= Date: Tue, 19 Sep 2023 15:49:28 +0200 Subject: [PATCH] Fix format strings --- src/oemof/network/network/edge.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/oemof/network/network/edge.py b/src/oemof/network/network/edge.py index 70f5b9b..15c977c 100644 --- a/src/oemof/network/network/edge.py +++ b/src/oemof/network/network/edge.py @@ -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))