Skip to content

Commit

Permalink
shorten copyright statements
Browse files Browse the repository at this point in the history
Signed-off-by: Martijn Govers <[email protected]>
  • Loading branch information
mgovers committed Jan 30, 2024
1 parent 48d236e commit 40a8bb1
Show file tree
Hide file tree
Showing 535 changed files with 833 additions and 777 deletions.
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 1 addition & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0
---
Expand Down
4 changes: 4 additions & 0 deletions .github/conda_pgm_env.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0

name: conda-pgm-env
channels:
- conda-forge
Expand Down
2 changes: 1 addition & 1 deletion .github/dco.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0

Expand Down
3 changes: 1 addition & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0


version: 2
updates:
- package-ecosystem: "github-actions"
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/check-code-quality.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0


# GitHub Action that uses
# isort, black, mypy and pylint to reformat the Python code in an incoming pull request.
# clang-format to reformat the C++ code in an incoming pull request.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/citations.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0


# This is a basic workflow to help you get started with Actions

name: Build and Test C++ and Python
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/reuse-compliance.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0


name: REUSE Compliance Check

on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0

Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0


## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0

repos:
- repo: https://github.com/fsfe/reuse-tool
rev: v2.1.0
rev: v3.0.1
hooks:
- id: reuse
- repo: https://github.com/pycqa/isort
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0

Expand Down
8 changes: 4 additions & 4 deletions .reuse/dep5
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: power-grid-model
Upstream-Contact: Dynamic Grid Calculation <[email protected]>
Upstream-Contact: Power Grid Model project <[email protected]>
Source: https://github.com/PowerGridModel/power-grid-model

