Fix CMake "files" expression in pre-commit
parent
996f0f5dc0
commit
2db97c0f5e
|
|
@ -5,7 +5,7 @@ repos:
|
|||
rev: 'v0.6.0'
|
||||
hooks:
|
||||
- id: cmake-format # cmake formatter
|
||||
files: (CMakeLists.*|.*\.cmake^|.*\.cmake.in)
|
||||
files: ^(CMakeLists.*|.*\.cmake|.*\.cmake.in)$
|
||||
- repo: https://github.com/pre-commit/mirrors-yapf
|
||||
rev: 'v0.27.0'
|
||||
hooks:
|
||||
|
|
|
|||
Loading…
Reference in New Issue