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

Function display_validation_summary

ci/compiler/packages.py:632–655  ·  view source on GitHub ↗

Display validation summary for the package index

(package_index: PackageIndex)

Source from the content-addressed store, hash-verified

630
631
632def display_validation_summary(package_index: PackageIndex) -> None:
633 """Display validation summary for the package index"""
634 print("\n✅ VALIDATION SUMMARY")
635 print(f" 📦 Total packages: {len(package_index.packages)}")
636
637 total_platforms = sum(len(pkg.platforms) for pkg in package_index.packages)
638 total_tools = sum(len(pkg.tools) for pkg in package_index.packages)
639 total_boards = sum(
640 len(platform.boards)
641 for pkg in package_index.packages
642 for platform in pkg.platforms
643 )
644
645 print(f" 🛠️ Total platforms: {total_platforms}")
646 print(f" 🔧 Total tools: {total_tools}")
647 print(f" 💾 Total boards: {total_boards}")
648
649 # Show architectures
650 architectures: set[str] = set()
651 for pkg in package_index.packages:
652 for platform in pkg.platforms:
653 architectures.add(platform.architecture)
654
655 print(f" 🏗️ Architectures: {', '.join(sorted(architectures))}")
656
657
658# Demonstration Functions

Callers 1

demo_esp32_parsingFunction · 0.85

Calls 3

printFunction · 0.50
setClass · 0.50
addMethod · 0.45

Tested by

no test coverage detected