{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": ".\/venv\/bin\/ruff check src tests scripts 2>&1 | head -20",
"description": "Show remaining single error"
}
}
{
"tool_response": {
"stdout": "UP040 Type alias `StructuredDataTriple` uses `TypeAlias` annotation instead of the `type` keyword\n --> src\/domain\/ports\/structured_data_parser_port.py:9:1\n |\n7 | from src.domain.value_objects.enums import StructuredDataFormat\n8 |\n9 | StructuredDataTriple: TypeAlias = tuple[StructuredDataFormat, str | None, Mapping[str, object]]\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\nhelp: Use the `type` keyword\n\nFound 1 error.\nNo fixes available (1 hidden fix can be enabled with the `--unsafe-fixes` option).",
"stderr": "",
"interrupted": false,
"isImage": false,
"noOutputExpected": false
}
}