From 3eddd39a5aa52d40fbc2e0a12b463d270ddfeba2 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Thu, 2 Nov 2023 12:44:44 +0100 Subject: adding linting with ruff --- scripts/elvia.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'scripts/elvia.py') diff --git a/scripts/elvia.py b/scripts/elvia.py index dab2329..b74f784 100644 --- a/scripts/elvia.py +++ b/scripts/elvia.py @@ -3,12 +3,11 @@ import os import sys -from datetime import datetime -from datetime import timedelta -from tzlocal import get_localzone -import requests +from datetime import datetime, timedelta import common +import requests +from tzlocal import get_localzone apiKey = os.environ['el_elvia_token'] apiUrl = "https://elvia.azure-api.net/customer/metervalues/api/v1/metervalues" -- cgit v1.2.3