def METHOD_NAME(project: FacetValue, step: str) -> None | list:
    """Get ignored warnings for a given preprocessing step."""
    if project not in CFG:
        return None
    project_cfg = CFG[project]
    if 'ignore_warnings' not in project_cfg:
        return None
    if step not in project_cfg['ignore_warnings']:
        return None
    return project_cfg['ignore_warnings'][step]