MCPcopy Create free account
hub / github.com/917Dhj/DeepPaperNote / is_metadata_line

Function is_metadata_line

scripts/lint_note.py:457–460  ·  view source on GitHub ↗
(line: str)

Source from the content-addressed store, hash-verified

455
456
457def is_metadata_line(line: str) -> bool:
458 stripped = line.strip()
459 prefixes = [f"- {field}:" for field in CORE_INFO_FIELDS]
460 return any(stripped.startswith(prefix) for prefix in prefixes)
461
462
463def is_exempt_line(line: str) -> bool:

Callers 2

is_exempt_lineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected