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 Jan 17, 2024
1 parent 228ff44 commit aaa587d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/build_transport_demand.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
import numpy as np
import pandas as pd
import xarray as xr

from _helpers import configure_logging
from _helpers import generate_periodic_profiles
from _helpers import configure_logging, generate_periodic_profiles

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -137,8 +135,10 @@ def bev_availability_profile(fn, snapshots, nodes, options):
)

if not avail[avail < 0].empty:
logger.warning("The BEV availability weekly profile has negative values which can "
"lead to infeasibility.")
logger.warning(
"The BEV availability weekly profile has negative values which can "
"lead to infeasibility."
)

return generate_periodic_profiles(
dt_index=snapshots,
Expand Down

0 comments on commit aaa587d

Please sign in to comment.