{
"event": "PreToolUse",
"tool_name": "Write",
"tool_input": {
"file_path": "\/opt\/mcp-servers\/mcp-db\/ruff.toml",
"content": "# Ruff configuration for MCP-DB Server\n[lint]\nselect = [\"E\", \"W\", \"F\", \"I\", \"B\", \"C4\", \"UP\", \"SIM\"]\nignore = [\n \"E402\", # module level import not at top (required for MCP path setup)\n \"E501\", # line too long\n]\n\n[format]\nline-length = 120\n"
}
}
{
"tool_response": {
"type": "create",
"filePath": "\/opt\/mcp-servers\/mcp-db\/ruff.toml",
"content": "# Ruff configuration for MCP-DB Server\n[lint]\nselect = [\"E\", \"W\", \"F\", \"I\", \"B\", \"C4\", \"UP\", \"SIM\"]\nignore = [\n \"E402\", # module level import not at top (required for MCP path setup)\n \"E501\", # line too long\n]\n\n[format]\nline-length = 120\n",
"structuredPatch": [],
"originalFile": null
}
}