docs: def set_key(key: str, value: str) -> dict:
      """Set or update a key in the conf.
  
      For now only strings are supported.
      We use to update the version number.
      """
      if not _conf.path:
          return {}
  
      if "toml" in _conf.path:
          with open(_conf.path, "r") as f:
              parser = parse(f.read())
          parser["tool"]["commitizen"][key] = value
          with open(_conf.path, "w") as f:
              f.write(parser.as_string())
      else:
          parser = configparser.ConfigParser()
          parser.read(_conf.path)
          parser["commitizen"][key] = value
          with open(_conf.path, "w") as f:
              parser.write(f)
  
      return _conf.config