Skip to content

Improve logging

Improve logging #110

Triggered via pull request July 27, 2024 15:16
Status Failure
Total duration 34s
Artifacts

test.yml

on: pull_request
Test Image
25s
Test Image
Python Lint
13s
Python Lint
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
Ruff (E401): src/functions.py#L6
src/functions.py:6:1: E401 Multiple imports on one line
Ruff (F841): src/functions.py#L14
src/functions.py:14:5: F841 Local variable `current_time` is assigned to but never used
Ruff (F401): src/main.py#L6
src/main.py:6:18: F401 `deta.Deta` imported but unused
Ruff (F401): src/main.py#L7
src/main.py:7:20: F401 `typing.Union` imported but unused
Ruff (F401): src/main.py#L8
src/main.py:8:40: F401 `fastapi.status` imported but unused
Ruff (E401): src/main.py#L10
src/main.py:10:1: E401 Multiple imports on one line
Ruff (F401): src/main.py#L10
src/main.py:10:12: F401 `datetime` imported but unused
Ruff (F401): src/main.py#L10
src/main.py:10:53: F401 `logfmter` imported but unused
Ruff (E711): src/main.py#L68
src/main.py:68:16: E711 Comparison to `None` should be `cond is None`
Python Lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test Image
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/