{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": ".\/venv\/bin\/ruff check src 2>&1 | tail -15",
"description": "Show ruff error"
}
}
{
"tool_response": {
"stdout": "TC002 Move third-party import `spacy.language.Language` into a type-checking block\n --> src\/infrastructure\/parsers\/spacy_tokenizer.py:9:28\n |\n 8 | import spacy # type: ignore[import-not-found]\n 9 | from spacy.language import Language # type: ignore[import-not-found]\n | ^^^^^^^^\n10 |\n11 | from src.domain.ports.tokenizer_port import TokenizerPort\n |\nhelp: Move into type-checking block\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
}
}