T40464 Upgrade API to python 3.11 #1979
Annotations
2 errors and 14 warnings
Lint:
api/main.py#L30
Unable to import 'kernelci.api.models'
|
Lint:
tests/e2e_tests/conftest.py#L14
Unable to import 'kernelci.api.models'
|
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/conftest.py#L1
Similar lines in 2 files
|
Lint:
tests/e2e_tests/test_subscribe_handler.py#L14
line too long (80 > 79 characters)
|
Lint:
tests/e2e_tests/test_subscribe_handler.py#L27
line too long (89 > 79 characters)
|
Lint:
tests/e2e_tests/test_subscribe_handler.py#L38
line too long (80 > 79 characters)
|
Lint:
tests/e2e_tests/test_subscribe_handler.py#L51
line too long (89 > 79 characters)
|
Lint:
tests/e2e_tests/test_subscribe_handler.py#L62
line too long (80 > 79 characters)
|
Lint:
tests/e2e_tests/test_subscribe_handler.py#L76
line too long (89 > 79 characters)
|
Lint:
tests/e2e_tests/test_unsubscribe_handler.py#L15
line too long (82 > 79 characters)
|
Lint:
tests/e2e_tests/test_unsubscribe_handler.py#L25
line too long (90 > 79 characters)
|
check (3.10)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|