Skip to content

Commit

Permalink
ignoring E501 for one line
Browse files Browse the repository at this point in the history
  • Loading branch information
mdrocan committed Sep 9, 2023
1 parent ea4efb5 commit ecf01e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fronius.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ecf01e7

Please sign in to comment.