Install
1
Install the plugin$
npx claudepluginhub thebushidocollective/han --plugin pytestWant just this hook?
Add to a custom plugin, then install with one command.
Risk Indicators
Modifies files
Source
Defined in hooks/hooks.json
Configuration
{
"Stop": [
{
"hooks": [
{
"type": "command",
"async": true,
"command": "han hook run pytest test --async"
}
]
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"async": true,
"command": "han hook run pytest test-changed --async"
}
],
"matcher": "Edit|Write"
}
],
"SubagentStop": [
{
"hooks": [
{
"type": "command",
"async": true,
"command": "han hook run pytest test --async"
}
]
}
]
}Summary
{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 3
},
"eventStats": {
"Stop": 1,
"PostToolUse": 1,
"SubagentStop": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 3
}
}Stats
Stars106
Forks13
Last CommitFeb 17, 2026
Actions