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>
This commit is contained in:
OK
2025-08-08 19:07:14 +02:00
parent fb39aef577
commit fbec05dfe9
16 changed files with 916 additions and 327 deletions
+15 -3
View File
@@ -1,6 +1,18 @@
[flake8]
exclude = .git,__pycache__,.venv
per-file-ignores = __init__.py:F401, tests/test_ai.py:E501
max-line-length = 140
max-complexity = 10
select = B,C,E,F,W,T4,B9
ignore =
E203,
E266,
E501,
W503,
E306,
exclude =
.git,
.mypy_cache,
.pytest_cache,
__pycache__,
build,
dist,
venv,
per-file-ignores = __init__.py:F401