From cabd73287a75982c6862af623c1e7beaf780096c Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Thu, 28 May 2026 12:43:08 -0400 Subject: [PATCH] =?UTF-8?q?fix(lint):=20S1=20ruff=20fallout=20=E2=80=94=20?= =?UTF-8?q?collapse=20double=20blank=20after=20import=20block=20(I001)=20+?= =?UTF-8?q?=20strip=20W293=20in=20test=5Fsuggestions=5Fbulk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removing the create_app import left 2 blank lines before pytestmark in 9 files where ruff isort wants 1. Also stripped two pre-existing whitespace-only blank lines surfaced by the file change. Co-Authored-By: Claude Opus 4.7 (1M context) --- tests/test_api_artists_create.py | 1 - tests/test_api_bulk_tags.py | 1 - tests/test_api_platforms.py | 1 - tests/test_api_series.py | 1 - tests/test_api_settings.py | 1 - tests/test_api_settings_downloader.py | 1 - tests/test_api_tag_merge.py | 1 - tests/test_api_tags.py | 1 - tests/test_extension_cors.py | 1 - tests/test_suggestions_bulk.py | 4 ++-- 10 files changed, 2 insertions(+), 11 deletions(-) diff --git a/tests/test_api_artists_create.py b/tests/test_api_artists_create.py index 64fcb6e..5e44b16 100644 --- a/tests/test_api_artists_create.py +++ b/tests/test_api_artists_create.py @@ -1,6 +1,5 @@ import pytest - pytestmark = pytest.mark.integration diff --git a/tests/test_api_bulk_tags.py b/tests/test_api_bulk_tags.py index 91e4a17..5c3c6c7 100644 --- a/tests/test_api_bulk_tags.py +++ b/tests/test_api_bulk_tags.py @@ -1,6 +1,5 @@ import pytest - pytestmark = pytest.mark.integration diff --git a/tests/test_api_platforms.py b/tests/test_api_platforms.py index 6bf0d82..1c76b90 100644 --- a/tests/test_api_platforms.py +++ b/tests/test_api_platforms.py @@ -2,7 +2,6 @@ import re import pytest - pytestmark = pytest.mark.integration diff --git a/tests/test_api_series.py b/tests/test_api_series.py index 5a7e020..0ac39fa 100644 --- a/tests/test_api_series.py +++ b/tests/test_api_series.py @@ -1,6 +1,5 @@ import pytest - pytestmark = pytest.mark.integration diff --git a/tests/test_api_settings.py b/tests/test_api_settings.py index 3fb9aa2..8067c19 100644 --- a/tests/test_api_settings.py +++ b/tests/test_api_settings.py @@ -1,6 +1,5 @@ import pytest - pytestmark = pytest.mark.integration diff --git a/tests/test_api_settings_downloader.py b/tests/test_api_settings_downloader.py index 6556d76..4a1235c 100644 --- a/tests/test_api_settings_downloader.py +++ b/tests/test_api_settings_downloader.py @@ -1,6 +1,5 @@ import pytest - pytestmark = pytest.mark.integration diff --git a/tests/test_api_tag_merge.py b/tests/test_api_tag_merge.py index 656e319..b731e6b 100644 --- a/tests/test_api_tag_merge.py +++ b/tests/test_api_tag_merge.py @@ -1,6 +1,5 @@ import pytest - pytestmark = pytest.mark.integration diff --git a/tests/test_api_tags.py b/tests/test_api_tags.py index bce749b..c4ead6e 100644 --- a/tests/test_api_tags.py +++ b/tests/test_api_tags.py @@ -1,6 +1,5 @@ import pytest - pytestmark = pytest.mark.integration diff --git a/tests/test_extension_cors.py b/tests/test_extension_cors.py index 9729793..ec61be3 100644 --- a/tests/test_extension_cors.py +++ b/tests/test_extension_cors.py @@ -13,7 +13,6 @@ requests (no Origin header, or a regular https:// Origin) get nothing import pytest - pytestmark = pytest.mark.integration diff --git a/tests/test_suggestions_bulk.py b/tests/test_suggestions_bulk.py index f3e0a78..1bfe40d 100644 --- a/tests/test_suggestions_bulk.py +++ b/tests/test_suggestions_bulk.py @@ -87,7 +87,7 @@ async def test_consensus_threshold_clamped_and_empty_for_no_ids(db): @pytest.mark.asyncio async def test_bulk_suggestions_route(db): - + tags = TagService(db) await tags.find_or_create("sword", TagKind.general) a = _img("i" * 64, {"sword": {"category": "general", "confidence": 0.97}}) @@ -107,7 +107,7 @@ async def test_bulk_suggestions_route(db): @pytest.mark.asyncio async def test_bulk_suggestions_requires_ids(db): - + app = create_app() async with app.test_client() as c: resp = await c.post("/api/suggestions/bulk", json={})