Skip to content

Commit e53e94a

Browse files
GeneAIclaude
authored andcommitted
fix: Add type annotation to scan_summary in test_gen.py
Fixes mypy type error for mixed-type dictionary values. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent b2fba79 commit e53e94a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/empathy_os/workflows/test_gen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ async def _identify(self, input_data: dict, tier: ModelTier) -> tuple[dict, int,
494494
existing_test_files = 0
495495

496496
# Track scan summary for debugging/visibility
497-
scan_summary = {
497+
scan_summary: dict[str, int | str | None] = {
498498
"files_scanned": 0,
499499
"files_too_large": 0,
500500
"files_read_error": 0,

0 commit comments

Comments
 (0)