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

Function mark_python_lint_success

ci/python_lint_cache.py:64–80  ·  view source on GitHub ↗

Mark the current Python 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

62
63
64def mark_python_lint_success() -> None:
65 """
66 Mark the current Python lint run as successful.
67
68 Uses the safe pre-computed fingerprint pattern - saves the fingerprint
69 that was computed before linting started.
70 """
71 cache = _get_python_lint_cache()
72
73 try:
74 cache.mark_success()
75 print("📝 Python lint success fingerprint updated")
76 except RuntimeError as e:
77 print(f"⚠️ Python fingerprint update failed: {e}")
78 print(
79 " This indicates check_python_files_changed() was not called before linting"
80 )
81
82
83def invalidate_python_cache() -> None:

Callers 2

run_pyrightFunction · 0.90
mainFunction · 0.85

Calls 3

_get_python_lint_cacheFunction · 0.85
printFunction · 0.50
mark_successMethod · 0.45

Tested by

no test coverage detected