def METHOD_NAME() -> List[str]:
    """This function returns the list of the files which are skipped when
    Oppia is deployed to GAE.
    Returns:
        list. The list of files which are to be skipped.
    Raises:
        yaml.YAMLError. If failed to parse .gcloudignore.
        IOError. If failed to open .gcloudignore in read mode.
    """
    try:
        with utils.open_file('.gcloudignore', 'r') as gcloudignore:
            gcloudignore_lines = gcloudignore.read().split('\n')
            skip_files_list = [
                os.path.join(os.getcwd(), gcloudignore_line)
                for gcloudignore_line in gcloudignore_lines
                if not gcloudignore_line.strip().startswith('#')
            ]
        return skip_files_list
    except IOError as io_error:
        print(io_error)
        sys.exit(1)