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

Function mark_cpp_lint_success

ci/cpp_lint_cache.py:89–105  ·  view source on GitHub ↗

Mark the current C++ lint run as successful. Uses the safe pre-computed fingerprint pattern - saves the fingerprint that was computed before linting started.

()

Source from the content-addressed store, hash-verified

87
88
89def mark_cpp_lint_success() -> None:
90 """
91 Mark the current C++ lint run as successful.
92
93 Uses the safe pre-computed fingerprint pattern - saves the fingerprint
94 that was computed before linting started.
95 """
96 cache = _get_cpp_lint_cache()
97
98 try:
99 cache.mark_success()
100 print("🔧 C++ lint success fingerprint updated")
101 except RuntimeError as e:
102 print(f"⚠️ C++ fingerprint update failed: {e}")
103 print(
104 " This indicates check_cpp_files_changed() was not called before linting"
105 )
106
107
108def invalidate_cpp_cache() -> None:

Callers 2

run_cpp_lintFunction · 0.90
mainFunction · 0.85

Calls 3

_get_cpp_lint_cacheFunction · 0.85
printFunction · 0.50
mark_successMethod · 0.45

Tested by

no test coverage detected