Skip to content

Commit

Permalink
Merge pull request #10 from PowerGridModel/feature/update-copyright
Browse files Browse the repository at this point in the history
update copyright notice
  • Loading branch information
TonyXiang8787 authored Jan 30, 2024
2 parents 6466761 + 7e529b4 commit 77447f8
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 112 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/reuse-compliance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0


name: REUSE Compliance Check

on:
# run pipeline on push event of main or release branch
push:
branches:
- main
- 'release/**'
# run pipeline on pull request
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
reuse-compliance-check:
if: (github.event_name == 'push') || (!startsWith(github.head_ref, 'release'))
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v2
4 changes: 4 additions & 0 deletions .gitignore
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

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
107 changes: 0 additions & 107 deletions LICENSES/CC-BY-4.0.txt

This file was deleted.

3 changes: 3 additions & 0 deletions Power Grid Model Benchmark.ipynb.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>

SPDX-License-Identifier: MPL-2.0
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
-->

# Power Gird Model Benchmark

`power-grid-model-benchmark` is a benchmark example of [power-grid-model](https://github.com/PowerGridModel/power-grid-model) in a jupyter notebook on your local machine.
Expand Down
2 changes: 1 addition & 1 deletion dss_template.dss
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 generate_fictional_dataset.py
Original file line number Diff line number Diff line change
@@ -1,6 +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

import numpy as np
import pandas as pd
import pandapower as pp
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
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 requirements.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

0 comments on commit 77447f8

Please sign in to comment.