Skip to content

[Minor] Torchify TimeDataset #2490

[Minor] Torchify TimeDataset

[Minor] Torchify TimeDataset #2490

Triggered via pull request July 3, 2024 05:02
Status Failure
Total duration 2m 34s
Artifacts

linters.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
pyright: neuralprophet/__init__.py#L15
"utilities" is not a known attribute of module "pytorch_lightning" (reportAttributeAccessIssue)
pyright: neuralprophet/configure.py#L307
Operator "<" not supported for "None" (reportOptionalOperand)
pyright: neuralprophet/configure.py#L356
No overloads for "__init__" match the provided arguments (reportCallIssue)
pyright: neuralprophet/configure.py#L357
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#L362
Argument of type "SeasonGlobalLocalMode | Literal['auto']" cannot be assigned to parameter "global_local" of type "SeasonGlobalLocalMode" in function "__init__" (reportArgumentType)
pyright: neuralprophet/configure.py#L373
Argument of type "SeasonGlobalLocalMode | Literal['auto']" cannot be assigned to parameter "global_local" of type "SeasonGlobalLocalMode" in function "__init__" (reportArgumentType)
pyright: neuralprophet/configure.py#L384
Argument of type "SeasonGlobalLocalMode | Literal['auto']" cannot be assigned to parameter "global_local" of type "SeasonGlobalLocalMode" in function "__init__" (reportArgumentType)
pyright: neuralprophet/configure.py#L392
Operator ">=" not supported for "None" (reportOptionalOperand)
pyright: neuralprophet/configure.py#L410
Argument of type "str" cannot be assigned to parameter "global_local" of type "SeasonGlobalLocalMode" in function "__init__"   Type "str" is incompatible with type "SeasonGlobalLocalMode"     "str" is incompatible with type "Literal['global']"     "str" is incompatible with type "Literal['local']"     "str" is incompatible with type "Literal['glocal']" (reportArgumentType)
pyright: neuralprophet/configure.py#L486
Cannot assign to attribute "regressors" for class "ConfigFutureRegressors*"   "None" is incompatible with "OrderedDict[Unknown, Unknown]" (reportAttributeAccessIssue)
ruff
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
flake8
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, liskin/gh-problem-matcher-wrap@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
isort
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, liskin/gh-problem-matcher-wrap@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
black
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pyright
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, jakebailey/pyright-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
pyright: neuralprophet/uncertainty.py#L287
Expression value is unused (reportUnusedExpression)