Skip to content

Commit 1457b6e

Browse files
Fix pre-commit: satisfy pyright return type and update uv.lock
- Add unreachable assertion after retry loop to satisfy pyright's return-on-all-paths check - Regenerate uv.lock for lmnr>=0.7.41 dependency Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4acfc8c commit 1457b6e

2 files changed

Lines changed: 36 additions & 32 deletions

File tree

benchmarks/utils/evaluation.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,9 +688,13 @@ def _process_one_mp(
688688
if out is not None:
689689
return instance, out
690690

691-
# _execute_single_attempt returns None on failure
691+
# _execute_single_attempt returns None on non-final failure
692692
retry_count += 1
693693
runtime_failure_count += 1
694+
695+
# Unreachable: _execute_single_attempt always returns EvalOutput
696+
# on the final retry, but pyright can't prove the loop exits early.
697+
raise AssertionError("unreachable") # pragma: no cover
694698
finally:
695699
if eval_span is not None:
696700
eval_span.end()

uv.lock

Lines changed: 31 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)