MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / _is_skipped

Function _is_skipped

scripts/documentation-verify.py:691–696  ·  view source on GitHub ↗

True for vendored / build / cache paths and for any `LICENSE*.md`. The license is verbatim legal text, not prose this linter should touch.

(path: Path)

Source from the content-addressed store, hash-verified

689
690
691def _is_skipped(path: Path) -> bool:
692 """True for vendored / build / cache paths and for any `LICENSE*.md`.
693 The license is verbatim legal text, not prose this linter should touch."""
694 if any(p in _SKIP_DIRS for p in path.parts):
695 return True
696 return path.stem.lower().startswith("license")
697
698
699def iter_markdown_files(targets: list[Path]) -> Iterable[Path]:

Callers 1

iter_markdown_filesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected