Skip to content

Commit

Permalink
make mypy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh committed Oct 28, 2024
1 parent 78de296 commit 9b5f070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/olmo_eval/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1839,4 +1839,4 @@ def build_task(label: str, tokenizer: Tokenizer) -> ICLMultiChoiceTaskDataset:
task_kwargs = {}
if isinstance(task_class, tuple):
task_class, task_kwargs = task_class
return task_class(tokenizer=tokenizer, **task_kwargs)
return task_class(tokenizer=tokenizer, **task_kwargs) # type: ignore

0 comments on commit 9b5f070

Please sign in to comment.