MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / collect_scan_issues

Function collect_scan_issues

tools/docs_and_notebooks_check.py:1043–1048  ·  view source on GitHub ↗
(records: list[FileRecord], target: Literal["errors", "warnings"])

Source from the content-addressed store, hash-verified

1041
1042
1043def collect_scan_issues(records: list[FileRecord], target: Literal["errors", "warnings"]) -> list[str]:
1044 items: list[str] = []
1045 for r in records:
1046 for e in getattr(r, target, []):
1047 items.append(f"{r.path}: {e}")
1048 return items
1049
1050
1051def main(argv: Sequence[str] | None = None) -> int:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected