{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": ".\/venv\/bin\/ruff check src tests scripts 2>&1 | tail -10 && .\/venv\/bin\/ruff format src tests scripts 2>&1 | tail -3",
"description": "Ruff final"
}
}
{
"tool_response": {
"stdout": "44 | cur.execute(\"SET FOREIGN_KEY_CHECKS=0\")\n45 | for table in _TRUNCATE_ORDER:\n46 | cur.execute(f\"TRUNCATE TABLE {table}\") # noqa: S608\n | ^^^^^^^^^^^^\n47 | cur.execute(\"SET FOREIGN_KEY_CHECKS=1\")\n |\nhelp: Remove unused `noqa` directive\n\nFound 1 error.\n[*] 1 fixable with the `--fix` option.\n1 file reformatted, 146 files left unchanged",
"stderr": "",
"interrupted": false,
"isImage": false,
"noOutputExpected": false
}
}