diff --git a/decnet/clustering/campaign/impl/similarity.py b/decnet/clustering/campaign/impl/similarity.py index 2aa5bba8..38101405 100644 --- a/decnet/clustering/campaign/impl/similarity.py +++ b/decnet/clustering/campaign/impl/similarity.py @@ -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 diff --git a/decnet/clustering/impl/similarity.py b/decnet/clustering/impl/similarity.py index 3e69ac37..9122eb69 100644 --- a/decnet/clustering/impl/similarity.py +++ b/decnet/clustering/impl/similarity.py @@ -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