Skip to content

modifications to accomodate numpy 2 #2656

modifications to accomodate numpy 2

modifications to accomodate numpy 2 #2656

Triggered via pull request October 28, 2025 16:28
Status Failure
Total duration 2m 2s
Artifacts

linters.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
pyright: neuralprophet/components/future_regressors/neural_nets.py#L106
"x" is possibly unbound (reportPossiblyUnboundVariable)
pyright: neuralprophet/components/future_regressors/neural_nets.py#L99
"items" is not a known attribute of "None" (reportOptionalMemberAccess)
pyright: neuralprophet/components/future_regressors/neural_nets.py#L83
"__getitem__" method not defined on type "Module" (reportIndexIssue)
pyright: neuralprophet/components/future_regressors/neural_nets.py#L60
"__getitem__" method not defined on type "Module" (reportIndexIssue)
pyright: neuralprophet/components/future_regressors/neural_nets.py#L59
"__getitem__" method not defined on type "Module" (reportIndexIssue)
pyright: neuralprophet/components/future_regressors/neural_nets.py#L56
Argument of type "Self@NeuralNetsFutureRegressors" cannot be assigned to parameter "target_model" of type "LightningModule" in function "interprete_model"   "NeuralNetsFutureRegressors*" is not assignable to "LightningModule" (reportArgumentType)
pyright: neuralprophet/components/future_regressors/linear.py#L105
"f_r" is possibly unbound (reportPossiblyUnboundVariable)
pyright: neuralprophet/components/future_regressors/linear.py#L87
Method "forward" overrides class "BaseComponent" in an incompatible manner   Positional parameter count mismatch; base method has 2, but override has 4   Parameter 2 name mismatch: base parameter is named "x", override parameter is named "inputs"   Return type mismatch: base method returns type "None", override returns type "Tensor"     "Tensor" is not assignable to "None" (reportIncompatibleMethodOverride)
pyright: neuralprophet/components/future_regressors/linear.py#L75
Object of type "None" is not subscriptable (reportOptionalSubscript)
pyright: neuralprophet/__init__.py#L15
"utilities" is not a known attribute of module "pytorch_lightning" (reportAttributeAccessIssue)
pyright: neuralprophet/uncertainty.py#L287
Expression value is unused (reportUnusedExpression)