From 531ab6243e4dae80dfc2c268912d2a95b1e0c70a Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Thu, 14 May 2026 15:34:46 -0400 Subject: [PATCH] fix(fc2a): move pytestmark below imports in test_importer.py (E402) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Misplaced the integration marker between import groups in the previous commit — I only read the top 12 lines so I missed the 3 more imports below. ruff flagged it correctly as E402. Co-Authored-By: Claude Opus 4.7 (1M context) --- tests/test_importer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_importer.py b/tests/test_importer.py index 6d1acc9..63f57cf 100644 --- a/tests/test_importer.py +++ b/tests/test_importer.py @@ -11,12 +11,12 @@ import pytest from PIL import Image from sqlalchemy import select -pytestmark = pytest.mark.integration - from backend.app.models import Artist, ImageRecord, ImportSettings, Tag, TagKind from backend.app.services.importer import Importer, SkipReason from backend.app.services.thumbnailer import Thumbnailer +pytestmark = pytest.mark.integration + @pytest.fixture def import_layout(tmp_path):