kernelci.api.models: fix pydantic warnings for url
fields
#10327
Annotations
8 errors and 7 warnings
check (3.11)
Process completed with exit code 2.
|
check (3.10)
The job was canceled because "_3_11" failed.
|
check (3.10)
Process completed with exit code 2.
|
Lint:
kernelci/api/models.py#L417
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#L492
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#L587
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#L604
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#L686
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/
|
Lint:
kernelci/api/models.py#L272
Method could be a function
|
Lint:
kernelci/api/models.py#L801
Method could be a function
|
Lint:
kernelci/api/models.py#L40
expected 2 blank lines, found 1
|
Lint:
kernelci/api/models.py#L740
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/
|