Remove the config of flake8-rst-docstrings

This commit is contained in:
Alexander Hess 2026-11-28 02:07:27 +01:00
commit 13eedbf699
Signed by: alexander
GPG key ID: B46EDB4DFC26805D
9 changed files with 17 additions and 23 deletions

View file

@ -64,7 +64,7 @@ def tactical_heuristic( # noqa:C901
TIME_STEP: length of one time step in minutes; defaults to `60`
TRAIN_HORIZON: length of the training horizon; defaults to `8`
""" # noqa:D412,D417,RST215
""" # noqa:D412,D417
# Input validation.
try:

View file

@ -182,7 +182,7 @@ class Forecast(meta.Base):
Returns:
forecasts: the `data` as `Forecast` objects
""" # noqa:RST215
"""
forecasts = []
for timestamp_idx in data.index:

View file

@ -27,7 +27,7 @@ predictive routing strategy employed by the UDP.
A future `planning` sub-package will contain the `*Model`s used to plan the
`Courier`'s shifts a week ahead.
""" # noqa:RST215
"""
from velofy.forecasts.models.base import ForecastingModelABC
from velofy.forecasts.models.tactical.horizontal import HorizontalETSModel

View file

@ -13,4 +13,4 @@ Urban Delivery Platform".
For the paper check:
https://code.webartifex.de/alexander/velofy-forecasting/src/branch/main/paper.pdf
https://www.sciencedirect.com/science/article/pii/S1366554520307936
""" # noqa:RST215
"""

View file

@ -5,7 +5,7 @@ corresponding to the same time of day as the one to be predicted (i.e., the
one starting at `predict_at`). Then, they make a prediction for only one day
into the future. Thus, the training time series have a `frequency` of `7`, the
number of days in a week.
""" # noqa:RST215
"""
import datetime as dt

View file

@ -2,7 +2,7 @@
... that cannot be classified into either "horizontal", "vertical",
or "real-time".
""" # noqa:RST215
"""
import datetime as dt

View file

@ -7,7 +7,7 @@ the one starting at `predict_at`). Thus, the training time series have a
day. For example, for 60-minute time steps, the `frequency` becomes `7 * 12`
(= operating hours from 11 am to 11 pm), which is `84`. Real-time `*Model`s
train the forecasting `methods` on a seasonally decomposed time series internally.
""" # noqa:RST215
"""
import datetime as dt

View file

@ -7,7 +7,7 @@ Thus, the training time series have a `frequency` of the number of weekdays,
steps, the `frequency` becomes `7 * 12` (= operating hours from 11 am to 11 pm),
which is `84`. Vertical `*Model`s train the forecasting `methods` on a seasonally
decomposed time series internally.
""" # noqa:RST215
"""
import datetime as dt

View file

@ -566,7 +566,7 @@ class OrderHistory:
most promising forecasting `*Model`
# noqa:DAR401 RuntimeError
""" # noqa:RST215
"""
add = self.avg_daily_demand(
pixel_id=pixel_id,
predict_day=predict_day,