Skip to content

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

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

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

Triggered via pull request December 5, 2024 08:40
Status Failure
Total duration 1m 29s
Artifacts

main.yml

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

Annotations

4 errors and 7 warnings
Lint: api/main.py#L37
Unable to import 'kernelci.api.models'
check (3.10)
Process completed with exit code 1.
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#L774
Missing class docstring
Lint: api/main.py#L807
Consider merging these comparisons with "in" to "value in ('true', 'True')"
Lint: api/main.py#L809
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"
Lint: api/main.py#L774
expected 2 blank lines, found 1
Lint: api/main.py#L779
expected 2 blank lines, found 1