From 961c1548ec6daeed1edc841c0a41323ffa81e80d Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Wed, 12 Jan 2022 11:50:00 +0000 Subject: [PATCH] Add pre-commit hook declaration Fixes #429. --- .pre-commit-hooks.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .pre-commit-hooks.yaml diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml new file mode 100644 index 00000000..bd7ad946 --- /dev/null +++ b/.pre-commit-hooks.yaml @@ -0,0 +1,7 @@ +- id: oxipng + name: oxipng + description: 'Multithreaded PNG optimizer written in Rust.' + entry: oxipng + language: rust + types: [png] + require_serial: true