Skip to content

Commit

Permalink
Check plugins implement valid hooks
Browse files Browse the repository at this point in the history
Signed-off-by: Nok Chan <nok.lam.chan@quantumblack.com>
  • Loading branch information
noklam committed Jul 30, 2023
1 parent 6dce312 commit f10bede
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kedro/framework/hooks/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def _register_hooks(hook_manager: PluginManager, hooks: Iterable[Any]) -> None:
if not hook_manager.is_registered(hooks_collection):
hook_manager.register(hooks_collection)

hook_manager.check_pending() # Validate hook_impl respect hook_spec


def _register_hooks_setuptools(
hook_manager: PluginManager, disabled_plugins: Iterable[str]
Expand Down

0 comments on commit f10bede

Please sign in to comment.