Skip to content

Commit

Permalink
style: flake8
Browse files Browse the repository at this point in the history
Signed-off-by: F.N. Claessen <felix@seita.nl>
  • Loading branch information
Flix6x committed Nov 27, 2023
1 parent 891054b commit 38718ea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions flexmeasures/data/models/planning/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from packaging import version
from typing import List, Optional, Tuple, Union
from datetime import date, datetime, timedelta
from typing import cast

from flask import current_app
import pandas as pd
Expand Down Expand Up @@ -356,7 +355,7 @@ def get_series_from_quantity_or_sensor(
time_series = convert_units(time_series, quantity_or_sensor.unit, unit)
else:
raise TypeError(
f"time_series should be a pint Quantity or timely-beliefs Sensor"
f"quantity_or_sensor {quantity_or_sensor} should be a pint Quantity or timely-beliefs Sensor"
)

return time_series
Expand Down

0 comments on commit 38718ea

Please sign in to comment.