From 9cf7bc5aab673e91c9fa659cdfb1cb66201d7583 Mon Sep 17 00:00:00 2001 From: anti Date: Fri, 1 May 2026 00:22:33 -0400 Subject: [PATCH] =?UTF-8?q?fix(types):=20P1=20=E2=80=94=20remove=202=20sta?= =?UTF-8?q?le=20type:=20ignore[no-untyped-def]=20in=20clustering=20adapter?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- decnet/clustering/campaign/impl/similarity.py | 2 +- decnet/clustering/impl/similarity.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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