Fix CMake "files" expression in pre-commit

pull/55/head
Yuri D'Elia 2021-07-09 14:37:27 +02:00 committed by DRracer
parent 996f0f5dc0
commit 2db97c0f5e
1 changed files with 1 additions and 1 deletions

View File

@ -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: