make repo: meta only apply to top level configuration

This commit is contained in:
Anthony Sottile
2021-08-28 13:39:55 -04:00
parent 40e21bb8ba
commit f963bf6f9a
2 changed files with 13 additions and 2 deletions

View File

@@ -216,14 +216,14 @@ _meta = (
(
'check-hooks-apply', (
('name', 'Check hooks apply to the repository'),
('files', C.CONFIG_FILE),
('files', f'^{re.escape(C.CONFIG_FILE)}$'),
('entry', _entry('check_hooks_apply')),
),
),
(
'check-useless-excludes', (
('name', 'Check for useless excludes'),
('files', C.CONFIG_FILE),
('files', f'^{re.escape(C.CONFIG_FILE)}$'),
('entry', _entry('check_useless_excludes')),
),
),