Remove the config of flake8-rst-docstrings
This commit is contained in:
parent
21d6066086
commit
13eedbf699
9 changed files with 17 additions and 23 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -182,7 +182,7 @@ class Forecast(meta.Base):
|
|||
|
||||
Returns:
|
||||
forecasts: the `data` as `Forecast` objects
|
||||
""" # noqa:RST215
|
||||
"""
|
||||
forecasts = []
|
||||
|
||||
for timestamp_idx in data.index:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
... that cannot be classified into either "horizontal", "vertical",
|
||||
or "real-time".
|
||||
""" # noqa:RST215
|
||||
"""
|
||||
|
||||
import datetime as dt
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue