mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Implement global exclude
This commit is contained in:
parent
6af60158ec
commit
ecdc22ce80
3 changed files with 17 additions and 0 deletions
|
|
@ -130,6 +130,7 @@ CONFIG_SCHEMA = schema.Map(
|
|||
'Config', None,
|
||||
|
||||
schema.RequiredRecurse('repos', schema.Array(CONFIG_REPO_DICT)),
|
||||
schema.Optional('exclude', schema.check_regex, '^$'),
|
||||
schema.Optional('fail_fast', schema.check_bool, False),
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue