From acdd66b4c5a5fda8b08281ad9b3216327b6847b4 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Sat, 15 Jan 2022 02:55:48 +0000 Subject: [PATCH] Add pre-commit hook declaration (#431) 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