Return True if this directory should be excluded from source file scanning.
(name: str)
| 44 | |
| 45 | |
| 46 | def _should_skip_scan_dir(name: str) -> bool: |
| 47 | """Return True if this directory should be excluded from source file scanning.""" |
| 48 | if name in _SKIP_DIR_NAMES: |
| 49 | return True |
| 50 | for prefix in _SKIP_DIR_PREFIXES: |
| 51 | if name.startswith(prefix): |
| 52 | return True |
| 53 | return False |
| 54 | |
| 55 | |
| 56 | def get_max_dir_mtime(root: Path) -> float: |
no outgoing calls
no test coverage detected