Mark the current C++ lint run as successful. Uses the safe pre-computed fingerprint pattern - saves the fingerprint that was computed before linting started.
()
| 87 | |
| 88 | |
| 89 | def 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 | |
| 108 | def invalidate_cpp_cache() -> None: |
no test coverage detected