hook constants¶
Keep constants out of package module, __init__.py
- drain_swamp.monkey.hooks.constants.__all__: tuple[str, str, str] = ("_PLUGIN_HOOKS", "DOTTED_PATH_SPECS", "HOOK_NAMESPACE")¶
Module exports
- drain_swamp.monkey.hooks.constants._PLUGIN_HOOKS: str = "ds.hooks"¶
Entrypoint name, not the dotted path:fcn. Entrypoint underwhich to specify additional hooks
- drain_swamp.monkey.hooks.constants.DOTTED_PATH_SPECS: str = "drain_swamp.monkey.hooks.specs"¶
Dotted path to pluggy plugin specs
- drain_swamp.monkey.hooks.constants.HOOK_NAMESPACE: str = "ds"¶
See also
namespace naming conversion