MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / bullet

Function bullet

tools/test_selector.py:664–671  ·  view source on GitHub ↗
(items: list[str], limit_: int = limit)

Source from the content-addressed store, hash-verified

662 emoji: bool = False,
663) -> str:
664 def bullet(items: list[str], limit_: int = limit) -> str:
665 if not items:
666 return "_(none)_"
667 shown = items[:limit_]
668 s = "\n".join(f"- `{x}`" for x in shown)
669 if len(items) > limit_:
670 s += f"\n- … and {len(items) - limit_} more"
671 return s
672
673 # Selection line (minimal, no emoji by default)
674 selected_lanes = _enabled_lane_names(res)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected