Skip to content

Commit

Permalink
Fix some mypy issues
Browse files Browse the repository at this point in the history
Split up hooks to expose the hook dict
Remove some odd imports


automatic commit by git-black, original commits:
  72d82e4
  • Loading branch information
Jacob Beck authored and iknox-fa committed Feb 8, 2022
1 parent 8a39fa6 commit 1b5e9ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/dbt/task/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 1b5e9ca

Please sign in to comment.