Skip to content

Commit 94f3053

Browse files
cfsmp3claude
andcommitted
fix: Add missing return statement in mark_test_failed
Fixes mypy error: Missing return statement [return] 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent f3d1c3b commit 94f3053

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mod_ci/controllers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,8 @@ def mark_test_failed(db, test, repository, message: str) -> bool:
541541
log.critical(f"Test {test.id}: BOTH database and GitHub updates failed - "
542542
f"test is in inconsistent state!")
543543

544+
return db_success and github_success
545+
544546

545547
def _diagnose_missing_artifact(repository, commit_sha: str, platform, log) -> str:
546548
"""

0 commit comments

Comments
 (0)