From c249bbc8b37ed45865c1624b65d7bfd47b0d68b2 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 4 Jun 2023 11:34:46 +0300 Subject: [PATCH] add exiftool as system hook --- .gitignore | 1 + .pre-commit-config.yaml | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/.gitignore b/.gitignore index 60e2775..722b198 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ keys.txt.asc .bundle .jekyll-cache vendor/ +*_original diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 66c8e9f..61bd4d8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,6 +5,7 @@ # See https://pre-commit.com for more information # See https://pre-commit.ci for more information ci: + skip: [exiftool] # https://github.com/pre-commit-ci/issues/issues/83 autoupdate_schedule: quarterly @@ -34,3 +35,12 @@ repos: rev: "v3.0.0-alpha.9-for-vscode" hooks: - id: prettier + + # Fedora: perl-Image-ExifTool + - repo: local + hooks: + - id: exiftool + name: Remove all EXIF metadata using exiftool + entry: exiftool -all= + language: system + types: [image]