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 Sep 16, 2024
1 parent 2281468 commit 2a1860a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -284,15 +284,15 @@ rule prepare_res_potentials:
),
output:
**{
f"{tech}_{year}_{discountrate}_potential_s{simpl}_{clusters}": f"resources/custom_renewables/{tech}/{tech}_{year}_{discountrate}_potential_s{{simpl}}_{{clusters}}.csv"
f"{tech}_{year}_{discountrate}_potential_s{simpl}_{clusters}": f"resources/custom_renewables/{tech}/{tech}_{year}_{discountrate}_potential_s{simpl}_{clusters}.csv"
for tech in config["custom_data"]["renewables"]
for year in config["scenario"]["planning_horizons"]
for discountrate in config["costs"]["discountrate"]
for simpl in config["scenario"]["simpl"]
for clusters in config["scenario"]["clusters"]
},
**{
f"{tech}_{year}_{discountrate}_installable_s{simpl}_{clusters}": f"resources/custom_renewables/{tech}/{tech}_{year}_{discountrate}_installable_s{{simpl}}_{{clusters}}.csv"
f"{tech}_{year}_{discountrate}_installable_s{simpl}_{clusters}": f"resources/custom_renewables/{tech}/{tech}_{year}_{discountrate}_installable_s{simpl}_{clusters}.csv"
for tech in config["custom_data"]["renewables"]
for year in config["scenario"]["planning_horizons"]
for discountrate in config["costs"]["discountrate"]
Expand Down
2 changes: 1 addition & 1 deletion scripts/override_respot.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-

import logging
import os
from itertools import dropwhile
from types import SimpleNamespace
Expand All @@ -10,7 +11,6 @@
import pytz
import xarray as xr
from helpers import mock_snakemake, override_component_attrs, sets_path_to_root
import logging

logger = logging.getLogger(__name__)

Expand Down

0 comments on commit 2a1860a

Please sign in to comment.