Przeglądaj źródła

add xml files to exceptions in pre-commit config

Johannes Gütschow 8 miesięcy temu
rodzic
commit
e8d3ce4468
1 zmienionych plików z 2 dodań i 2 usunięć
  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