MCPcopy Create free account
hub / github.com/apache/arrow / format_commit_author

Method format_commit_author

dev/merge_arrow_pr.py:446–450  ·  view source on GitHub ↗
(commit)

Source from the content-addressed store, hash-verified

444 commits = self._github_api.get_pr_commits(self.number)
445
446 def format_commit_author(commit):
447 author = commit['commit']['author']
448 name = author['name']
449 email = author['email']
450 return f'{name} <{email}>'
451 commit_authors = [format_commit_author(commit) for commit in commits]
452 co_authored_by_re = re.compile(
453 r'^Co-authored-by:\s*(.*)', re.MULTILINE)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected