Browse Source

add xml files to exceptions in pre-commit config

Johannes Gütschow 8 tháng trước cách đây
mục cha
commit
e8d3ce4468
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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