{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": ".\/venv\/bin\/ruff check src tests scripts 2>&1 | grep -B 2 \"\\-\\-> \" | grep -E \"^\\w+\" | sort -u",
"description": "Unique rules triggered"
}
}
{
"tool_response": {
"stdout": "ANN401 Dynamically typed expressions (typing.Any) are disallowed in `connect`\nE501 Line too long (105 > 100)\nPERF401 Use `list.extend` to create a transformed list\nPLC0415 `import` should be at the top-level of a file\nS608 Possible SQL injection vector through string-based query construction\nSIM105 Use `contextlib.suppress(AttributeError, TypeError)` instead of `try`-`except`-`pass`",
"stderr": "",
"interrupted": false,
"isImage": false,
"noOutputExpected": false
}
}