{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "head -20 \/opt\/scripts\/pipeline\/pyproject.toml 2>\/dev\/null || head -20 \/opt\/scripts\/pipeline\/ruff.toml 2>\/dev\/null || echo \"No ruff config found\"",
"description": "Check ruff config"
}
}
{
"tool_response": {
"stdout": "# Ruff Configuration for KI-Pipeline\n# https:\/\/docs.astral.sh\/ruff\/configuration\/\n\n# Target Python 3.13\ntarget-version = \"py313\"\n\n# Exclude virtual environment\nexclude = [\"venv\", \"__pycache__\"]\n\n# Line length\nline-length = 120\n\n[lint]\n# Enable recommended rules\n# Contract: python-pipeline-contract_v1.0.yaml\nselect = [\n \"E\", # pycodestyle errors\n \"W\", # pycodestyle warnings\n \"F\", # Pyflakes\n \"I\", # isort",
"stderr": "",
"interrupted": false,
"isImage": false
}
}