{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": ".\/venv\/bin\/python scripts\/max_loc_linter.py src scripts 2>&1 | tail -10 && echo \"--- RUFF ---\" && .\/venv\/bin\/ruff check src tests scripts && .\/venv\/bin\/ruff format --check src tests scripts 2>&1 | tail -3 && echo \"--- MYPY ---\" && .\/venv\/bin\/mypy src 2>&1 | tail -3 && echo \"--- IMPORT-LINTER ---\" && .\/venv\/bin\/lint-imports 2>&1 | tail -5 && echo \"--- PYTEST ---\" && .\/venv\/bin\/pytest tests\/unit -q 2>&1 | tail -5",
"description": "Run all quality gates"
}
}
{
"tool_response": {
"stdout": "--- RUFF ---\nAll checks passed!\n84 files already formatted\n--- MYPY ---\nSuccess: no issues found in 61 source files\n--- IMPORT-LINTER ---\nHexagonal dependency direction KEPT\nInfrastructure may import domain and application, not interfaces KEPT\nDomain must not import third-party business libs KEPT\n\nContracts: 3 kept, 0 broken.\n--- PYTEST ---\n............................................. [100%]",
"stderr": "",
"interrupted": false,
"isImage": false,
"noOutputExpected": false
}
}