Skip to content

fix call to tight_layout #2649

fix call to tight_layout

fix call to tight_layout #2649

Triggered via pull request November 3, 2024 13:55
Status Failure
Total duration 1m 59s
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#L22
Too few type arguments provided for "Dict"; expected 2 but received 1 (reportInvalidTypeArguments)
pyright: neuralprophet/configure.py#L44
Function with declared return type "int" must return value on all code paths   "None" is not assignable to "int" (reportReturnType)
pyright: neuralprophet/configure_components.py#L85
Operator "<" not supported for "None" (reportOptionalOperand)
pyright: neuralprophet/configure_components.py#L134
No overloads for "__init__" match the provided arguments (reportCallIssue)
pyright: neuralprophet/configure_components.py#L135
Argument of type "dict[str, SingleSeasonality]" cannot be assigned to parameter "iterable" of type "Iterable[list[bytes]]" in function "__init__" (reportArgumentType)
pyright: neuralprophet/configure_components.py#L140
Argument of type "SeasonGlobalLocalMode | Literal['auto']" cannot be assigned to parameter "global_local" of type "SeasonGlobalLocalMode" in function "__init__"   Type "SeasonGlobalLocalMode | Literal['auto']" is not assignable to type "SeasonGlobalLocalMode"     Type "Literal['auto']" is not assignable to type "SeasonGlobalLocalMode"       "Literal['auto']" is not assignable to type "Literal['global']"       "Literal['auto']" is not assignable to type "Literal['local']"       "Literal['auto']" is not assignable to type "Literal['glocal']" (reportArgumentType)
pyright: neuralprophet/configure_components.py#L151
Argument of type "SeasonGlobalLocalMode | Literal['auto']" cannot be assigned to parameter "global_local" of type "SeasonGlobalLocalMode" in function "__init__"   Type "SeasonGlobalLocalMode | Literal['auto']" is not assignable to type "SeasonGlobalLocalMode"     Type "Literal['auto']" is not assignable to type "SeasonGlobalLocalMode"       "Literal['auto']" is not assignable to type "Literal['global']"       "Literal['auto']" is not assignable to type "Literal['local']"       "Literal['auto']" is not assignable to type "Literal['glocal']" (reportArgumentType)
pyright: neuralprophet/configure_components.py#L162
Argument of type "SeasonGlobalLocalMode | Literal['auto']" cannot be assigned to parameter "global_local" of type "SeasonGlobalLocalMode" in function "__init__"   Type "SeasonGlobalLocalMode | Literal['auto']" is not assignable to type "SeasonGlobalLocalMode"     Type "Literal['auto']" is not assignable to type "SeasonGlobalLocalMode"       "Literal['auto']" is not assignable to type "Literal['global']"       "Literal['auto']" is not assignable to type "Literal['local']"       "Literal['auto']" is not assignable to type "Literal['glocal']" (reportArgumentType)
pyright: neuralprophet/configure_components.py#L170
Operator ">=" not supported for "None" (reportOptionalOperand)
ruff
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
flake8
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, liskin/gh-problem-matcher-wrap@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
isort
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, liskin/gh-problem-matcher-wrap@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
black
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
pyright
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, jakebailey/pyright-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
pyright: neuralprophet/uncertainty.py#L287
Expression value is unused (reportUnusedExpression)