Skip to content

Commit

Permalink
Fixing style errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
stickler-ci committed Dec 17, 2020
1 parent 94a9b3c commit 0a2a2f4
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/deflex/scenario_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ def create_scenario(regions, year, name, weather_year=None):
table_collection = {}

logging.info("BASIC SCENARIO - STORAGES")
table_collection["storages"] = storages.scenario_storages(regions, year, name)
table_collection["storages"] = storages.scenario_storages(
regions, year, name
)

logging.info("BASIC SCENARIO - POWER PLANTS")
table_collection = powerplants.scenario_powerplants(
Expand All @@ -93,7 +95,9 @@ def create_scenario(regions, year, name, weather_year=None):
logging.info("...skipped")

logging.info("BASIC SCENARIO - SOURCES")
table_collection["commodity_source"] = commodity.scenario_commodity_sources(year)
table_collection[
"commodity_source"
] = commodity.scenario_commodity_sources(year)
table_collection["volatile_series"] = feedin.scenario_feedin(
regions, year, name, weather_year=weather_year
)
Expand Down Expand Up @@ -181,7 +185,12 @@ def clean_time_series(table_collection):


def create_basic_scenario(
year, rmap=None, path=None, csv_dir=None, xls_name=None, only_out=None,
year,
rmap=None,
path=None,
csv_dir=None,
xls_name=None,
only_out=None,
):
"""
Create a basic scenario for a given year and region-set.
Expand Down

0 comments on commit 0a2a2f4

Please sign in to comment.