api: upgrade python packages #2161
Annotations
6 errors and 14 warnings
Lint:
api/db.py#L13
Unable to import 'kernelci.api.models'
|
Lint:
api/main.py#L34
Unable to import 'kernelci.api.models'
|
Lint:
api/models.py#L32
Unable to import 'kernelci.api.models_base'
|
Lint:
api/models.py#L120
Inheriting 'schemas.BaseUser[PydanticObjectId]', which is not a class.
|
Lint:
tests/e2e_tests/conftest.py#L14
Unable to import 'kernelci.api.models'
|
Lint:
tests/unit_tests/test_node_handler.py#L16
Unable to import 'kernelci.api.models'
|
Lint:
api/models.py#L91
Method could be a function
|
Lint:
api/models.py#L126
Method could be a function
|
Lint:
api/models.py#L149
Method could be a function
|
Lint:
api/models.py#L164
Method could be a function
|
Lint:
tests/e2e_tests/conftest.py#L14
third party import "from kernelci.api.models import Node, Regression" should be placed before "from api.main import versioned_app"
|
Lint:
tests/unit_tests/test_node_handler.py#L16
third party import "from kernelci.api.models import Node, Revision" should be placed before "from tests.unit_tests.conftest import BEARER_TOKEN"
|
Lint:
tests/unit_tests/test_token_handler.py#L1
Similar lines in 2 files
|
Lint:
tests/unit_tests/test_token_handler.py#L1
Similar lines in 2 files
|
Lint:
tests/e2e_tests/test_pipeline.py#L18
line too long (82 > 79 characters)
|
Lint:
tests/e2e_tests/test_pipeline.py#L41
line too long (102 > 79 characters)
|
check (3.11)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
check (3.11)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. 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 uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
check (3.10)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|