mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-11 14:07:46 +01:00
Most of these configs interleave local and remote hook repos -- diet-guard, screen-locker and wake-alarm carry nine `- repo:` blocks each. Appending at end of file lands the hook under whichever block happens to be last, and a local hook definition handed to a remote repo fails with an error naming an unknown id rather than the real problem. diet-guard's last block happens to be `local`, so this would have worked by luck there and broken elsewhere. A config with no local block now refuses rather than guessing. 308 tests, 100% branch coverage. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CRykabMwPgDzFHcARoqpaK |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_allowlist.py | ||
| test_check_allowlist.py | ||
| test_check.py | ||
| test_constraints.py | ||
| test_discover.py | ||
| test_edges.py | ||
| test_evaluate.py | ||
| test_golang.py | ||
| test_http.py | ||
| test_install.py | ||
| test_parsers_edges.py | ||
| test_parsers.py | ||
| test_quarantine.py | ||
| test_registries.py | ||
| test_report.py | ||
| test_resolve.py | ||
| test_toolchain_registry.py | ||
| test_versions.py | ||