aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/entsoe.py
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2023-11-02 12:44:44 +0100
committerDennis Eriksen <d@ennis.no>2023-11-02 12:44:44 +0100
commit3eddd39a5aa52d40fbc2e0a12b463d270ddfeba2 (patch)
treeb7f4559cf252a32990f5e462dc09b2a9ad23c9b4 /scripts/entsoe.py
parentadd comment about manual starttime (diff)
downloadenergyscripts-3eddd39a5aa52d40fbc2e0a12b463d270ddfeba2.tar.gz
adding linting with ruff
Diffstat (limited to 'scripts/entsoe.py')
-rw-r--r--scripts/entsoe.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/scripts/entsoe.py b/scripts/entsoe.py
index b1d9270..70a1f19 100644
--- a/scripts/entsoe.py
+++ b/scripts/entsoe.py
@@ -3,15 +3,13 @@
import os
import sys
-from datetime import datetime
-from datetime import timedelta
+from datetime import datetime, timedelta
+
+import common
import requests
import xmltodict
-from tzlocal import get_localzone
from dateutil import tz
-
-import common
-
+from tzlocal import get_localzone
# variables