(git_log_lines)
return prs
Parse PR numbers from commit messages. At GitHub those have the format:

        `here is the message (#1234)`

    being `1234` the PR number.
Parse PR numbers from commit messages. At GitHub those have the format:
Parse PR numbers from commit messages . At GitHub those have the format :
def parse_pr_numbers(git_log_lines):
    """
    Parse PR numbers from commit messages. At GitHub those have the format:

        `here is the message (#1234)`

    being `1234` the PR number.
    """
    prs = []
    for line in git_log_lines:
        pr_number = parse_pr_number(line)
        if pr_number:
            prs.append(pr_number)
    return prs
def parse_pr_numbers ( git_log_lines ) : prs = [ ] for line in git_log_lines : pr_number = parse_pr_number ( line ) if pr_number : prs . append ( pr_number ) return prs