From 570154fa78fdc77056e6bec8d8dd1a3cf365e9e2 Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Fri, 11 Sep 2020 15:41:23 +0200 Subject: [PATCH] add license to .pre-commit --- .pre-commit-config.yaml | 8 ++++++++ {.licenses => LICENSES}/CC-BY-4.0.txt | 0 {.licenses => LICENSES}/CC0-1.0.txt | 0 {.licenses => LICENSES}/GPL-3.0-or-later.txt | 0 4 files changed, 8 insertions(+) rename {.licenses => LICENSES}/CC-BY-4.0.txt (100%) rename {.licenses => LICENSES}/CC0-1.0.txt (100%) rename {.licenses => LICENSES}/GPL-3.0-or-later.txt (100%) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d04178b6..f590f447 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: : 2017-2020 The PyPSA-Eur Authors +# +# SPDX-License-Identifier: CC0-1.0 + repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.4.0 @@ -8,3 +12,7 @@ repos: - id: check-merge-conflict - id: check-added-large-files args: ['--maxkb=2000'] +- repo: https://github.com/fsfe/reuse-tool + rev: latest + hooks: + - id: reuse diff --git a/.licenses/CC-BY-4.0.txt b/LICENSES/CC-BY-4.0.txt similarity index 100% rename from .licenses/CC-BY-4.0.txt rename to LICENSES/CC-BY-4.0.txt diff --git a/.licenses/CC0-1.0.txt b/LICENSES/CC0-1.0.txt similarity index 100% rename from .licenses/CC0-1.0.txt rename to LICENSES/CC0-1.0.txt diff --git a/.licenses/GPL-3.0-or-later.txt b/LICENSES/GPL-3.0-or-later.txt similarity index 100% rename from .licenses/GPL-3.0-or-later.txt rename to LICENSES/GPL-3.0-or-later.txt