From ecf01e7b58c165c7f345a5f03211943b4d723c4f Mon Sep 17 00:00:00 2001 From: Mikko Drocan Date: Sat, 9 Sep 2023 11:28:29 +0300 Subject: [PATCH] ignoring E501 for one line --- fronius.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fronius.py b/fronius.py index 1196a8f..d9ca125 100644 --- a/fronius.py +++ b/fronius.py @@ -31,8 +31,7 @@ def check_values(): year = numerize.numerize(jsondata["Body"]["Data"]["Site"]["E_Year"], 2) print("Year:", year, "Wh") - total_produce = numerize.numerize\ - (jsondata["Body"]["Data"]["Site"]["E_Total"], 2) + total_produce = numerize.numerize(jsondata["Body"]["Data"]["Site"]["E_Total"], 2) # noqa: E501 print("Total:", total_produce, "Wh") except HTTPError as http_err: