()
| 63 | |
| 64 | |
| 65 | def iter_files() -> list[Path]: |
| 66 | files: list[Path] = [] |
| 67 | for root in ROOTS: |
| 68 | if not root.exists(): |
| 69 | continue |
| 70 | for p in root.rglob("*"): |
| 71 | if p.is_file() and p.suffix.lower() in EXTS: |
| 72 | files.append(p) |
| 73 | return files |
| 74 | |
| 75 | |
| 76 | def main() -> int: |