Skip to content

Configuring github format for ruff #25

Configuring github format for ruff

Configuring github format for ruff #25

Triggered via push December 6, 2024 09:18
Status Failure
Total duration 16s
Artifacts

ci.yml

on: push
API tests
6s
API tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Ruff (E402): source/app/__init__.py#L142
source/app/__init__.py:142:1: E402 Module level import not at top of file
Ruff (F401): source/app/__init__.py#L142
source/app/__init__.py:142:17: F401 `app.views` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
Ruff (F841): source/app/alembic/alembic_utils.py#L17
source/app/alembic/alembic_utils.py:17:25: F841 Local variable `e` is assigned to but never used
Ruff (E402): source/app/alembic/env.py#L14
source/app/alembic/env.py:14:1: E402 Module level import not at top of file
Ruff (E402): source/app/alembic/env.py#L17
source/app/alembic/env.py:17:1: E402 Module level import not at top of file
Ruff (F401): source/app/alembic/versions/35c095f8be2b_case_templates_note_groups_to_.py#L9
source/app/alembic/versions/35c095f8be2b_case_templates_note_groups_to_.py:9:22: F401 `sqlalchemy` imported but unused
Ruff (F541): source/app/alembic/versions/3715d4fac4de_add_link_between_case_and_ioc.py#L33
source/app/alembic/versions/3715d4fac4de_add_link_between_case_and_ioc.py:33:33: F541 f-string without any placeholders
Ruff (F401): source/app/alembic/versions/3a4d4f15bd69_rename_opened_to_open.py#L9
source/app/alembic/versions/3a4d4f15bd69_rename_opened_to_open.py:9:22: F401 `sqlalchemy` imported but unused
Ruff (E712): source/app/alembic/versions/4ecdfcb34f7c_add_compromise_status_to_assets.py#L39
source/app/alembic/versions/4ecdfcb34f7c_add_compromise_status_to_assets.py:39:17: E712 Avoid equality comparisons to `True`; use `if t_assets.c.asset_compromised:` for truth checks
Ruff (E712): source/app/alembic/versions/4ecdfcb34f7c_add_compromise_status_to_assets.py#L43
source/app/alembic/versions/4ecdfcb34f7c_add_compromise_status_to_assets.py:43:17: E712 Avoid equality comparisons to `False`; use `if not t_assets.c.asset_compromised:` for false checks
API tests
No files were found with the provided path: e2e/playwright-report/. No artifacts will be uploaded.