Format a stable operation label for user-visible diagnostics.
(phase: str, target_kind: str, target: str | None = None)
| 334 | |
| 335 | |
| 336 | def _cli_phase_label(phase: str, target_kind: str, target: str | None = None) -> str: |
| 337 | """Format a stable operation label for user-visible diagnostics.""" |
| 338 | label = f"{phase} {target_kind}".strip() |
| 339 | if target: |
| 340 | label = f"{label} '{target}'" |
| 341 | return label |
| 342 | |
| 343 | |
| 344 | def _print_cli_warning( |
no outgoing calls
no test coverage detected