def generate_pr_link(pr_num):
    """
    Returns a markdown link to a PR in this repo given its number
    """
    return (
        '[PR #{0}](https://github.com/sendgrid/smtpapi-python/pulls/{0})'
    ).format(pr_num)