Skip to content

Commit

Permalink
[issue_2] introduce REUSE
Browse files Browse the repository at this point in the history
Signed-off-by: Meret Behrens <[email protected]>
  • Loading branch information
meretp committed Apr 13, 2023
1 parent 2db8be6 commit 3da1460
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2023 TNG Technology Consulting GmbH <https://www.tngtech.com>
#
# SPDX-License-Identifier: Apache-2.0
[flake8]
max-line-length = 88
extend-ignore = E203
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# SPDX-FileCopyrightText: TNG Technology Consulting GmbH <https://www.tngtech.com>
#
# SPDX-License-Identifier: Apache-2.0

name: REUSE Compliance Check

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
reuse:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v1
9 changes: 9 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://github.com/opossum-tool/opossum-lib.py

Files: *.json
**.gitignore
**.opossum
*.lock
Copyright: TNG Technology Consulting GmbH <https://www.tngtech.com>
License: Apache-2.0
1 change: 1 addition & 0 deletions LICENSES/Apache-2.0.txt
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
<!--
SPDX-FileCopyrightText: 2023 TNG Technology Consulting GmbH <https://www.tngtech.com>
SPDX-License-Identifier: Apache-2.0
-->
# opossum.lib.py
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2023 TNG Technology Consulting GmbH <https://www.tngtech.com>
#
# SPDX-License-Identifier: Apache-2.0
[tool.poetry]
name = "opossum.lib.py"
version = "0.1"
Expand Down
3 changes: 3 additions & 0 deletions scripts/linter_and_formatting.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2023 TNG Technology Consulting GmbH <https://www.tngtech.com>
#
# SPDX-License-Identifier: Apache-2.0
#!/usr/bin/env bash

cd "$(dirname "${BASH_SOURCE[0]}")"/..
Expand Down

0 comments on commit 3da1460

Please sign in to comment.