[Major] Glocal Modelling v2 (#1008) #2304
Annotations
21 errors and 7 warnings
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#L3
'torch' 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#L3
'torch' 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:'
|
ruff
Process completed with exit code 1.
|
pyright:
neuralprophet/__init__.py#L15
"utilities" is not a known member of module "pytorch_lightning" (reportAttributeAccessIssue)
|
pyright:
neuralprophet/configure.py#L308
Operator "<" not supported for "None" (reportOptionalOperand)
|
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" cannot be assigned to type "SeasonGlobalLocalMode"
"str" cannot be assigned to type "Literal['global']"
"str" cannot be assigned to type "Literal['local']"
"str" cannot be assigned to type "Literal['glocal']" (reportArgumentType)
|
pyright:
neuralprophet/configure.py#L490
Cannot assign member "regressors" for type "ConfigFutureRegressors*"
"None" is incompatible with "OrderedDict[Unknown, Unknown]" (reportAttributeAccessIssue)
|
pyright:
neuralprophet/df_utils.py#L511
No overloads for "__getitem__" match the provided arguments (reportCallIssue)
|
pyright:
neuralprophet/df_utils.py#L511
Argument of type "DataFrame" cannot be assigned to parameter "idx" of type "tuple[Scalar, slice]" in function "__getitem__"
"DataFrame" is incompatible with "tuple[Scalar, slice]" (reportArgumentType)
|
isort
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, 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/.
|
flake8
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, 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/.
|
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/setup-python@v4, 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)
|