supercharge(hotspots): -j alias, exit_code, duration_ms, TypedDict, docstring
- Add from typing import Any, TypedDict - Add from muse.core.timing import start_timer - Add _HotspotsOutputJson TypedDict with from_ref, to_ref, commits_analysed, truncated, filters, hotspots, exit_code, duration_ms annotations - Add -j alias for --json - Add elapsed = start_timer() at top of run() - Emit exit_code=0 and duration_ms=elapsed() in JSON output - Expand run() docstring with JSON envelope section - Add 53-test supercharge suite (first hotspots tests ever written)
sha256:3ceb3e599bfea9b160eebaa8131b366869f850ff7957600c1a1ca6772682a6f4
sha
sha256:eb5c1c8333bcc75d75ea0f8d264e3bee176ab745fa6b8fe4b4b5a350decad435
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:3ceb3e599bfea9b160eebaa8131b366869f850ff7957600c1a1ca6772682a6f4 --body "your comment"
No comments yet. Be the first to start the discussion.