Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
140
def
cleanup_title(title: str) -> str:
141
return
normalize_whitespace(PR_NUMBER_RE.sub(
""
, title or
""
))
142
143
144
def
extract_pr_number(title: str) -> int | None:
Callers
1
markdown_entry_text
Function · 0.85
Calls
1
normalize_whitespace
Function · 0.85
Tested by
no test coverage detected