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 Mar 13, 2024
1 parent 72f3334 commit 740bb39
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/gsp.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,7 @@ def get_all_available_forecasts(

# adjust gsp_id 0
idx = [
i
for i, forecasts in enumerate(forecasts.forecasts)
if forecasts.location.gsp_id == 0
i for i, forecasts in enumerate(forecasts.forecasts) if forecasts.location.gsp_id == 0
]
if len(idx) > 0:
logger.info(f"Adjusting forecast values for gsp id 0, {adjust_limit}")
Expand Down

0 comments on commit 740bb39

Please sign in to comment.