Skip to content

Commit

Permalink
formatted files with black #4
Browse files Browse the repository at this point in the history
  • Loading branch information
eis committed Jan 10, 2025
1 parent 156b0c9 commit 9272d5b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/energy_demand/energy_demand.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# SPDX-License-Identifier: AGPL-3.0-or-later


class EnergyDemand:

def __init__(self, energy_carrier, demand_in_gj_per_ton):
Expand Down
1 change: 1 addition & 0 deletions src/feedstock_demand/feedstock_demand.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# SPDX-License-Identifier: AGPL-3.0-or-later


class FeedstockDemand:

def __init__(self, energy_carrier, feedstock_demand_in_gj_per_ton):
Expand Down
1 change: 1 addition & 0 deletions src/simulation/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# SPDX-License-Identifier: AGPL-3.0-or-later


class Simulation:

def __init__(self, simulation_mode, time_span, regions, visitors):
Expand Down
1 change: 1 addition & 0 deletions src/steam_demand/steam_demand.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# SPDX-License-Identifier: AGPL-3.0-or-later


class SteamDemand:

def __init__(self, energy_carrier, steam_demand_in_gj_per_ton):
Expand Down
1 change: 1 addition & 0 deletions src/utils/collection_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# SPDX-License-Identifier: AGPL-3.0-or-later


def min_object(collection, min_function, default_object):
# Loops over the collection and returns the default_object or an object of the collection,
# for which min_function yields the minimum value. If several objects provide the same min,
Expand Down
1 change: 1 addition & 0 deletions src/utils/time_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# SPDX-License-Identifier: AGPL-3.0-or-later


def create_time_span(start_year, end_year, year_increment):
return list(range(start_year, end_year + 1, year_increment))

Expand Down

0 comments on commit 9272d5b

Please # to comment.