{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "grep -A5 \"Ruff - Linting\" \/opt\/scripts\/python-check.sh",
"description": "Check how ruff is invoked"
}
}
{
"tool_response": {
"stdout": "echo -e \"${YELLOW}[1\/3] Ruff - Linting${NC}\"\nif $RUFF check \"$PIPELINE_DIR\" --config \"$CONFIG\" --exclude \"venv\" 2>&1; then\n echo -e \"${GREEN}✓ Ruff: No linting errors${NC}\"\nelse\n echo -e \"${RED}✗ Ruff: Linting errors found${NC}\"\n ERRORS=$((ERRORS + 1))",
"stderr": "",
"interrupted": false,
"isImage": false
}
}