fix(lint): S1 ruff fallout — collapse double blank after import block (I001) + strip W293 in test_suggestions_bulk

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) <noreply@anthropic.com>
This commit is contained in:
2026-05-28 12:43:08 -04:00
parent def967a1a8
commit cabd73287a
10 changed files with 2 additions and 11 deletions
-1
View File
@@ -1,6 +1,5 @@
import pytest
pytestmark = pytest.mark.integration
-1
View File
@@ -1,6 +1,5 @@
import pytest
pytestmark = pytest.mark.integration
-1
View File
@@ -2,7 +2,6 @@ import re
import pytest
pytestmark = pytest.mark.integration
-1
View File
@@ -1,6 +1,5 @@
import pytest
pytestmark = pytest.mark.integration
-1
View File
@@ -1,6 +1,5 @@
import pytest
pytestmark = pytest.mark.integration
-1
View File
@@ -1,6 +1,5 @@
import pytest
pytestmark = pytest.mark.integration
-1
View File
@@ -1,6 +1,5 @@
import pytest
pytestmark = pytest.mark.integration
-1
View File
@@ -1,6 +1,5 @@
import pytest
pytestmark = pytest.mark.integration
-1
View File
@@ -13,7 +13,6 @@ requests (no Origin header, or a regular https:// Origin) get nothing
import pytest
pytestmark = pytest.mark.integration
+2 -2
View File
@@ -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={})