Skip to content

[Major] Support Custom Learning Rate Scheduler #2591

[Major] Support Custom Learning Rate Scheduler

[Major] Support Custom Learning Rate Scheduler #2591

Triggered via pull request August 30, 2024 01:54
Status Failure
Total duration 1m 59s
Artifacts

linters.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 6 warnings
flake8: neuralprophet/time_net.py#L2
'math' imported but unused
flake8: neuralprophet/utils.py#L12
'pytorch_lightning as pl' imported but unused
flake8: neuralprophet/utils.py#L17
'neuralprophet.logger.ProgressBar' imported but unused
flake8: neuralprophet/utils.py#L20
'neuralprophet.configure.Train' 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.
black
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#L349
Operator "<" not supported for "None" (reportOptionalOperand)
pyright: neuralprophet/configure.py#L398
No overloads for "__init__" match the provided arguments (reportCallIssue)
pyright: neuralprophet/configure.py#L399
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#L404
Argument of type "SeasonGlobalLocalMode | Literal['auto']" cannot be assigned to parameter "global_local" of type "SeasonGlobalLocalMode" in function "__init__" (reportArgumentType)
pyright: neuralprophet/configure.py#L415
Argument of type "SeasonGlobalLocalMode | Literal['auto']" cannot be assigned to parameter "global_local" of type "SeasonGlobalLocalMode" in function "__init__" (reportArgumentType)
pyright: neuralprophet/configure.py#L426
Argument of type "SeasonGlobalLocalMode | Literal['auto']" cannot be assigned to parameter "global_local" of type "SeasonGlobalLocalMode" in function "__init__" (reportArgumentType)
pyright: neuralprophet/configure.py#L434
Operator ">=" not supported for "None" (reportOptionalOperand)
pyright: neuralprophet/configure.py#L452
Argument of type "str" cannot be assigned to parameter "global_local" of type "SeasonGlobalLocalMode" in function "__init__"   Type "str" is not assignable to type "SeasonGlobalLocalMode"     "str" is not assignable to type "Literal['global']"     "str" is not assignable to type "Literal['local']"     "str" is not assignable to type "Literal['glocal']" (reportArgumentType)
pyright: neuralprophet/configure.py#L528
Cannot assign to attribute "regressors" for class "ConfigFutureRegressors*"   "None" is not assignable to "OrderedDict[Unknown, Unknown]" (reportAttributeAccessIssue)
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)