(out)
| 84 | |
| 85 | |
| 86 | def _kind(out): |
| 87 | if not out.strip(): |
| 88 | return "silent" |
| 89 | hso = json.loads(out)["hookSpecificOutput"] |
| 90 | return "deny" if hso.get("permissionDecision") == "deny" else "nudge" |
| 91 | |
| 92 | |
| 93 | def _markers(tmp_path): |
no test coverage detected