def _set_missing_globals(self):

        if 'script-path' not in self.global_config:
            # Default location of hooks.d to config directory
            self.global_config['script-path'] = os.path.join(
                os.path.dirname(self.config_file), 'hooks.d')

        if 'repo-path' not in self.global_config:
            # Default location of hooks.d to config directory
            self.global_config['repo-path'] = [os.path.normpath(
                os.path.join('..', os.path.dirname(self.config_file)))]
Set global configuration for all repositories
dataset/ETHPy150Open aelse/cpthook/cpthook.py/CptHookConfig._set_missing_globals