Ignacio
08/12/2021, 7:11 AMregister_config_loader hook under src/<package_name>/hooks.py.
__**Example**__
from pathlib import Path
class ProjectHooks:
    """Project hooks."""
    @hook_impl
    def register_config_loader(self, conf_paths: Iterable[str]) -> ConfigLoader:
        # Force local as ultimate overriding params, regardless of env chosen.
        conf_paths.append((Path(CONF_ROOT) / "local"))
        return TemplatedConfigLoader(conf_paths, globals_pattern="*globals.yml")
In this case, the inheritance will be base -> <custom_env> -> local. You can append other envs to conf_paths to customize this behavior.