Skip to content

Commit abe89ac

Browse files
Merge branch 'main' into 4-build-automation
2 parents 7e643d3 + 8897ba0 commit abe89ac

6 files changed

Lines changed: 39 additions & 1 deletion

File tree

.gitignore

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1+
# SPDX-FileCopyrightText: 2024 German Aerospace Center (DLR)
2+
#
3+
# SPDX-License-Identifier: CC0-1.0
4+
5+
# SPDX-FileContributor: Michael Meinel
6+
# SPDX-FileContributor: Michael Fritzsche
7+
18
src/hermes_toml/__pycache__/
29
src/hermes_toml/util/__pycache__/
310
.pytest_cache/
411
__pycache__/
512
hermes.toml
613
.hermes/
7-
.coverage
14+
.coverage

pyproject.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# SPDX-FileCopyrightText: 2024 German Aerospace Center (DLR)
2+
#
3+
# SPDX-License-Identifier: CC0-1.0
4+
5+
# SPDX-FileContributor: Michael Meinel
6+
# SPDX-FileContributor: Michael Fritzsche
7+
18
[build-system]
29
requires = ["setuptools >= 70.1.1"]
310
build-backend = "setuptools.build_meta"
@@ -40,3 +47,7 @@ Repository = "https://github.com/hermes-hmc/hermes-plugin-python"
4047
cff = "hermes.commands.harvest.cff:CffHarvestPlugin"
4148
codemeta = "hermes.commands.harvest.codemeta:CodeMetaHarvestPlugin"
4249
toml = "hermes_toml.harvest:TomlHarvestPlugin"
50+
51+
[tool.setuptools]
52+
packages = ["hermes_toml"]
53+
package-dir = {"" = "src"}

src/hermes_toml/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# SPDX-FileCopyrightText: 2024 German Aerospace Center (DLR)
2+
#
3+
# SPDX-License-Identifier: CC0-1.0

src/hermes_toml/harvest.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# SPDX-FileCopyrightText: 2024 German Aerospace Center (DLR)
2+
#
3+
# SPDX-License-Identifier: CC0-1.0
4+
5+
# SPDX-FileContributor: Michael Meinel
6+
# SPDX-FileContributor: Michael Fritzsche
7+
18
"""A hermes harvest plugin that harvests the .toml file of the project"""
29

310
from contextlib import chdir

test/hermes_toml_test/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# SPDX-FileCopyrightText: 2024 German Aerospace Center (DLR)
2+
#
3+
# SPDX-License-Identifier: CC0-1.0

test/hermes_toml_test/test_harvest.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# SPDX-FileCopyrightText: 2024 German Aerospace Center (DLR)
2+
#
3+
# SPDX-License-Identifier: CC0-1.0
4+
5+
# SPDX-FileContributor: Michael Meinel
6+
# SPDX-FileContributor: Michael Fritzsche
7+
18
import pytest
29
import toml
310
from hermes_toml.harvest import TomlHarvestPlugin

0 commit comments

Comments
 (0)