(patterns: Optional[Sequence[str]])
| 996 | |
| 997 | |
| 998 | def _normalize_globs(patterns: Optional[Sequence[str]]) -> List[str]: |
| 999 | if not patterns: |
| 1000 | return [] |
| 1001 | normalized: List[str] = [] |
| 1002 | for raw in patterns: |
| 1003 | if not raw: |
| 1004 | continue |
| 1005 | normalized.append(str(raw)) |
| 1006 | return normalized |
| 1007 | |
| 1008 | |
| 1009 | def _iter_candidate_files( |