From 69585dcfab0b0fb4eb1a356726172c2b7dfb1a3e Mon Sep 17 00:00:00 2001 From: Chris Kuehl Date: Fri, 8 Jan 2016 15:41:50 -0800 Subject: [PATCH] Remove unnecessary branch --- pre_commit/commands/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pre_commit/commands/run.py b/pre_commit/commands/run.py index 11fbfbce..e6b62635 100644 --- a/pre_commit/commands/run.py +++ b/pre_commit/commands/run.py @@ -84,7 +84,7 @@ def _run_single_hook(hook, repo, args, write, skips=frozenset()): args, hook['files'], hook['exclude'], - frozenset(hook['types']) if 'types' in hook else frozenset(['file']), + frozenset(hook['types']), ) if hook['id'] in skips: _print_user_skipped(hook, write, args)