Skip to content

Commit b817134

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6b159c9 commit b817134

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eval/inspect_ai/scicode.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,9 @@ def run_script(script_path):
245245
subprocess.run(['python', script_path], check=True, capture_output=True,
246246
text=True, timeout=1800)
247247
return 0
248-
except subprocess.CalledProcessError as e:
248+
except subprocess.CalledProcessError:
249249
return 1
250-
except subprocess.TimeoutExpired as e:
250+
except subprocess.TimeoutExpired:
251251
return 2
252252

253253
total_steps = len(sub_steps)

0 commit comments

Comments
 (0)