Check if a path should be excluded from scanning.
(path: Path)
| 200 | |
| 201 | |
| 202 | def should_exclude(path: Path) -> bool: |
| 203 | """Check if a path should be excluded from scanning.""" |
| 204 | return any(part in EXCLUDE_DIRS for part in path.parts) |
| 205 | |
| 206 | |
| 207 | def get_directory_tree(max_depth: int = TREE_MAX_DEPTH) -> List[str]: |
no outgoing calls
no test coverage detected