(modules: list[tuple[str, str]])
| 734 | |
| 735 | |
| 736 | def dedupe_modules(modules: list[tuple[str, str]]) -> list[tuple[str, str]]: |
| 737 | seen: set[str] = set() |
| 738 | result = [] |
| 739 | for id, path in modules: |
| 740 | if id not in seen: |
| 741 | seen.add(id) |
| 742 | result.append((id, path)) |
| 743 | return result |
| 744 | |
| 745 | |
| 746 | def get_module_to_path_map(graph: Graph) -> dict[str, str]: |
no test coverage detected
searching dependent graphs…