.pre-commit-config.yaml: add exiftool

This commit is contained in:
Aminda Suomalainen 2023-06-04 11:52:42 +03:00
parent 37f68cdab5
commit dde19fb8e0
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 11 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
*~ *~
.~*# .~*#
.cache/** .cache/**
*_original
# ---> TeX # ---> TeX
## Core latex/pdflatex auxiliary files: ## Core latex/pdflatex auxiliary files:

View File

@ -5,7 +5,7 @@ ci:
# the frequency of unnecessary PRs. # the frequency of unnecessary PRs.
# https://github.com/pre-commit-ci/issues/issues/83 # https://github.com/pre-commit-ci/issues/issues/83
autoupdate_schedule: quarterly autoupdate_schedule: quarterly
skip: [latexmk] skip: [latexmk, exiftool]
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
@ -70,3 +70,12 @@ repos:
types: [text, tex] types: [text, tex]
# I have no idea where latexmk wants the template # I have no idea where latexmk wants the template
exclude: LaTeX\/standardi-asiakirja.tex exclude: LaTeX\/standardi-asiakirja.tex
# Fedora: perl-Image-ExifTool
- repo: local
hooks:
- id: exiftool
name: Remove all EXIF metadata using exiftool
entry: exiftool -all=
language: system
types: [image]