MCPcopy 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
1284def normalize_lint_whitespace(text: str) -> str:
1285 return re.sub(r"\s+", " ", text).strip()
1286
1287
1288def matches_any_pattern(text: str, patterns: list[str]) -> bool:

Callers 6

matches_any_patternFunction · 0.85
is_placeholder_likeFunction · 0.85
issueFunction · 0.85
has_reference_entryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected