Skip to content

Commit

Permalink
using flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosEpia committed Nov 1, 2023
1 parent ec5b7f2 commit da2ee15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion etrago/cluster/electrical.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ def select_elec_network(etrago):
~elec_network.buses.index.isin(busmap_area.index)
]

# Exclude foreign buses when it is set to don't include them in the clustering
# Exclude foreign buses when it is set to don't include them in clustering
if settings["cluster_foreign_AC"]:
elec_network.buses = elec_network.buses[
elec_network.buses.carrier == "AC"
Expand Down
2 changes: 1 addition & 1 deletion etrago/cluster/spatial.py
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ def find_buses_area(etrago, carrier):
de_areas = gpd.read_file(settings["exclusion_area"])
else:
raise Exception(
"not supported format supplied to the 'exclusion_area' argument"
"not supported format supplied to 'exclusion_area' argument"
)

try:
Expand Down

0 comments on commit da2ee15

Please sign in to comment.