]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
pre-commit: Ignore files we don't have access to
authorStephen Finucane <stephen@that.guru>
Fri, 6 May 2022 19:06:30 +0000 (20:06 +0100)
committerStephen Finucane <stephen@that.guru>
Fri, 6 May 2022 19:06:30 +0000 (20:06 +0100)
Signed-off-by: Stephen Finucane <stephen@that.guru>
.pre-commit-config.yaml

index 581c1f1c8a69425a89f58a72cbe9b469f6a209f7..aa8e569ffdfacd062c867df5237ae50ac8ac3efe 100644 (file)
@@ -10,7 +10,7 @@ repos:
       - id: check-merge-conflict
       - id: check-yaml
       - id: end-of-file-fixer
-        exclude: (.*\.mbox)|(.*\.css)|(.*\.json)|(.*\.js)|(.*\.svg)|(.*/mails/.*-subject\.txt)
+        exclude: (.*\.mbox)|(.*\.css)|(.*\.json)|(.*\.js)|(.*\.svg)|(.*/mails/.*-subject\.txt)|(tools/docker/db)
       - id: trailing-whitespace
         exclude: (.*\.mbox)|(.*\.svg)
   - repo: https://gitlab.com/pycqa/flake8