mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-18 16:44:42 +04:00
Add 'types' to the schema
This commit is contained in:
parent
70bd8215b2
commit
a68c1ab0d2
5 changed files with 23 additions and 3 deletions
|
|
@ -58,7 +58,7 @@ NO_FILES = '(no files to check)'
|
|||
|
||||
|
||||
def _run_single_hook(hook, repo, args, skips, cols):
|
||||
filenames = get_filenames(args, hook.get('files', '^$'), hook['exclude'])
|
||||
filenames = get_filenames(args, hook['files'], hook['exclude'])
|
||||
if hook['id'] in skips:
|
||||
output.write(get_hook_message(
|
||||
_hook_msg_start(hook, args.verbose),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue