From c8b1a72787dc191e4d1b06380dd50e6b4cdc1465 Mon Sep 17 00:00:00 2001 From: ClaraBuettner Date: Fri, 16 Aug 2024 10:53:19 +0200 Subject: [PATCH] Fix flake8 issues --- etrago/tools/io.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/etrago/tools/io.py b/etrago/tools/io.py index db1bedaa..87f7537e 100644 --- a/etrago/tools/io.py +++ b/etrago/tools/io.py @@ -48,7 +48,6 @@ __license__ = "GNU Affero General Public License Version 3 (AGPL-3.0)" __author__ = "ulfmueller, mariusves, pieterhexen, ClaraBuettner" -from importlib import import_module import os import numpy as np @@ -210,7 +209,7 @@ def fetch_by_relname(self, name): ) if self.scenario_extension: - from saio.grid import ( # noqa: F401 + from saio.grid import ( # noqa: F401, F811 egon_etrago_extension_bus as egon_etrago_bus, egon_etrago_extension_line as egon_etrago_line, egon_etrago_extension_link as egon_etrago_link, @@ -869,7 +868,7 @@ def decommissioning(self, **kwargs): df_decommisionning = pd.read_sql( f""" - SELECT * FROM + SELECT * FROM grid.egon_etrago_extension_line WHERE scn_name = 'decomissioining_{scn_decom}' """,