Skip to content

wip

wip #739

Triggered via push October 24, 2024 14:35
Status Failure
Total duration 47s
Artifacts 1

ci.yml

on: push
Matrix: ci / pytest
Fit to window
Zoom out
Zoom in

Annotations

14 errors
Ruff (TID252): questionpy_common/api/qtype.py#L11
questionpy_common/api/qtype.py:11:1: TID252 Prefer absolute imports over relative imports from parent modules
Ruff (N818): questionpy_common/error.py#L7
questionpy_common/error.py:7:7: N818 Exception name `QpyBaseException` should be named with an Error suffix
Ruff (D417): questionpy_common/error.py#L8
questionpy_common/error.py:8:9: D417 Missing argument description in the docstring for `__init__`: `*args`
Ruff (E501): questionpy_common/error.py#L9
questionpy_common/error.py:9:121: E501 Line too long (121 > 120)
Ruff (TCH001): questionpy_server/web/_middlewares.py#L11
questionpy_server/web/_middlewares.py:11:37: TCH001 Move application import `questionpy_common.error.QpyBaseException` into a type-checking block
Ruff (D417): questionpy_server/web/_middlewares.py#L19
questionpy_server/web/_middlewares.py:19:11: D417 Missing argument descriptions in the docstring for `error_middleware`: `handler`, `request`
Ruff (D414): questionpy_server/web/_middlewares.py#L26
questionpy_server/web/_middlewares.py:26:5: D414 Section has no content ("Returns")
Ruff (EM101): questionpy_server/web/_routes/_packages.py#L82
questionpy_server/web/_routes/_packages.py:82:32: EM101 Exception must not use a string literal, assign to variable first
Ruff (PLC0415): questionpy_server/web/app.py#L22
questionpy_server/web/app.py:22:9: PLC0415 `import` should be at the top-level of a file
Ruff (RSE102): questionpy_server/worker/impl/_base.py#L134
questionpy_server/worker/impl/_base.py:134:40: RSE102 Unnecessary parentheses on raised exception
ci / ruff-format
Process completed with exit code 1.
ci / mypy
Process completed with exit code 1.
ci / pytest (3.11)
Process completed with exit code 1.
ci / pytest (3.12)
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
build
124 KB