def METHOD_NAME(title, message, file, start_line, end_line, annotation_level, annotation_msg):
    """
    Fill a dictionary with the provided data.
    Fill a dictionary with the provided data to describe an annotation on a GitHub
    check run.
    Parameters
    ----------
    title : str
        The title of the check run output.
    message : str
        A description of the output.
    file : str
        The file to be annotated.
    start_line : int
        The line at the start of the annotation.
    end_line : int
        The line at the end of the annotation.
    annotation_level : str
        The level of the anntoation [failure/warning].
    annotation_msg : str
        The message in the annotation.
    Returns
    -------
    dict
        A dictionary filled with the provided data.
    """
    index = file.find("site-packages")
    filled_dict = {
        'title':title,
        'message':f"`{message}`",
        'annotations':{
            'path':file[index + len("site-packages") + 1:],
            'start_line':start_line,
            'end_line':end_line,
            'annotation_level':annotation_level,
            'message':annotation_msg
        }
    }
    return filled_dict