浏览代码

pre-commit: fix cmake-format checks [skip ci]

Victor Seva 5 月之前
父节点
当前提交
5b60b1932b
共有 1 个文件被更改,包括 2 次插入6 次删除
  1. 2 6
      .pre-commit-config.yaml

+ 2 - 6
.pre-commit-config.yaml

@@ -16,10 +16,6 @@ repos:
     rev: v0.6.13
     hooks:
       - id: cmake-format
-        verbose: true
         args:
-          - -c cmake/cmake-format.py
-      - id: cmake-lint
-        verbose: true
-        args:
-          - -c cmake/cmake-format.py
+          - --in-place
+          - --config-files=cmake/cmake-format.py