feat(main.py): Add events endpoint #2224
Annotations
4 errors and 11 warnings
Lint:
api/main.py#L37
Unable to import 'kernelci.api.models'
|
check (3.11)
Process completed with exit code 1.
|
check (3.10)
The job was canceled because "_3_11" failed.
|
check (3.10)
The operation was canceled.
|
Lint:
api/main.py#L561
Trailing whitespace
|
Lint:
api/main.py#L1
Too many lines in module (1104/1000)
|
Lint:
api/main.py#L59
standard import "import traceback" should be placed before "from fastapi import Depends, FastAPI, HTTPException, status, Request, Form, Header, Query, Body"
|
Lint:
api/main.py#L185
too many blank lines (3)
|
Lint:
api/main.py#L561
blank line contains whitespace
|
Lint:
api/main.py#L564
too many blank lines (3)
|
Lint:
api/main.py#L566
expected 2 blank lines, found 3
|
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/
|
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/
|