style: group tests._prediction_helpers import with backend (ruff I001)
CI / lint (push) Successful in 2s
CI / frontend-build (push) Successful in 20s
CI / backend-lint-and-test (push) Successful in 28s
CI / integration (push) Successful in 3m8s

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-10 16:10:06 -04:00
parent 22cdf0f334
commit 0319812b45
-2
View File
@@ -63,7 +63,6 @@ async def test_apply_allowlist_applies_above_threshold(db):
from backend.app.models.tag import image_tag from backend.app.models.tag import image_tag
from backend.app.services.tag_service import TagService from backend.app.services.tag_service import TagService
from backend.app.tasks import ml as ml_tasks from backend.app.tasks import ml as ml_tasks
from tests._prediction_helpers import seed_predictions from tests._prediction_helpers import seed_predictions
tag = await TagService(db).find_or_create("autohero", TagKind.character) tag = await TagService(db).find_or_create("autohero", TagKind.character)
@@ -101,7 +100,6 @@ async def test_apply_allowlist_skips_below_threshold(db):
from backend.app.models.tag import image_tag from backend.app.models.tag import image_tag
from backend.app.services.tag_service import TagService from backend.app.services.tag_service import TagService
from backend.app.tasks import ml as ml_tasks from backend.app.tasks import ml as ml_tasks
from tests._prediction_helpers import seed_predictions from tests._prediction_helpers import seed_predictions
tag = await TagService(db).find_or_create("lowconf", TagKind.character) tag = await TagService(db).find_or_create("lowconf", TagKind.character)