Skip to content

[DevOps] update poetry #2392

[DevOps] update poetry

[DevOps] update poetry #2392

Triggered via pull request June 17, 2024 23:27
Status Failure
Total duration 2m 0s
Artifacts

linters.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

25 errors and 7 warnings
isort: neuralprophet/utils.py#L1
Imports are incorrectly sorted and/or formatted.
isort: tests/test_utils.py#L1
Imports are incorrectly sorted and/or formatted.
isort
The process '/opt/hostedtoolcache/Python/3.12.3/x64/bin/isort' failed with exit code 1
ruff
Process completed with exit code 1.
flake8: neuralprophet/components/future_regressors/linear.py#L4
'neuralprophet.utils' imported but unused
flake8: neuralprophet/components/future_regressors/neural_nets.py#L6
'neuralprophet.utils_torch.init_parameter' imported but unused
flake8: neuralprophet/components/future_regressors/shared_neural_nets.py#L1
'collections.OrderedDict' imported but unused
flake8: neuralprophet/components/future_regressors/shared_neural_nets.py#L7
'neuralprophet.utils_torch.init_parameter' imported but unused
flake8: neuralprophet/components/future_regressors/shared_neural_nets_coef.py#L1
'collections.OrderedDict' imported but unused
flake8: neuralprophet/components/future_regressors/shared_neural_nets_coef.py#L7
'neuralprophet.utils_torch.init_parameter' imported but unused
flake8: neuralprophet/configure.py#L313
comparison to True should be 'if cond is True:' or 'if cond:'
flake8: neuralprophet/configure.py#L318
comparison to False should be 'if cond is not False:' or 'if cond:'
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#L308
Operator "<" not supported for "None" (reportOptionalOperand)
pyright: neuralprophet/configure.py#L358
No overloads for "__init__" match the provided arguments (reportCallIssue)
pyright: neuralprophet/configure.py#L359
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#L364
Argument of type "SeasonGlobalLocalMode | Literal['auto']" cannot be assigned to parameter "global_local" of type "SeasonGlobalLocalMode" in function "__init__" (reportArgumentType)
pyright: neuralprophet/configure.py#L375
Argument of type "SeasonGlobalLocalMode | Literal['auto']" cannot be assigned to parameter "global_local" of type "SeasonGlobalLocalMode" in function "__init__" (reportArgumentType)
pyright: neuralprophet/configure.py#L386
Argument of type "SeasonGlobalLocalMode | Literal['auto']" cannot be assigned to parameter "global_local" of type "SeasonGlobalLocalMode" in function "__init__" (reportArgumentType)
pyright: neuralprophet/configure.py#L395
Operator "<" not supported for "None" (reportOptionalOperand)
pyright: neuralprophet/configure.py#L416
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#L490
Cannot assign to attribute "regressors" for class "ConfigFutureRegressors*"   "None" is incompatible with "OrderedDict[Unknown, Unknown]" (reportAttributeAccessIssue)
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/.
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/.
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/forecaster.py#L1105
Expression value is unused (reportUnusedExpression)
pyright: neuralprophet/uncertainty.py#L287
Expression value is unused (reportUnusedExpression)