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

Method __post_init__

ci/boards.py:90–98  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

88 generate_optimization_report: bool = False
89
90 def __post_init__(self) -> None:
91 # Check if framework is set, warn and auto-set to arduino if missing (except for native/stub platforms)
92 if self.framework is None and not self._is_native_or_stub_platform():
93 self.framework = "arduino"
94
95 # Auto-detect and exclude problematic libraries based on environmental signals
96 self._auto_detect_library_exclusions()
97
98 ALL.append(self)
99
100 def _is_native_or_stub_platform(self) -> bool:
101 """Check if this is a native or stub platform that doesn't need a framework"""

Callers

nothing calls this directly

Calls 3

appendMethod · 0.45

Tested by

no test coverage detected