userfs.hooks package

userfs.hooks package#

Module contents#

A module implementing interfaces to interact with external scripts and modules.

userfs.hooks.get_hooks(prefixes: Set[str], project: str, interaction: ProjectInteraction) Dict[str, Callable[[Path, ProjectSpecification, Dict[str, Any], Dict[str, Any]], None] | None][source]#

Attempt to load a certain kind of project hook.