Skip to content

Commit 6a974d0

Browse files
authored
chore: update SPDX for reuse (#1475)
* chore: update SPDX for reuse * fix header in ci
1 parent cf1eb86 commit 6a974d0

File tree

184 files changed

+193
-216
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

184 files changed

+193
-216
lines changed

.git-blame-ignore-revs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: : 2022 The PyPSA-Eur Authors
1+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

.gitattributes

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: : 2017-2024 The PyPSA-Eur Authors
1+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

.github/workflows/test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: : 2021-2024 The PyPSA-Eur Authors
1+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

.github/workflows/update-pinned-env.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ jobs:
4545
- name: Add SPDX header
4646
if: ${{ matrix.suffix != 'windows' }}
4747
run: |
48-
SPDX_HEADER="# SPDX-FileCopyrightText: 2017-2024 The PyPSA-Eur Authors\n# SPDX-License-Identifier: CC0-1.0\n"
48+
SPDX_HEADER="# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>\n# SPDX-License-Identifier: CC0-1.0\n"
4949
echo -e "$SPDX_HEADER" | cat - envs/${{ matrix.suffix }}-pinned.yaml > temp && mv temp envs/${{ matrix.suffix }}-pinned.yaml
5050
5151
- name: Add SPDX header (windows)
5252
if: ${{ matrix.suffix == 'windows' }}
5353
run: |
54-
$SPDX_HEADER = "# SPDX-FileCopyrightText: 2017-2024 The PyPSA-Eur Authors`r`n# SPDX-License-Identifier: CC0-1.0`r`n`r`n"
54+
$SPDX_HEADER = "# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>`r`n# SPDX-License-Identifier: CC0-1.0`r`n`r`n"
5555
$CurrentContent = Get-Content "envs/${{ matrix.suffix }}-pinned.yaml" -Raw
5656
$NewContent = $SPDX_HEADER + $CurrentContent
5757
$NewContent | Set-Content "envs/${{ matrix.suffix }}-pinned.yaml"

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: : 2017-2024 The PyPSA-Eur Authors
1+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: : 2022 The PyPSA-Eur Authors
1+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
22
#
33
# SPDX-License-Identifier: CC0-1.0
44
exclude: "^LICENSES"

.readthedocs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: : 2017-2024 The PyPSA-Eur Authors
1+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

.sync-send

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: : 2021-2024 The PyPSA-Eur Authors
1+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

CITATION.cff

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: : 2021 The PyPSA-Eur Authors
1+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

CODEOWNERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: : 2024 The PyPSA-Eur Authors
1+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: : 2021-2024 The PyPSA-Eur Authors
1+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

README.md

+1-1

Snakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: : 2017-2024 The PyPSA-Eur Authors
1+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
22
#
33
# SPDX-License-Identifier: MIT
44

config/config.default.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: : 2017-2024 The PyPSA-Eur Authors
1+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

config/examples/config.entsoe-all.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: 2017-2024 The PyPSA-Eur Authors
1+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

config/examples/config.perfect.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: : 2017-2024 The PyPSA-Eur Authors
1+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
22
#
33
# SPDX-License-Identifier: CC0-1.0
44
run:

config/examples/config.validation.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: : 2017-2024 The PyPSA-Eur Authors
1+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
22
#
33
# SPDX-License-Identifier: CC0-1.0
44
run:

config/scenarios.template.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# SPDX-FileCopyrightText: : 2017-2023 The PyPSA-Eur Authors
2+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
33
#
44
# SPDX-License-Identifier: MIT
55

config/test/config.electricity.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: : 2017-2024 The PyPSA-Eur Authors
1+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

config/test/config.myopic.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: : 2017-2024 The PyPSA-Eur Authors
1+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

config/test/config.overnight.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: : 2017-2024 The PyPSA-Eur Authors
1+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

config/test/config.perfect.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: : 2017-2024 The PyPSA-Eur Authors
1+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

config/test/config.scenarios.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: : 2017-2023 The PyPSA-Eur Authors
1+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

config/test/config.validator.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: : 2017-2024 The PyPSA-Eur Authors
1+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

config/test/scenarios.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: : 2017-2023 The PyPSA-Eur Authors
1+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

doc/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: 2017-2024 The PyPSA-Eur Authors
1+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
22
#
33
# SPDX-License-Identifier: MIT
44

doc/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# SPDX-FileCopyrightText: 20017-2020 The PyPSA-Eur Authors
2+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
33
#
44
# SPDX-License-Identifier: MIT
55

doc/configuration.rst

+1-1

doc/contributing.rst

+1-1

doc/costs.rst

+1-1

doc/data-base-network.rst

+1-1

doc/data-bundle.rst

+1-1

doc/data-repos.rst

+1-1

doc/data-retrieval.rst

+1-1

doc/data_sources.rst

+1-1

doc/foresight.rst

+1-1

doc/index.rst

+1-1

doc/installation.rst

+1-1

doc/introduction.rst

+1-1

doc/licenses.rst

+1-1

doc/limitations.rst

+1-1

doc/make.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
REM SPDX-FileCopyrightText: 2019-2024 The PyPSA-Eur Authors
1+
REM SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
22
REM SPDX-License-Identifier: MIT
33

44
@ECHO OFF

doc/plotting.rst

+1-1

doc/preparation.rst

+1-1

doc/publications.bib

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@Comment{
2-
SPDX-FileCopyrightText: 2023-2024 The PyPSA-Eur Authors
2+
SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
33
44
SPDX-License-Identifier: CC0-1.0
55
}

doc/publications.rst

+1-1

doc/release_notes.rst

+1-1

doc/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: : 2019-2024 The PyPSA-Eur Authors
1+
# SPDX-FileCopyrightText: Contributors to PyPSA-Eur <https://github.com/pypsa/pypsa-eur>
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

doc/retrieve.rst

+1-1

doc/sector.rst

+1-1

doc/simplification.rst

+1-1

doc/solving.rst

+1-1

doc/spatial_resolution.rst

+1-1

doc/supply_demand.rst

+1-1

doc/support.rst

+1-1

doc/tutorial.rst

+1-1

doc/tutorial_sector.rst

+1-1

doc/validation.rst

+1-1

doc/wildcards.rst

+1-1

0 commit comments

Comments
 (0)