api: upgrade python packages #2156
Annotations
3 errors and 8 warnings
api/main.py#L34
Unable to import 'kernelci.api.models'
|
api/models.py#L33
Unable to import 'kernelci.api.models_base'
|
api/models.py#L121
Inheriting 'schemas.BaseUser[PydanticObjectId]', which is not a class.
|
api/main.py#L58
Redefining name 'app' from outer scope (line 117)
|
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"
|
api/models.py#L92
Method could be a function
|
api/models.py#L127
Method could be a function
|
api/models.py#L150
Method could be a function
|
api/models.py#L165
Method could be a function
|
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/
|
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/
|
This job succeeded
Loading