docs: def read_metadata(self):  # type: () ->Dict[str,str]
          """
          Get version out of a .ini file (or .cfg)
          :return:
          """
          config = configparser.ConfigParser()
          config.read(self.file_inventory.config_files[0])
          try:
              return {"setup.cfg": config["metadata"]["version"]}
          except KeyError:
              return {}