From 295a271ad7343fa07c568a7de80bbaf55ba95f7f Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Mon, 30 Nov 2026 13:10:07 +0100 Subject: [PATCH] Remove no longer needed "# type: ignore" comments With the ORM columns annotated, `mypy` understands these lines on its own --- src/velofy/forecasts/timify.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/velofy/forecasts/timify.py b/src/velofy/forecasts/timify.py index 3b6cc1a..7f53ef3 100644 --- a/src/velofy/forecasts/timify.py +++ b/src/velofy/forecasts/timify.py @@ -299,7 +299,7 @@ class OrderHistory: # Take only the counts at the `predict_at` time. training_ts = intra_pixel.loc[ - first_start_at : last_start_at : self._n_daily_time_steps, # type:ignore + first_start_at : last_start_at : self._n_daily_time_steps, "n_orders", ] if len(training_ts) != frequency * train_horizon: @@ -370,7 +370,7 @@ class OrderHistory: # Take all the counts between `first_train_day` and `last_train_day`. training_ts = intra_pixel.loc[ - first_start_at:last_start_at, # type:ignore + first_start_at:last_start_at, "n_orders", ] if len(training_ts) != frequency * train_horizon: @@ -392,7 +392,7 @@ class OrderHistory: ) - dt.timedelta(minutes=self._time_step) actuals_ts = intra_pixel.loc[ - first_prediction_at:last_prediction_at, # type:ignore + first_prediction_at:last_prediction_at, "n_orders", ] if not len(actuals_ts): # pragma: no cover @@ -470,7 +470,7 @@ class OrderHistory: # Take all the counts between `first_train_day` and `last_train_day`, # including the ones on the `predict_at` day prior to `predict_at`. training_ts = intra_pixel.loc[ - first_start_at:last_start_at, # type:ignore + first_start_at:last_start_at, "n_orders", ] n_time_steps_on_predict_day = (