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

Function _should_ignore_flag

ci/check_backend_flag_drift.py:150–157  ·  view source on GitHub ↗

True if a raw cc/cxx flag is build-noise and not a real drift signal.

(flag: str)

Source from the content-addressed store, hash-verified

148
149
150def _should_ignore_flag(flag: str) -> bool:
151 """True if a raw cc/cxx flag is build-noise and not a real drift signal."""
152 if flag in _STANDALONE_PATH_FLAGS:
153 return True
154 for prefix in _PATH_LIKE_FLAG_PREFIXES:
155 if flag.startswith(prefix):
156 return True
157 return False
158
159
160def _normalize_define(define: str) -> str | None:

Callers 1

_clean_flagsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected