Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc907b5 commit e150921Copy full SHA for e150921
1 file changed
pre_commit/commands/run.py
@@ -57,7 +57,7 @@ def get_filenames(args, include_expr, exclude_expr):
57
58
59
def _run_single_hook(hook, repo, args, skips, cols):
60
- filenames = get_filenames(args, hook.get('files', ''), hook['exclude'])
+ filenames = get_filenames(args, hook.get('files', '^$'), hook['exclude'])
61
if hook['id'] in skips:
62
output.write(get_hook_message(
63
_hook_msg_start(hook, args.verbose),
0 commit comments