[Minor] Improve Season glocal reg invalid parameter handling (#1601) #2481
Annotations
10 errors and 3 warnings
neuralprophet/__init__.py#L15
"utilities" is not a known attribute of module "pytorch_lightning" (reportAttributeAccessIssue)
|
neuralprophet/configure.py#L308
Operator "<" not supported for "None" (reportOptionalOperand)
|
neuralprophet/configure.py#L357
No overloads for "__init__" match the provided arguments (reportCallIssue)
|
neuralprophet/configure.py#L358
Argument of type "dict[str, Season]" cannot be assigned to parameter "iterable" of type "Iterable[list[bytes]]" in function "__init__" (reportArgumentType)
|
neuralprophet/configure.py#L363
Argument of type "SeasonGlobalLocalMode | Literal['auto']" cannot be assigned to parameter "global_local" of type "SeasonGlobalLocalMode" in function "__init__" (reportArgumentType)
|
neuralprophet/configure.py#L374
Argument of type "SeasonGlobalLocalMode | Literal['auto']" cannot be assigned to parameter "global_local" of type "SeasonGlobalLocalMode" in function "__init__" (reportArgumentType)
|
neuralprophet/configure.py#L385
Argument of type "SeasonGlobalLocalMode | Literal['auto']" cannot be assigned to parameter "global_local" of type "SeasonGlobalLocalMode" in function "__init__" (reportArgumentType)
|
neuralprophet/configure.py#L393
Operator ">=" not supported for "None" (reportOptionalOperand)
|
neuralprophet/configure.py#L411
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)
|
neuralprophet/configure.py#L487
Cannot assign to attribute "regressors" for class "ConfigFutureRegressors*"
"None" is incompatible with "OrderedDict[Unknown, Unknown]" (reportAttributeAccessIssue)
|
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/.
|
neuralprophet/forecaster.py#L1111
Expression value is unused (reportUnusedExpression)
|
neuralprophet/uncertainty.py#L287
Expression value is unused (reportUnusedExpression)
|
This job failed
Loading