(path: str, preds: Sequence[Callable[[str], bool]])
| 323 | |
| 324 | |
| 325 | def _matches_any(path: str, preds: Sequence[Callable[[str], bool]]) -> bool: |
| 326 | for pred in preds: |
| 327 | try: |
| 328 | if pred(path): |
| 329 | return True |
| 330 | except Exception: |
| 331 | continue |
| 332 | return False |
| 333 | |
| 334 | |
| 335 | def decide(files: list[str]) -> SelectorResult: |
no outgoing calls
no test coverage detected