def METHOD_NAME(project):
    """Return a Renku repository with lfs warnings active."""
    from renku.domain_model.project_context import project_context
    with project_context.with_path(project.path):
        set_value("renku", "lfs_threshold", "0b")
        set_value("renku", "show_lfs_message", "true")
        project.repository.add(".renku/renku.ini")
        project.repository.commit("update renku.ini")
    yield