feat(main.py): Implement /nodes/set endpoint #2268
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
|