mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
also apply sensible regex warning for repo: meta
This commit is contained in:
parent
6c068a78d6
commit
fa08d1d637
2 changed files with 20 additions and 0 deletions
|
|
@ -289,6 +289,8 @@ META_HOOK_DICT = cfgv.Map(
|
|||
item
|
||||
for item in MANIFEST_HOOK_DICT.items
|
||||
),
|
||||
OptionalSensibleRegexAtHook('files', cfgv.check_string),
|
||||
OptionalSensibleRegexAtHook('exclude', cfgv.check_string),
|
||||
)
|
||||
CONFIG_HOOK_DICT = cfgv.Map(
|
||||
'Hook', 'id',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue