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

Function is_excluded

tools/docs_and_notebooks_check.py:422–423  ·  view source on GitHub ↗
(rel_path: str, exclude_patterns: list[str])

Source from the content-addressed store, hash-verified

420
421
422def is_excluded(rel_path: str, exclude_patterns: list[str]) -> bool:
423 return any(fnmatch.fnmatch(rel_path, pat) for pat in exclude_patterns)
424
425
426def file_kind(path: Path) -> str:

Callers 2

scan_filesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected