Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 28, 2023
1 parent 72b75fd commit 699a4bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/add_electricity.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def calculate_annuity(n, r):
return 1 / n


def add_missing_carriers_with_nice_names(n,config):
def add_missing_carriers_with_nice_names(n, config):
components = [n.buses, n.generators, n.lines, n.links, n.storage_units, n.stores]
for c in components:
missing_carrier = np.setdiff1d(c.carrier.unique(), n.carriers.index)
Expand Down

0 comments on commit 699a4bd

Please sign in to comment.