ci: align backend lint checks
Some checks failed
CI / Backend (lint + tests + compose) (push) Has been cancelled
CI / Frontend (lint + type-check + build) (push) Has been cancelled

This commit is contained in:
Vadim Malanov
2026-06-14 20:14:49 +03:00
parent dba0484f5a
commit 2e76554188
14 changed files with 22 additions and 20 deletions

View File

@@ -13,7 +13,6 @@ Postgres / MinIO / OpenSearch / Qdrant / Redis. Verifies:
from __future__ import annotations
import pytest
from fastapi.testclient import TestClient
from app.api.schemas import ComponentHealth

View File

@@ -5,10 +5,8 @@ from __future__ import annotations
import importlib
import pytest
from fastapi.testclient import TestClient
KEY = "test-secret-key-DO-NOT-USE-IN-PROD"
@@ -82,9 +80,9 @@ def test_protected_route_rejects_missing_key(secured_app, monkeypatch):
def test_protected_route_accepts_x_api_key_header(secured_app, monkeypatch):
from app.api.schemas import SearchResponse
from app.config import settings
from app.indexing import hybrid_search
from app.api.schemas import SearchResponse
monkeypatch.setattr(
hybrid_search,
@@ -114,9 +112,9 @@ def test_protected_route_accepts_x_api_key_header(secured_app, monkeypatch):
def test_protected_route_accepts_bearer_token(secured_app, monkeypatch):
from app.api.schemas import SearchResponse
from app.config import settings
from app.indexing import hybrid_search
from app.api.schemas import SearchResponse
monkeypatch.setattr(
hybrid_search,

View File

@@ -10,7 +10,6 @@ from __future__ import annotations
import uuid
import pytest
from fastapi.testclient import TestClient
from app.api.schemas import (