Skip to content

Commit 48fbb77

Browse files
committed
Specify version of Clang-format
- clang-format is not stable version-to-version - Hook is reformatting code already committed, it may be better to only change touched code
1 parent 12522db commit 48fbb77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ repos:
6565
language: python
6666
files: \.(c|cc|cxx|cpp|cl|frag|glsl|h|hpp|hxx|ih|ispc|ipp|java|js|m|mm|proto|textproto|vert)$
6767
args: ['-i', '-fallback-style=none', '--style=file']
68-
additional_dependencies: ['clang-format']
68+
additional_dependencies: ['clang-format:14']

0 commit comments

Comments
 (0)