diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index 3e5d1bf6b..19a99c9b2 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -1,2 +1,7 @@ +# SPDX-FileCopyrightText: : 2022 The PyPSA-Eur Authors +# +# SPDX-License-Identifier: CC0-1.0 + +# Exclude pre-commit applications 5d1ef8a64055a039aa4a0834d2d26fe7752fe9a0 92080b1cd2ca5f123158571481722767b99c2b27 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f86151452..f4f2d6370 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: : 2022 The PyPSA-Eur Authors +# +# SPDX-License-Identifier: CC0-1.0 exclude: "^LICENSES" repos: @@ -81,3 +84,9 @@ repos: hooks: - id: jupyter-notebook-cleanup exclude: examples/solve-on-remote.ipynb + +# Check for FSFE REUSE compliance (licensing) +- repo: https://github.com/fsfe/reuse-tool + rev: v0.14.0 + hooks: + - id: reuse