Skip to content

api.models: make Fields of KbuildData Optional #7661

api.models: make Fields of KbuildData Optional

api.models: make Fields of KbuildData Optional #7661

Triggered via pull request January 19, 2024 14:33
Status Failure
Total duration 54s
Artifacts

main.yml

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

Annotations

7 errors and 2 warnings
check (3.11)
Process completed with exit code 2.
check (3.8)
The job was canceled because "_3_11" failed.
check (3.8)
Process completed with exit code 2.
Lint: kernelci/api/models.py#L296
Incompatible types in assignment (expression has type "CheckoutData", base class "Node" defined the type as "Optional[Dict[str, Any]]") [assignment]
Lint: kernelci/api/models.py#L334
Incompatible types in assignment (expression has type "KbuildData", base class "Node" defined the type as "Optional[Dict[str, Any]]") [assignment]
Lint: kernelci/api/models.py#L366
Incompatible types in assignment (expression has type "TestData", base class "Node" defined the type as "Optional[Dict[str, Any]]") [assignment]
Lint: kernelci/api/models.py#L393
Incompatible types in assignment (expression has type "RegressionData", base class "Node" defined the type as "Optional[Dict[str, Any]]") [assignment]
Lint: kernelci/api/models.py#L307
TODO: review which of these Fields should be optional or mandatory
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/