def METHOD_NAME(
    project_name,  # type: str
    project_version=None,  # type: Optional[str]
):
    # type: (...) -> str
    return (
        "{project_name}=={project_version}".format(
            project_name=project_name, project_version=project_version
        )
        if project_version
        else project_name
    )