Skip to content

Commit

Permalink
mypy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed Jan 10, 2025
1 parent 455defb commit 2531a71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inspect_ai/_eval/task/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def task_with(
task.config = config
if not isinstance(sandbox, NotGiven):
task.sandbox = resolve_sandbox_environment(sandbox)
if not isinstance(sandbox, NotGiven):
if not isinstance(approval, NotGiven):
task.approval = resolve_approval(approval)
if not isinstance(epochs, NotGiven):
epochs = resolve_epochs(epochs)
Expand Down

0 comments on commit 2531a71

Please sign in to comment.