Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relicence + REUSE compliance #87

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ Closes # (if applicable).
- [ ] Data source for new technologies is cleary stated.
- [ ] Newly introduced dependencies are added to `environment.yaml` (if applicable).
- [ ] A note for the release notes `doc/release_notes.rst` of the upcoming release is included.
- [ ] I consent to the release of this PR's code under the GPLv3 license.
- [ ] I consent to the release of this PR's code under the MIT/CC-BY-4.0 licence.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@

# SPDX-FileCopyrightText: The Technology Data Authors
#
# SPDX-License-Identifier: CC0-1.0

.snakemake
_build
Expand All @@ -19,3 +21,5 @@ gurobi.log
*.cb
*.cb2
.*.lb

.vscode/
20 changes: 0 additions & 20 deletions .gitignore.save

This file was deleted.

10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# SPDX-FileCopyrightText: The Technology Data Authors
#
# SPDX-License-Identifier: CC0-1.0

repos:
# Check for FSFE REUSE compliance (licences)
- repo: https://github.com/fsfe/reuse-tool
rev: v2.1.0
hooks:
- id: reuse
4 changes: 4 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: The Technology Data Authors
#
# SPDX-License-Identifier: CC0-1.0

version: 2

build:
Expand Down
25 changes: 25 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Technology Data
Upstream-Contact: <>
Source: https://github.com/pypsa/technology-data

Files: .github/*
Copyright: The Technology Data Authors
License: CC0-1.0

Files:
docs/data.csv
docs/parameter.csv
inputs/manual_input.csv
inputs/costs_PyPSA.csv
latex_tables/*
outputs/*
Copyright: The Technology Data Authors
License: CC-BY-4.0

# Code files in latex_tables are licensed under MIT, not CC-BY-4.0
# (Last paragraph takes precedence by DEP5 specification)
Files:
latex_tables/*.py
Copyright: The Technology Data Authors
License: MIT
4 changes: 4 additions & 0 deletions .syncignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: The Technology Data Authors
#
# SPDX-License-Identifier: CC0-1.0

.snakemake
.git
.pytest_cache
Expand Down
3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

Loading
Loading