chore: configure pre-commit as git hook

This commit is contained in:
Sarah Vaupel 2022-10-14 19:53:15 +02:00
parent f5ea1ce9c5
commit 56e9bc2cbd
2 changed files with 10 additions and 1 deletions

9
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,9 @@
# SPDX-FileCopyrightText: 2022 Sarah Vaupel <sarah.vaupel@ifi.lmu.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
repos:
- repo: https://github.com/fsfe/reuse-tool
rev: v1.0.0
hooks:
- id: reuse

View File

@ -77,7 +77,7 @@ in pkgs.mkShell {
nativeBuildInputs = [develop inDevelop killallUni2work diffRunning]
++ (with pkgs;
[ nodejs-14_x postgresql_12 openldap google-chrome exiftool memcached minio minio-client
gup skopeo
gup skopeo reuse pre-commit
# busybox # for print services, but interferes with build commands in develop-shell
htop
pdftk #pdftk just for testing pdf-passwords