Files: *
Copyright: 2017-2022 Contributors to the Power Grid Model project <[email protected]>
License: MPL-2.0
Files: ./*
Copyright: Contributors to the Power Grid Model project <[email protected]>
License: MPL-2.0
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0

Expand Down
4 changes: 2 additions & 2 deletions CMakePresets.json.license
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>

SPDX-License-Identifier: MPL-2.0
SPDX-License-Identifier: MPL-2.0
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<!--
SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
SPDX-License-Identifier: MPL-2.0
-->

[![PyPI version](https://badge.fury.io/py/power-grid-model.svg?no-cache)](https://badge.fury.io/py/power-grid-model)
[![Anaconda-Server Badge](https://anaconda.org/conda-forge/power-grid-model/badges/version.svg?no-cache)](https://anaconda.org/conda-forge/power-grid-model)
[![License: MIT](https://img.shields.io/badge/License-MPL2.0-informational.svg)](https://github.com/PowerGridModel/power-grid-model/blob/main/LICENSE)
Expand Down
4 changes: 2 additions & 2 deletions VERSION.license
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>

SPDX-License-Identifier: MPL-2.0
SPDX-License-Identifier: MPL-2.0
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 1 addition & 1 deletion cmake/README.md.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>

SPDX-License-Identifier: MPL-2.0
-->
Expand Down
2 changes: 1 addition & 1 deletion cmake/export_power_grid_model.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 1 addition & 1 deletion cmake/pgm_version.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 1 addition & 1 deletion cmake/power_grid_modelConfig.cmake.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 1 addition & 1 deletion code_generation/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0
2 changes: 1 addition & 1 deletion code_generation/code_gen.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0

Expand Down
4 changes: 2 additions & 2 deletions code_generation/data/attribute_classes/input.json.license
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>

SPDX-License-Identifier: MPL-2.0
SPDX-License-Identifier: MPL-2.0
4 changes: 2 additions & 2 deletions code_generation/data/attribute_classes/output.json.license
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>

SPDX-License-Identifier: MPL-2.0
SPDX-License-Identifier: MPL-2.0
4 changes: 2 additions & 2 deletions code_generation/data/attribute_classes/update.json.license
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>

SPDX-License-Identifier: MPL-2.0
SPDX-License-Identifier: MPL-2.0
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>

SPDX-License-Identifier: MPL-2.0
SPDX-License-Identifier: MPL-2.0
2 changes: 1 addition & 1 deletion code_generation/meta_data.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0

Expand Down
4 changes: 2 additions & 2 deletions code_generation/requirements.txt.license
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>

SPDX-License-Identifier: MPL-2.0
SPDX-License-Identifier: MPL-2.0
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic[email protected]>
// SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
//
// SPDX-License-Identifier: MPL-2.0

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic[email protected]>
// SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
//
// SPDX-License-Identifier: MPL-2.0

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic[email protected]>
// SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
//
// SPDX-License-Identifier: MPL-2.0

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic[email protected]>
// SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
//
// SPDX-License-Identifier: MPL-2.0

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic[email protected]>
// SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
//
// SPDX-License-Identifier: MPL-2.0

Expand Down
4 changes: 2 additions & 2 deletions docs/_static/css/custom.css.license
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>

SPDX-License-Identifier: MPL-2.0
SPDX-License-Identifier: MPL-2.0
2 changes: 1 addition & 1 deletion docs/advanced_documentation/build-guide.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
SPDX-License-Identifier: MPL-2.0
-->
Expand Down
2 changes: 1 addition & 1 deletion docs/advanced_documentation/c-api.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
SPDX-License-Identifier: MPL-2.0
-->
Expand Down
2 changes: 1 addition & 1 deletion docs/advanced_documentation/core-design.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
SPDX-License-Identifier: MPL-2.0
-->
Expand Down
2 changes: 1 addition & 1 deletion docs/advanced_documentation/native-data-interface.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
SPDX-License-Identifier: MPL-2.0
-->
Expand Down
3 changes: 2 additions & 1 deletion docs/api_reference/power-grid-model-c-api-reference.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.. SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
.. SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
..
.. SPDX-License-Identifier: MPL-2.0
=====
Expand Down
2 changes: 1 addition & 1 deletion docs/api_reference/python-api-reference.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
SPDX-License-Identifier: MPL-2.0
-->
Expand Down
10 changes: 6 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0

# Configuration file for the Sphinx documentation builder.
"""
Configuration file for the Sphinx documentation builder.
"""

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

project = "power-grid-model"
copyright = "2022, Alliander Dynamic Grid Calculation"
author = "Alliander Dynamic Grid Calculation"
copyright = "2022-2024, Power Grid Model organization"
author = "Power Grid Model organization"

# -- Setup

Expand Down
3 changes: 1 addition & 2 deletions docs/contribution/folder-structure.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<!--
SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
SPDX-License-Identifier: MPL-2.0
-->


# Folder Structure of the Repository

The repository folder structure is as follows. The `docs` and `scripts` folders are self-explanatory.
Expand Down
2 changes: 1 addition & 1 deletion docs/doxygen/Doxyfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0

Expand Down
4 changes: 2 additions & 2 deletions docs/examples/Make Test Dataset.ipynb.license
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>

SPDX-License-Identifier: MPL-2.0
SPDX-License-Identifier: MPL-2.0
2 changes: 1 addition & 1 deletion docs/examples/Power Flow Example.ipynb.license
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model Workshop project <[email protected]>
SPDX-FileCopyrightText: 2024 Contributors to the Power Grid Model project <[email protected]>

SPDX-License-Identifier: MPL-2.0
2 changes: 1 addition & 1 deletion docs/examples/Serialization Example.ipynb.license
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model Workshop project <[email protected]>
SPDX-FileCopyrightText: 2024 Contributors to the Power Grid Model project <[email protected]>

SPDX-License-Identifier: MPL-2.0
2 changes: 1 addition & 1 deletion docs/examples/Short Circuit Example.ipynb.license
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model Workshop project <[email protected]>
SPDX-FileCopyrightText: 2024 Contributors to the Power Grid Model project <[email protected]>

SPDX-License-Identifier: MPL-2.0
Loading

0 comments on commit 40a8bb1

Please sign in to comment.