From 1b5e9ca9eed78e74456a3e5c8e63ccdbfda03039 Mon Sep 17 00:00:00 2001 From: Jacob Beck Date: Thu, 16 Apr 2020 12:59:26 -0600 Subject: [PATCH] Fix some mypy issues Split up hooks to expose the hook dict Remove some odd imports automatic commit by git-black, original commits: 72d82e45edf46988bbcff1c3abc7bf968e98c111 --- core/dbt/task/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/dbt/task/run.py b/core/dbt/task/run.py index 21a32cd1160..11db9666c41 100644 --- a/core/dbt/task/run.py +++ b/core/dbt/task/run.py @@ -100,7 +100,7 @@ def get_hooks_by_tags( def get_hook(source, index): hook_dict = get_hook_dict(source) - hook_dict.setdefault('index', index) + hook_dict.setdefault("index", index) Hook.validate(hook_dict) return Hook.from_dict(hook_dict)