code: def load_config(cls):
          
          config_file = os.path.expanduser(cls.home_config)
          global_conf = cls.load(config_file, 'global')
          cls.load(cls.local_config, 'local')
          # update global configuration if needed
          cls.update_config(config_file, global_conf)
docs: Load global and local configuration files and update if needed.