Skip to content

main.py: disable pylint error: "C0302: Too many lines in module" #2240

main.py: disable pylint error: "C0302: Too many lines in module"

main.py: disable pylint error: "C0302: Too many lines in module" #2240

Triggered via pull request November 18, 2024 10:06
Status Failure
Total duration 3m 11s
Artifacts

main.yml

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

Annotations

4 errors and 5 warnings
check (3.10)
Process completed with exit code 1.
check (3.11)
The job was canceled because "_3_10" failed.
check (3.11)
The operation was canceled.
Lint: api/main.py#L36
Unable to import 'kernelci.api.models'
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/
Lint: api/main.py#L7
line too long (81 > 79 characters)
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/