mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Add pass_filenames hook option
This option controls whether filenames are passed along as arguments to the hook program.
This commit is contained in:
parent
6025475afb
commit
e774c09fac
4 changed files with 33 additions and 1 deletions
|
|
@ -46,6 +46,7 @@ MANIFEST_HOOK_DICT = schema.Map(
|
|||
),
|
||||
schema.Optional('args', schema.check_array(schema.check_string), []),
|
||||
schema.Optional('always_run', schema.check_bool, False),
|
||||
schema.Optional('pass_filenames', schema.check_bool, True),
|
||||
schema.Optional('description', schema.check_string, ''),
|
||||
schema.Optional(
|
||||
'exclude',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue