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

Method _auto_detect_library_exclusions

ci/boards.py:120–128  ·  view source on GitHub ↗

Automatically detect and exclude libraries known to be broken on this platform.

(self)

Source from the content-addressed store, hash-verified

118 return False
119
120 def _auto_detect_library_exclusions(self) -> None:
121 """Automatically detect and exclude libraries known to be broken on this platform."""
122
123 # Check for I2S library problems based on environmental signals
124 if self._should_ignore_i2s_library():
125 if not self.lib_ignore:
126 self.lib_ignore = []
127 if "I2S" not in self.lib_ignore:
128 self.lib_ignore.append("I2S")
129
130 def _should_ignore_i2s_library(self) -> bool:
131 """Detect if I2S library should be ignored based on platform characteristics."""

Callers 1

__post_init__Method · 0.95

Calls 2

appendMethod · 0.45

Tested by

no test coverage detected