(cwd: Path | None = None, trusted: bool = True)
| 62 | |
| 63 | |
| 64 | def run_setup(cwd: Path | None = None, trusted: bool = True) -> SetupReport: |
| 65 | root = cwd or Path(__file__).resolve().parent.parent |
| 66 | prefetches = [ |
| 67 | start_mdm_raw_read(), |
| 68 | start_keychain_prefetch(), |
| 69 | start_project_scan(root), |
| 70 | ] |
| 71 | return SetupReport( |
| 72 | setup=build_workspace_setup(), |
| 73 | prefetches=tuple(prefetches), |
| 74 | deferred_init=run_deferred_init(trusted=trusted), |
| 75 | trusted=trusted, |
| 76 | cwd=root, |
| 77 | ) |
no test coverage detected