(*args, **kwargs)
| 85 | |
| 86 | |
| 87 | def local_resolve(*args, **kwargs): |
| 88 | # type: (*Any, **Any) -> List[ResolvedDistribution] |
| 89 | # Skip remote lookups. |
| 90 | repos_configuration = kwargs.pop("repos_configuration", ReposConfiguration()) |
| 91 | kwargs["repos_configuration"] = attr.evolve(repos_configuration, index_repos=()) |
| 92 | return list(resolve(*args, **kwargs).distributions) |
| 93 | |
| 94 | |
| 95 | @contextmanager |
no test coverage detected