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

Class HeaderException

ci/lint_cpp/banned_headers_checker.py:186–195  ·  view source on GitHub ↗

Represents an exception to a banned header rule. Attributes: file_pattern: Glob pattern matching allowed file paths (e.g., "**/*.cpp", "inplacenew.h") reason: Human-readable explanation for why this exception exists

Source from the content-addressed store, hash-verified

184
185@dataclass(frozen=True)
186class HeaderException:
187 """Represents an exception to a banned header rule.
188
189 Attributes:
190 file_pattern: Glob pattern matching allowed file paths (e.g., "**/*.cpp", "inplacenew.h")
191 reason: Human-readable explanation for why this exception exists
192 """
193
194 file_pattern: str
195 reason: str
196
197
198EXCEPTION_RULES: dict[str, list[HeaderException]] = {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected