code: def load_user_config(vcs):
      
      config_path = os.path.join(vcs.path, 'eci.yaml')
      if not os.path.exists(config_path):
          raise ConfigNotFoundError
      with open(config_path, 'r') as f:
          try:
              config = yaml.safe_load(f)
          except yaml.YAMLError:
              raise ConfigFormatError
      if not isinstance(config, dict):
          raise ConfigFormatError
      for k, v in _default_config.iteritems():
          config.setdefault(k, v)
      for k, v in _config_types.iteritems():
          if not isinstance(config[k], v):
              raise ConfigFormatError
      return config
docs: Load the user config
  
      Args:
          vcs (easyci.vcs.base.Vcs) - the vcs object for the current project
  
      Returns:
          dict - the config
  
      Raises:
          ConfigFormatError
          ConfigNotFoundError