{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": ".\/venv\/bin\/ruff check src tests scripts 2>&1 | tail -30",
"description": "Ruff lint across src\/tests\/scripts"
}
}
{
"tool_response": {
"stdout": "PT011 `pytest.raises(ValueError)` is too broad, set the `match` parameter or use a more specific exception\n --> tests\/unit\/domain\/test_link_entity.py:26:24\n |\n25 | def test_link_cannot_be_both_internal_and_external() -> None:\n26 | with pytest.raises(ValueError):\n | ^^^^^^^^^^\n27 | _link(is_internal=True, is_external=True)\n |\n\nPT011 `pytest.raises(ValueError)` is too broad, set the `match` parameter or use a more specific exception\n --> tests\/unit\/domain\/test_link_entity.py:31:24\n |\n30 | def test_link_cannot_be_neither() -> None:\n31 | with pytest.raises(ValueError):\n | ^^^^^^^^^^\n32 | _link(is_internal=False, is_external=False)\n |\n\nEXE002 The file is executable but no shebang is present\n--> tests\/unit\/domain\/test_meta_robots.py:1:1\n\nEXE002 The file is executable but no shebang is present\n--> tests\/unit\/domain\/test_normalized_url.py:1:1\n\nEXE002 The file is executable but no shebang is present\n--> tests\/unit\/domain\/test_quality_flag_calculator.py:1:1\n\nFound 176 errors.\n[*] 20 fixable with the `--fix` option (55 hidden fixes can be enabled with the `--unsafe-fixes` option).",
"stderr": "",
"interrupted": false,
"isImage": false,
"noOutputExpected": false
}
}