From 70ea4469fa8cc1849717cea4d1615223cae4eb39 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 22 Feb 2023 09:54:58 +0200 Subject: [PATCH] .pre-commit-config.yaml: add reuse hook Two reasons: 1. pre-commit complains of missing .pre-commit-config.yaml 2. This branch is small and thus good for practice --- .pre-commit-config.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..998c2c7 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,11 @@ +# SPDX-FileCopyrightText: 2023 Aminda Suomalainen +# +# SPDX-License-Identifier: CC0-1.0 + +# See https://pre-commit.com for more information +# See https://pre-commit.com/hooks.html for more hooks +repos: +- repo: https://github.com/fsfe/reuse-tool + rev: v1.1.2 + hooks: + - id: reuse