[Major] Support Re-Training #2549
Annotations
11 errors and 6 warnings
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#L199
Cannot assign to attribute "scheduler" for class "Train*"
Type "type[OneCycleLR]" is incompatible with type "type[_LRScheduler] | None"
"type[OneCycleLR]" is incompatible with "type[_LRScheduler]"
Type "type[OneCycleLR]" is incompatible with type "type[_LRScheduler]"
"type[type]" is incompatible with "type[None]" (reportAttributeAccessIssue)
|
pyright:
neuralprophet/configure.py#L210
Cannot assign to attribute "scheduler" for class "Train*"
Type "type[StepLR]" is incompatible with type "type[_LRScheduler] | None"
"type[StepLR]" is incompatible with "type[_LRScheduler]"
Type "type[StepLR]" is incompatible with type "type[_LRScheduler]"
"type[type]" is incompatible with "type[None]" (reportAttributeAccessIssue)
|
pyright:
neuralprophet/configure.py#L218
Cannot assign to attribute "scheduler" for class "Train*"
Type "type[ExponentialLR]" is incompatible with type "type[_LRScheduler] | None"
"type[ExponentialLR]" is incompatible with "type[_LRScheduler]"
Type "type[ExponentialLR]" is incompatible with type "type[_LRScheduler]"
"type[type]" is incompatible with "type[None]" (reportAttributeAccessIssue)
|
pyright:
neuralprophet/configure.py#L225
Cannot assign to attribute "scheduler" for class "Train*"
Type "type[CosineAnnealingLR]" is incompatible with type "type[_LRScheduler] | None"
"type[CosineAnnealingLR]" is incompatible with "type[_LRScheduler]"
Type "type[CosineAnnealingLR]" is incompatible with type "type[_LRScheduler]"
"type[type]" is incompatible with "type[None]" (reportAttributeAccessIssue)
|
pyright:
neuralprophet/configure.py#L234
Cannot assign to attribute "scheduler" for class "Train*"
Type "type[ExponentialLR]" is incompatible with type "type[_LRScheduler] | None"
"type[ExponentialLR]" is incompatible with "type[_LRScheduler]"
Type "type[ExponentialLR]" is incompatible with type "type[_LRScheduler]"
"type[type]" is incompatible with "type[None]" (reportAttributeAccessIssue)
|
pyright:
neuralprophet/configure.py#L345
Operator "<" not supported for "None" (reportOptionalOperand)
|
pyright:
neuralprophet/configure.py#L394
No overloads for "__init__" match the provided arguments (reportCallIssue)
|
pyright:
neuralprophet/configure.py#L395
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#L400
Argument of type "SeasonGlobalLocalMode | Literal['auto']" cannot be assigned to parameter "global_local" of type "SeasonGlobalLocalMode" in function "__init__" (reportArgumentType)
|
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/
|
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/
|
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)
|