Bläddra i källkod

add xml files to exceptions in pre-commit config

Johannes Gütschow 8 månader sedan
förälder
incheckning
e8d3ce4468
1 ändrade filer med 2 tillägg och 2 borttagningar
  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