def METHOD_NAME(
    ctx: click.Context, dataset: str, project_id: Optional[str], sql_dir: Optional[str]
) -> None:
    """Render a check's Jinja template."""
    checks_file, project_id, dataset_id, table = paths_matching_checks_pattern(
        dataset, sql_dir, project_id=project_id
    )
    click.echo(
        _render(
            checks_file,
            dataset_id,
            table,
            project_id=project_id,
            query_arguments=ctx.args[:],
        )
    )
    return None