api: upgrade python packages #2153
Annotations
6 errors and 11 warnings
Lint:
api/main.py#L34
Unable to import 'kernelci.api.models'
|
Lint:
api/models.py#L33
Unable to import 'kernelci.api.models_base'
|
Lint:
api/models.py#L121
Inheriting 'schemas.BaseUser[PydanticObjectId]', which is not a class.
|
check (3.11)
Process completed with exit code 1.
|
check (3.10)
The job was canceled because "_3_11" failed.
|
check (3.10)
The operation was canceled.
|
Lint:
api/main.py#L58
Redefining name 'app' from outer scope (line 117)
|
Lint:
api/main.py#L25
standard import "from contextlib import asynccontextmanager" should be placed before "from fastapi import Depends, FastAPI, HTTPException, status, Request, Form, Header, Query"
|
Lint:
api/models.py#L92
Method could be a function
|
Lint:
api/models.py#L127
Method could be a function
|
Lint:
api/models.py#L150
Method could be a function
|
Lint:
api/models.py#L165
Method could be a function
|
Lint:
api/main.py#L902
expected 2 blank lines, found 1
|
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
check (3.11)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
check (3.11)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|