Format an IndexingProgress snapshot as a human-readable string.
(progress: IndexingProgress)
| 136 | |
| 137 | |
| 138 | def _format_progress(progress: IndexingProgress) -> str: |
| 139 | """Format an IndexingProgress snapshot as a human-readable string.""" |
| 140 | return ( |
| 141 | f"{progress.num_execution_starts} files listed" |
| 142 | f" | {progress.num_adds} added, {progress.num_deletes} deleted," |
| 143 | f" {progress.num_reprocesses} reprocessed," |
| 144 | f" {progress.num_unchanged} unchanged," |
| 145 | f" error: {progress.num_errors}" |
| 146 | ) |
| 147 | |
| 148 | |
| 149 | def print_project_header(project_root: str) -> None: |
no outgoing calls
no test coverage detected