Skip to content

Commit 1309fc2

Browse files
committed
use new reuse version
1 parent d6088a5 commit 1309fc2

6 files changed

Lines changed: 42 additions & 32 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ repos:
3333
hooks:
3434
- id: validate-cff
3535
- repo: https://github.com/fsfe/reuse-tool
36-
rev: 'v3.0.2'
36+
rev: 'v5.0.2'
3737
hooks:
3838
- id: reuse
3939

4040
- repo: https://github.com/Materials-Data-Science-and-Informatics/somesy
41-
rev: 'v0.4.3'
41+
rev: 'v0.7.0'
4242
hooks:
4343
- id: somesy
4444

.reuse/dep5

Lines changed: 0 additions & 16 deletions
This file was deleted.

REUSE.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version = 1
2+
SPDX-PackageName = "fair-python-cookiecutter"
3+
SPDX-PackageSupplier = "Anton Pirogov <a.pirogov@fz-juelich.de>"
4+
SPDX-PackageDownloadLocation = "https://github.com/Materials-Data-Science-and-Informatics/fair-python-cookiecutter"
5+
6+
[[annotations]]
7+
path = ["{{ cookiecutter**"]
8+
precedence = "aggregate"
9+
SPDX-FileCopyrightText = "2023 Forschungszentrum Jülich GmbH - Institute for Materials Data Science and Informatics (IAS9) - Stefan Sandfeld <s.sandfeld@fz-juelich.de>"
10+
SPDX-License-Identifier = "CC0-1.0"
11+
12+
[[annotations]]
13+
path = [".gitignore", "pyproject.toml", "poetry.lock", ".pre-commit-config.yaml", ".somesy.toml", "codemeta.json", "CITATION.cff", "README.md", "RELEASE_NOTES.md", "CHANGELOG.md", "CODE_OF_CONDUCT.md", "AUTHORS.md", "CONTRIBUTING.md", ".github/**", "mkdocs.yml", "**.txt", "docs/**", "REUSE.toml", "somesy.toml"]
14+
precedence = "aggregate"
15+
SPDX-FileCopyrightText = "2023 Forschungszentrum Jülich GmbH - Institute for Materials Data Science and Informatics (IAS9) - Stefan Sandfeld <s.sandfeld@fz-juelich.de>"
16+
SPDX-License-Identifier = "CC0-1.0"
17+
18+
[[annotations]]
19+
path = ["src/**", "tests/**", "hooks/**"]
20+
precedence = "aggregate"
21+
SPDX-FileCopyrightText = "2023 Forschungszentrum Jülich GmbH - Institute for Materials Data Science and Informatics (IAS9) - Stefan Sandfeld <s.sandfeld@fz-juelich.de>"
22+
SPDX-License-Identifier = "MIT"

src/fair_python_cookiecutter/template/{{ cookiecutter.project_slug }}/.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ repos:
3131
hooks:
3232
- id: validate-cff
3333
- repo: https://github.com/fsfe/reuse-tool
34-
rev: 'v3.0.2'
34+
rev: 'v5.0.2'
3535
hooks:
3636
- id: reuse
3737

3838
# Project Metadata
3939
- repo: https://github.com/Materials-Data-Science-and-Informatics/somesy
40-
rev: 'v0.4.3'
40+
rev: 'v0.7.0'
4141
hooks:
4242
- id: somesy
4343

src/fair_python_cookiecutter/template/{{ cookiecutter.project_slug }}/.reuse/dep5

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version = 1
2+
SPDX-PackageName = "{{ cookiecutter.project_slug }}"
3+
SPDX-PackageSupplier = "{{ cookiecutter.author_name_email }}"
4+
SPDX-PackageDownloadLocation = "{{ cookiecutter.project_repo_url }}"
5+
6+
[[annotations]]
7+
path = [".gitignore", "pyproject.toml", "poetry.lock", ".pre-commit-config.yaml", "codemeta.json", "CITATION.cff", "README.md", "RELEASE_NOTES.md", "CHANGELOG.md", "CODE_OF_CONDUCT.md", "AUTHORS.md", "CONTRIBUTING.md", ".gitlab-ci.yml", ".gitlab/**", ".github/**", "mkdocs.yml", "docs/**", "somesy.toml"]
8+
precedence = "aggregate"
9+
SPDX-FileCopyrightText = "{{ cookiecutter.copyright_text }}"
10+
SPDX-License-Identifier = "CC0-1.0"
11+
12+
[[annotations]]
13+
path = ["src/{{ cookiecutter.project_package }}/**", "tests/**"]
14+
precedence = "aggregate"
15+
SPDX-FileCopyrightText = "{{ cookiecutter.copyright_text }}"
16+
SPDX-License-Identifier = "{{ cookiecutter.project_license }}"

0 commit comments

Comments
 (0)