fix(types): P1 — remove 2 stale type: ignore[no-untyped-def] in clustering adapters

This commit is contained in:
2026-05-01 00:22:33 -04:00
parent 5a240a3d55
commit 9cf7bc5aab
2 changed files with 2 additions and 2 deletions

View File

@@ -342,7 +342,7 @@ def combined_campaign_weight(
# ─── Adapter for synthetic-fixture tests ────────────────────────────────────
def from_synthetic_identity(att, identity_uuid: Optional[str] = None) -> IdentityFeatures: # type: ignore[no-untyped-def]
def from_synthetic_identity(att, identity_uuid: Optional[str] = None) -> IdentityFeatures:
"""Build an :class:`IdentityFeatures` from a ``SyntheticAttacker``.
Treats one ``SyntheticAttacker`` as one identity — adequate for

View File

@@ -265,7 +265,7 @@ def combined_edge_weight(a: Observation, b: Observation) -> float:
# ─── Adapter for the synthetic-corpus tests ─────────────────────────────────
def from_synthetic(att) -> Observation: # type: ignore[no-untyped-def]
def from_synthetic(att) -> Observation:
"""Build an :class:`Observation` from a ``SyntheticAttacker``.
Lives here so test code doesn't import the factory shape into the