add support for top-level map manifest

This commit is contained in:
Anthony Sottile 2025-11-19 16:14:54 -05:00 committed by anthony sottile
parent 9c7ea88ab9
commit 7cad9ec27f
10 changed files with 156 additions and 61 deletions

View file

@ -43,7 +43,7 @@ def _mark_used_repos(
return
else:
unused_repos.discard(key)
by_id = {hook['id']: hook for hook in manifest}
by_id = manifest['hooks']
for hook in repo['hooks']:
if hook['id'] not in by_id: