docs: def create_config(sections, section_contents):
      """Create a config file from the provided sections and key value pairs.
  
      Args:
          sections (List[str]): A list of section keys.
          key_value_pairs (Dict[str, str]): A list of of dictionaries. Must be as long as
          the list of sections. That is to say, if there are two sections, there should be two
          dicts.
      Returns:
          configparser.ConfigParser: A ConfigParser.
      Raises:
          ValueError
      """
      sections_length, section_contents_length = len(sections), len(section_contents)
      if sections_length != section_contents_length:
          raise ValueError("Mismatch between argument lengths.\n"
                           "len(sections) = {}\n"
                           "len(section_contents) = {}"
                           .format(sections_length, section_contents_length))
      config = configparser.ConfigParser()
      for section, section_content in zip(sections, section_contents):
          config[section] = section_content
      return config