Skip to content

Fix pydantic v2 warnings related to UserGroup #2244

Fix pydantic v2 warnings related to UserGroup

Fix pydantic v2 warnings related to UserGroup #2244

Triggered via pull request November 21, 2024 14:05
Status Success
Total duration 3m 8s
Artifacts

main.yml

on: pull_request
Matrix: check
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 12 warnings
Lint: api/main.py#L36
Unable to import 'kernelci.api.models'
Lint: api/models.py#L31
Unable to import 'kernelci.api.models_base'
Lint: api/models.py#L110
Inheriting 'schemas.BaseUser[PydanticObjectId]', which is not a class.
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/
check (3.10)
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.10)
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/
Lint: api/models.py#L90
Method could be a function
Lint: api/models.py#L116
Method could be a function
Lint: api/models.py#L130
Method could be a function
Lint: api/models.py#L144
Method could be a function
Lint: api/models.py#L159
Method could be a function
Lint: api/models.py#L174
Method could be a function
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/