fix(models.py): Add default value to model #10233
Annotations
5 errors and 7 warnings
Lint:
kernelci/api/models.py#L413
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#L488
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#L578
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#L595
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#L677
Incompatible types in assignment (expression has type "RegressionData", base class "Node" defined the type as "Optional[Dict[str, Any]]") [assignment]
|
check (3.11)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. 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 use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Lint:
kernelci/api/models.py#L268
Method could be a function
|
Lint:
kernelci/api/models.py#L792
Method could be a function
|
Lint:
kernelci/api/models.py#L731
missing whitespace after ','
|
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/
|