Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/917Dhj/DeepPaperNote
/ normalize_lint_whitespace
Function
normalize_lint_whitespace
scripts/lint_note.py:1284–1285 ·
view source on GitHub ↗
(text: str)
Source
from the content-addressed store, hash-verified
1282
1283
1284
def
normalize_lint_whitespace(text: str) -> str:
1285
return
re.sub(r
"\s+"
,
" "
, text).strip()
1286
1287
1288
def
matches_any_pattern(text: str, patterns: list[str]) -> bool:
Callers
6
normalized_section_content
Function · 0.85
matches_any_pattern
Function · 0.85
is_placeholder_like
Function · 0.85
issue
Function · 0.85
is_honest_missing_declaration
Function · 0.85
has_reference_entry
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected