{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/opt\/scripts\/python-check.sh 2>&1 | head -40",
"description": "Verify Python checks pass"
}
}
{
"tool_response": {
"stdout": "=== Python Quality Check: Mon Dec 22 02:52:26 PM CET 2025 ===\nDirectory: \/opt\/scripts\/pipeline\n\n\u001b[1;33m[1\/3] Ruff - Linting\u001b[0m\nAll checks passed!\n\u001b[0;32m✓ Ruff: No linting errors\u001b[0m\n\n\u001b[1;33m[2\/3] Ruff - Format Check\u001b[0m\nWould reformat: \/opt\/scripts\/pipeline\/vision.py\n1 file would be reformatted, 16 files already formatted\n\u001b[0;31m✗ Ruff: Formatting issues found (run with --fix to auto-format)\u001b[0m\n\n\u001b[1;33m[3\/3] mypy - Type Checking\u001b[0m\n\/opt\/scripts\/pipeline\/chunk.py:8: error: Module \"config\" has no attribute \"CHUNK_OVERLAP_PERCENT\" [attr-defined]\n\/opt\/scripts\/pipeline\/chunk.py:8: error: Module \"config\" has no attribute \"MAX_CHUNK_SIZE\" [attr-defined]\n\/opt\/scripts\/pipeline\/chunk.py:8: error: Module \"config\" has no attribute \"MIN_CHUNK_SIZE\" [attr-defined]\n\/opt\/scripts\/pipeline\/detect.py:10: error: Module \"config\" has no attribute \"NEXTCLOUD_PATH\" [attr-defined]\n\/opt\/scripts\/pipeline\/detect.py:10: error: Module \"config\" has no attribute \"SUPPORTED_EXTENSIONS\" [attr-defined]\n\/opt\/scripts\/pipeline\/pipeline.py:22: error: Module \"config\" has no attribute \"MAX_RETRIES\" [attr-defined]\n\/opt\/scripts\/pipeline\/pipeline.py:22: error: Module \"config\" has no attribute \"RETRY_BACKOFF_BASE\" [attr-defined]\n\/opt\/scripts\/pipeline\/db.py:8: error: Module \"config\" has no attribute \"DB_CONFIG\" [attr-defined]\n\/opt\/scripts\/pipeline\/semantic_chunk_analyzer.py:29: error: Module \"config\" has no attribute \"OLLAMA_HOST\" [attr-defined]\n\/opt\/scripts\/pipeline\/embed.py:11: error: Module \"config\" has no attribute \"EMBEDDING_DIMENSION\" [attr-defined]\n\/opt\/scripts\/pipeline\/embed.py:11: error: Module \"config\" has no attribute \"EMBEDDING_MODEL\" [attr-defined]\n\/opt\/scripts\/pipeline\/embed.py:11: error: Module \"config\" has no attribute \"OLLAMA_HOST\" [attr-defined]\n\/opt\/scripts\/pipeline\/embed.py:11: error: Module \"config\" has no attribute \"QDRANT_HOST\" [attr-defined]\n\/opt\/scripts\/pipeline\/embed.py:11: error: Module \"config\" has no attribute \"QDRANT_PORT\" [attr-defined]\n\/opt\/scripts\/pipeline\/extract.py:9: error: Module \"config\" has no attribute \"OCR_ENABLED\" [attr-defined]\n\/opt\/scripts\/pipeline\/extract.py:9: error: Module \"config\" has no attribute \"OCR_LANGUAGE\" [attr-defined]\n\/opt\/scripts\/pipeline\/generate.py:12: error: Module \"config\" has no attribute \"ANTHROPIC_API_KEY\" [attr-defined]\n\/opt\/scripts\/pipeline\/generate.py:12: error: Module \"config\" has no attribute \"ANTHROPIC_MODEL\" [attr-defined]\n\/opt\/scripts\/pipeline\/generate.py:12: error: Module \"config\" has no attribute \"OLLAMA_CHAT_MODEL\" [attr-defined]\n\/opt\/scripts\/pipeline\/generate.py:12: error: Module \"config\" has no attribute \"OLLAMA_HOST\" [attr-defined]\n\u001b[0;32m✓ mypy: Type check complete\u001b[0m\n\n=== Summary ===\n\u001b[0;31m1 check(s) failed\u001b[0m",
"stderr": "",
"interrupted": false,
"isImage": false
}
}