mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 11:32:13 +00:00
CI: Update clang format/tidy pre-commit versions
This commit is contained in:
parent
b00e1cbf74
commit
f2d036340c
@ -9,7 +9,7 @@ exclude: |
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/mirrors-clang-format
|
||||
rev: v19.1.0
|
||||
rev: v19.1.3
|
||||
hooks:
|
||||
- id: clang-format
|
||||
files: \.(c|h|cpp|hpp|cc|hh|cxx|hxx|m|mm|inc|java)$
|
||||
@ -22,7 +22,7 @@ repos:
|
||||
)
|
||||
- id: clang-format
|
||||
name: clang-format-glsl
|
||||
files: \.(glsl)$
|
||||
files: \.glsl$
|
||||
types_or: [text]
|
||||
exclude: |
|
||||
(?x)^(
|
||||
@ -30,7 +30,7 @@ repos:
|
||||
platform/android/java/editor/src/main/java/com/android/.*|
|
||||
platform/android/java/lib/src/com/.*
|
||||
)
|
||||
args: ["-style=file:misc/utility/.clang-format-glsl"]
|
||||
args: ['-style=file:misc/utility/.clang-format-glsl']
|
||||
|
||||
- repo: https://github.com/pocc/pre-commit-hooks
|
||||
rev: v1.3.5
|
||||
@ -45,7 +45,7 @@ repos:
|
||||
platform/android/java/editor/src/main/java/com/android/.*|
|
||||
platform/android/java/lib/src/com/.*
|
||||
)
|
||||
additional_dependencies: [clang-tidy==18.1.1]
|
||||
additional_dependencies: [clang-tidy==19.1.0]
|
||||
require_serial: true
|
||||
stages: [manual] # Not automatically triggered, invoked via `pre-commit run --hook-stage manual clang-tidy`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user