Skip to content

Commit

Permalink
Fix flake8 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaraBuettner committed Aug 16, 2024
1 parent e11cf54 commit c8b1a72
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions etrago/tools/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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}'
""",
Expand Down

0 comments on commit c8b1a72

Please sign in to comment.