feat(main.py): Add events endpoint #2213
Annotations
3 errors and 13 warnings
Lint:
api/main.py#L36
Unable to import 'kernelci.api.models'
|
check (3.10)
Process completed with exit code 1.
|
check (3.11)
Process completed with exit code 1.
|
Lint:
api/main.py#L553
Trailing whitespace
|
Lint:
api/main.py#L1
Too many lines in module (1096/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#L553
blank line contains whitespace
|
Lint:
api/main.py#L556
too many blank lines (3)
|
Lint:
api/main.py#L558
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.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/
|
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/
|