diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 000000000..32afb2154 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,9 @@ +# SPDX-FileCopyrightText: 2022 Sarah Vaupel +# +# SPDX-License-Identifier: AGPL-3.0-or-later + +repos: + - repo: https://github.com/fsfe/reuse-tool + rev: v1.0.0 + hooks: + - id: reuse diff --git a/shell.nix b/shell.nix index ee48fe9b2..80b80297b 100644 --- a/shell.nix +++ b/shell.nix @@ -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