(modules: list[StubSource])
| 1554 | |
| 1555 | |
| 1556 | def split_pyc_from_py(modules: list[StubSource]) -> tuple[list[StubSource], list[StubSource]]: |
| 1557 | py_modules = [] |
| 1558 | pyc_modules = [] |
| 1559 | for mod in modules: |
| 1560 | if is_pyc_only(mod.path): |
| 1561 | pyc_modules.append(mod) |
| 1562 | else: |
| 1563 | py_modules.append(mod) |
| 1564 | return pyc_modules, py_modules |
| 1565 | |
| 1566 | |
| 1567 | def is_blacklisted_path(path: str) -> bool: |
no test coverage detected
searching dependent graphs…