Skip to content

Commit

Permalink
fix: ignore static type error
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethEnevoldsen committed Dec 7, 2023
1 parent 76abfdd commit 831d281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dacy/score/score.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 831d281

Please sign in to comment.