Skip to content

Commit

Permalink
Apply black
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaraBuettner committed Sep 10, 2024
1 parent dc3a5c5 commit e7167db
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions etrago/analyze/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
import cartopy.crs as ccrs
except ImportError:
cartopy_present = False

from geoalchemy2.shape import to_shape # noqa: F401
from pyproj import Proj, transform
from shapely.geometry import LineString, Point
Expand All @@ -50,7 +50,6 @@

if "READTHEDOCS" not in os.environ:


from etrago.execute import import_gen_from_links

__copyright__ = (
Expand Down
1 change: 0 additions & 1 deletion etrago/cluster/electrical.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
logger = logging.getLogger(__name__)

if "READTHEDOCS" not in os.environ:


from pypsa import Network
from pypsa.clustering.spatial import (
Expand Down
1 change: 1 addition & 0 deletions etrago/disaggregate/spatial.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"pieterhexen, fwitte, AmeliaNadal, cjbernal071421"
)


class Disaggregation:
def __init__(self, original_network, clustered_network, busmap, skip=()):
"""
Expand Down
3 changes: 1 addition & 2 deletions etrago/tools/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,11 @@

logger = logging.getLogger(__name__)

if "READTHEDOCS" not in os.environ:
if "READTHEDOCS" not in os.environ:

from sqlalchemy.orm.exc import NoResultFound
import saio



carr_ormclass = "Source"

Expand Down

0 comments on commit e7167db

Please sign in to comment.