Commit Graph

3 Commits

Author SHA1 Message Date
1a5da0ae7c Add comprehensive test suite to improve coverage and fix igdblib bugs
- Add extensive tests for igdblib.py (0% -> 100% coverage expected)
- Add tests for leonardo_draw.py AI image generation
- Add tests for openai_responder.py with GPT integration
- Add tests for discord_bot.py bot functionality
- Add extended tests for ai_responder.py edge cases
- Fix critical bugs in igdblib.py:
  * Fix platforms() method treating name as string instead of list
  * Fix game_info() method missing endpoint parameter
  * Add safe dictionary access with .get() methods

Coverage improvements target areas with lowest coverage to maximize impact.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-08 19:34:41 +02:00
fbec05dfe9 Fix hanging test and establish comprehensive development environment
- Fix infinite retry loop in ai_responder.py that caused test_fix1 to hang
- Add missing picture_edit parameter to all AIResponse constructor calls
- Set up complete development toolchain with Black, isort, Bandit, and MyPy
- Create comprehensive Makefile for development workflows
- Add pre-commit hooks with formatting, linting, security, and type checking
- Update test mocking to provide contextual responses for different scenarios
- Configure all tools for 140 character line length and strict type checking
- Add DEVELOPMENT.md with setup instructions and workflow documentation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-08 19:07:14 +02:00
0c23da7c9e Changes. 2024-03-16 13:44:46 +01:00