浏览代码

add xml files to exceptions in pre-commit config

Johannes Gütschow 8 月之前
父节点
当前提交
e8d3ce4468
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      .pre-commit-config.yaml

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

@@ -19,11 +19,11 @@ repos:
       - id: debug-statements
       - id: detect-private-key
       - id: end-of-file-fixer
-        exclude: ".json|.yaml"
+        exclude: ".json|.yaml|.xml"
       - id: fix-byte-order-marker
       - id: mixed-line-ending
       - id: trailing-whitespace
-        exclude: ".json|.yaml"
+        exclude: ".json|.yaml|.xml"
   - repo: local
     hooks:
       # Prevent committing .rej files