MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / cleanup_title

Function cleanup_title

tools/commitlist.py:140–141  ·  view source on GitHub ↗
(title: str)

Source from the content-addressed store, hash-verified

138
139
140def cleanup_title(title: str) -> str:
141 return normalize_whitespace(PR_NUMBER_RE.sub("", title or ""))
142
143
144def extract_pr_number(title: str) -> int | None:

Callers 1

markdown_entry_textFunction · 0.85

Calls 1

normalize_whitespaceFunction · 0.85

Tested by

no test coverage detected