MCPcopy Create free account
hub / github.com/FastLED/FastLED / print_summary

Method print_summary

ci/util/dependency_loader.py:119–134  ·  view source on GitHub ↗

Print a summary of all operations and their dependencies.

(self)

Source from the content-addressed store, hash-verified

117 return self.get_operation(operation).get("description", "")
118
119 def print_summary(self) -> None:
120 """Print a summary of all operations and their dependencies."""
121 print("\n" + "=" * 70)
122 print("FASTLED DEPENDENCY MANIFEST SUMMARY")
123 print("=" * 70)
124
125 for op_name in self.list_operations():
126 op = self.get_operation(op_name)
127 globs = op.get("globs", [])
128 print(f"\n📋 {op_name}")
129 print(f" {op.get('description', 'No description')}")
130 print(f" Patterns: {len(globs)} glob(s)")
131 for glob in globs[:3]: # Show first 3
132 print(f" - {glob}")
133 if len(globs) > 3:
134 print(f" ... and {len(globs) - 3} more")
135
136
137def load_globs_for_operation(operation: str) -> list[str]:

Callers 1

Calls 4

list_operationsMethod · 0.95
get_operationMethod · 0.95
printFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected