Skip to content

[Minor] Move max_lags, prediction_freq to config_model and n_lags to config_ar #2624

[Minor] Move max_lags, prediction_freq to config_model and n_lags to config_ar

[Minor] Move max_lags, prediction_freq to config_model and n_lags to config_ar #2624

Triggered via pull request September 3, 2024 21:33
Status Failure
Total duration 3m 27s
Artifacts

linters.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 6 warnings
flake8: neuralprophet/time_dataset.py#L14
'neuralprophet.utils_time_dataset.ComponentStacker' imported but unused
flake8: neuralprophet/time_dataset.py#L14
'neuralprophet.utils_time_dataset.fourier_series' imported but unused
flake8: neuralprophet/time_dataset.py#L14
'neuralprophet.utils_time_dataset.fourier_series_t' imported but unused
flake8
The process '/opt/hostedtoolcache/Python/3.12.5/x64/bin/flake8' failed with exit code 1
ruff
Process completed with exit code 1.
pyright: neuralprophet/__init__.py#L15
"utilities" is not a known attribute of module "pytorch_lightning" (reportAttributeAccessIssue)
pyright: neuralprophet/configure.py#L25
Declaration "features_map" is obscured by a declaration of the same name (reportRedeclaration)
pyright: neuralprophet/configure.py#L27
Too few type arguments provided for "Dict"; expected 2 but received 1 (reportInvalidTypeArguments)
pyright: neuralprophet/configure.py#L48
Function with declared return type "int" must return value on all code paths   "None" is not assignable to "int" (reportReturnType)
pyright: neuralprophet/configure.py#L381
Operator "<" not supported for "None" (reportOptionalOperand)
pyright: neuralprophet/configure.py#L430
No overloads for "__init__" match the provided arguments (reportCallIssue)
pyright: neuralprophet/configure.py#L431
Argument of type "dict[str, Season]" cannot be assigned to parameter "iterable" of type "Iterable[list[bytes]]" in function "__init__" (reportArgumentType)
pyright: neuralprophet/configure.py#L436
Argument of type "SeasonGlobalLocalMode | Literal['auto']" cannot be assigned to parameter "global_local" of type "SeasonGlobalLocalMode" in function "__init__" (reportArgumentType)
pyright: neuralprophet/configure.py#L447
Argument of type "SeasonGlobalLocalMode | Literal['auto']" cannot be assigned to parameter "global_local" of type "SeasonGlobalLocalMode" in function "__init__" (reportArgumentType)
pyright: neuralprophet/configure.py#L458
Argument of type "SeasonGlobalLocalMode | Literal['auto']" cannot be assigned to parameter "global_local" of type "SeasonGlobalLocalMode" in function "__init__" (reportArgumentType)
isort
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, liskin/gh-problem-matcher-wrap@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
flake8
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, liskin/gh-problem-matcher-wrap@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ruff
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
black
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
pyright
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, jakebailey/pyright-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
pyright: neuralprophet/uncertainty.py#L287
Expression value is unused (reportUnusedExpression)