feat(main.py): Add events endpoint #2210
Annotations
5 errors and 11 warnings
Lint:
api/main.py#L36
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.
|
check (3.10)
Process completed with exit code 127.
|
Lint:
api/main.py#L551
Trailing whitespace
|
Lint:
api/main.py#L1
Too many lines in module (1094/1000)
|
Lint:
api/main.py#L58
standard import "import traceback" should be placed before "from fastapi import Depends, FastAPI, HTTPException, status, Request, Form, Header, Query, Body"
|
Lint:
api/main.py#L184
too many blank lines (3)
|
Lint:
api/main.py#L551
blank line contains whitespace
|
Lint:
api/main.py#L554
too many blank lines (3)
|
Lint:
api/main.py#L556
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/
|