Mark the current Python lint run as successful. Uses the safe pre-computed fingerprint pattern - saves the fingerprint that was computed before linting started.
()
| 62 | |
| 63 | |
| 64 | def 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 | |
| 83 | def invalidate_python_cache() -> None: |
no test coverage detected