Add pre-commit hook declaration (#431)

Fixes #429.
This commit is contained in:
Adam Johnson 2022-01-15 02:55:48 +00:00 committed by GitHub
parent faf10c64a9
commit acdd66b4c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

7
.pre-commit-hooks.yaml Normal file
View file

@ -0,0 +1,7 @@
- id: oxipng
name: oxipng
description: 'Multithreaded PNG optimizer written in Rust.'
entry: oxipng
language: rust
types: [png]
require_serial: true