From 831d2810051010be4a94672377e95c453c6f3544 Mon Sep 17 00:00:00 2001 From: Kenneth Enevoldsen Date: Thu, 7 Dec 2023 08:29:25 +0100 Subject: [PATCH] fix: ignore static type error --- src/dacy/score/score.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dacy/score/score.py b/src/dacy/score/score.py index 634de5cb..cfa3e320 100644 --- a/src/dacy/score/score.py +++ b/src/dacy/score/score.py @@ -157,7 +157,7 @@ def __score(augmenter): # noqa: ANN001 for fn in score_fn: if isinstance(fn, str): fn = def_scorers[fn] # noqa - scores.update(fn(examples)) + scores.update(fn(examples)) # type: ignore scores = flatten_dict(scores) scores_ls.append(scores)