fix reuse compliance and add reuse pre-commit

This commit is contained in:
Fabian 2022-09-20 13:36:46 +02:00
parent 763a090846
commit 1c7ddc9a03
2 changed files with 14 additions and 0 deletions

View File

@ -1,2 +1,7 @@
# SPDX-FileCopyrightText: : 2022 The PyPSA-Eur Authors
#
# SPDX-License-Identifier: CC0-1.0
# Exclude pre-commit applications
5d1ef8a64055a039aa4a0834d2d26fe7752fe9a0
92080b1cd2ca5f123158571481722767b99c2b27

View File

@ -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