Skip to content

feat(main.py): Implement /nodes/set endpoint #2270

feat(main.py): Implement /nodes/set endpoint

feat(main.py): Implement /nodes/set endpoint #2270

Triggered via pull request December 5, 2024 13:52
Status Failure
Total duration 2m 0s
Artifacts

main.yml

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

Annotations

4 errors and 5 warnings
Lint: api/main.py#L37
Unable to import 'kernelci.api.models'
check (3.10)
Process completed with exit code 24.
check (3.11)
The job was canceled because "_3_10" failed.
check (3.11)
The operation was canceled.
Lint: api/main.py#L717
Too many local variables (16/15)
Lint: api/main.py#L775
Missing class docstring
Lint: api/main.py#L809
Consider merging these comparisons with "in" to "value in ('true', 'True')"
Lint: api/main.py#L811
Consider merging these comparisons with "in" to "value in ('false', 'False')"
Lint: api/main.py#L62
third party import "from pydantic import BaseModel" should be placed before "from .auth import Authentication"