{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/opt\/scripts\/python-check.sh 2>&1 | grep -E \"(✓|✗|error)\"",
"timeout": 60000,
"description": "Quick Python check"
}
}
{
"tool_response": {
"stdout": "Found 1 error.\n\u001b[0;31m✗ Ruff: Linting errors found\u001b[0m\n\u001b[0;32m✓ Ruff: Formatting OK\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",
"stderr": "",
"interrupted": false,
"isImage": false
}
}