code: def project_config():
      
      project_name = curdir
  
      config_path = Path(join(project_name, PROJECT_CONFIG_FILE))
  
      if not exists(config_path):
          store_settings(DEFAULTS.copy())
          return DEFAULTS
  
      return toml.load(io.open(config_path)) or {}
docs: Deprecated