Skip to content

Commit ca270a4

Browse files
adriencacciaclaude
andcommitted
ci: install clang-format from the pre-commit mirror
cpp-linter-hooks v0.8.1 downloads a prebuilt clang-format-18 binary at run time, which now fails with FileNotFoundError, so lint fails on a cold pre-commit cache. The mirror installs the same clang-format 18.1.8 from PyPI at the pinned rev and reformats no file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 35818bf commit ca270a4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.pre-commit-config.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ repos:
1010
- id: trailing-whitespace
1111
- id: end-of-file-fixer
1212
- id: check-added-large-files
13-
- repo: https://github.com/cpp-linter/cpp-linter-hooks
14-
rev: v0.8.1
13+
- repo: https://github.com/pre-commit/mirrors-clang-format
14+
rev: v18.1.8
1515
hooks:
1616
- id: clang-format
1717
files: \.(cpp|cc|cxx|h|hpp)$

0 commit comments

Comments
 (0)