pre-commit for image handling

This commit is contained in:
Jade Lovelace 2023-04-24 15:12:52 -07:00
parent e78fbaade0
commit 955036240b
2 changed files with 182 additions and 1 deletions

View file

@ -7,6 +7,6 @@ repos:
name: Ban spicy exif data
description: Ensures that there is no sensitive exif data committed
language: system
entry: exiftool -all= --icc_profile:all -overwrite_original
entry: exiftool -all= --icc_profile:all -tagsfromfile @ -orientation -overwrite_original
exclude_types: ["svg"]
types: ["image"]