MCPcopy Create free account
hub / github.com/pytorch/pytorch / cleanup_title

Function cleanup_title

scripts/release_notes/commitlist.py:454–458  ·  view source on GitHub ↗
(commit)

Source from the content-addressed store, hash-verified

452
453def to_markdown(commit_list: CommitList, category):
454 def cleanup_title(commit):
455 match = re.match(r"(.*) \(#\d+\)", commit.title)
456 if match is None:
457 return commit.title
458 return match.group(1)
459
460 merge_mapping = defaultdict(list)
461 for commit in commit_list.commits:

Callers 1

to_markdownFunction · 0.85

Calls 2

matchMethod · 0.45
groupMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…