From ab28692b1ca77b5117dbf97012999e4164ff33c0 Mon Sep 17 00:00:00 2001 From: Jaspar Stach Date: Tue, 10 Oct 2023 09:28:48 +0200 Subject: [PATCH] Docs: Update Headers --- pontos/__init__.py | 2 +- pontos/changelog/__init__.py | 2 +- pontos/changelog/conventional_commits.py | 2 +- pontos/changelog/main.py | 2 +- pontos/errors.py | 2 +- pontos/git/__init__.py | 2 +- pontos/git/git.py | 2 +- pontos/github/__init__.py | 2 +- pontos/github/actions/__init__.py | 2 +- pontos/github/actions/argparser.py | 2 +- pontos/github/actions/cmds.py | 2 +- pontos/github/actions/core.py | 2 +- pontos/github/actions/env.py | 2 +- pontos/github/actions/errors.py | 2 +- pontos/github/actions/event.py | 2 +- pontos/github/actions/main.py | 2 +- pontos/github/api/__init__.py | 2 +- pontos/github/api/artifacts.py | 2 +- pontos/github/api/branch.py | 2 +- pontos/github/api/client.py | 2 +- pontos/github/api/contents.py | 2 +- pontos/github/api/errors.py | 2 +- pontos/github/api/helper.py | 2 +- pontos/github/api/labels.py | 2 +- pontos/github/api/organizations.py | 2 +- pontos/github/api/pull_requests.py | 2 +- pontos/github/api/release.py | 2 +- pontos/github/api/repositories.py | 2 +- pontos/github/api/tags.py | 2 +- pontos/github/api/teams.py | 2 +- pontos/github/api/workflows.py | 2 +- pontos/github/argparser.py | 2 +- pontos/github/cmds.py | 2 +- pontos/github/main.py | 2 +- pontos/github/models/artifact.py | 2 +- pontos/github/models/base.py | 2 +- pontos/github/models/branch.py | 2 +- pontos/github/models/organization.py | 2 +- pontos/github/models/pull_request.py | 2 +- pontos/github/models/release.py | 2 +- pontos/github/models/tag.py | 2 +- pontos/github/models/workflow.py | 2 +- pontos/github/script/__init__.py | 2 +- pontos/github/script/errors.py | 2 +- pontos/github/script/load.py | 2 +- pontos/github/script/parser.py | 2 +- pontos/github/scripts/__init__.py | 3 +++ pontos/github/scripts/artifacts-download.py | 2 +- pontos/github/scripts/artifacts-sum.py | 2 +- pontos/github/scripts/artifacts.py | 2 +- pontos/github/scripts/branchprotection.py | 2 +- pontos/github/scripts/create-repository.py | 2 +- pontos/github/scripts/enforce-admins.py | 2 +- pontos/github/scripts/lock-branch.py | 2 +- pontos/github/scripts/members.py | 2 +- pontos/github/scripts/release-assets-download.py | 2 +- pontos/github/scripts/repositories.py | 2 +- pontos/github/scripts/search-repositories.py | 2 +- pontos/github/scripts/team-repositories.py | 2 +- pontos/github/scripts/teams.py | 2 +- pontos/github/scripts/topics.py | 2 +- pontos/github/scripts/workflow-runs.py | 2 +- pontos/helper.py | 2 +- pontos/models/__init__.py | 2 +- pontos/nvd/__init__.py | 2 +- pontos/nvd/api.py | 2 +- pontos/nvd/cpe/__init__.py | 2 +- pontos/nvd/cpe/api.py | 2 +- pontos/nvd/cve/__init__.py | 2 +- pontos/nvd/cve/api.py | 2 +- pontos/nvd/models/__init__.py | 2 +- pontos/nvd/models/cpe.py | 2 +- pontos/nvd/models/cve.py | 2 +- pontos/nvd/models/cvss_v2.py | 2 +- pontos/nvd/models/cvss_v3.py | 2 +- pontos/pontos.py | 2 +- pontos/release/__init__.py | 2 +- pontos/release/create.py | 2 +- pontos/release/helper.py | 2 +- pontos/release/main.py | 2 +- pontos/release/sign.py | 2 +- pontos/terminal/__init__.py | 2 +- pontos/terminal/null.py | 2 +- pontos/terminal/rich.py | 2 +- pontos/terminal/terminal.py | 2 +- pontos/testing/__init__.py | 2 +- pontos/updateheader/__init__.py | 2 +- pontos/updateheader/__main__.py | 2 +- pontos/updateheader/updateheader.py | 2 +- pontos/version/__init__.py | 2 +- pontos/version/__main__.py | 2 +- pontos/version/commands/_cargo.py | 4 ++++ pontos/version/commands/_cmake.py | 2 +- pontos/version/commands/_command.py | 4 ++++ pontos/version/commands/_go.py | 2 +- pontos/version/commands/_java.py | 6 +++--- pontos/version/commands/_javascript.py | 2 +- pontos/version/commands/_python.py | 2 +- pontos/version/helper.py | 2 +- pontos/version/main.py | 2 +- pontos/version/schemes/__init__.py | 4 ++++ pontos/version/schemes/_pep440.py | 4 ++++ pontos/version/schemes/_scheme.py | 4 ++++ pontos/version/schemes/_semantic.py | 4 ++++ pontos/version/version.py | 2 +- tests/__init__.py | 2 +- tests/changelog/__init__.py | 2 +- tests/changelog/test_conventional_commits.py | 2 +- tests/git/__init__.py | 2 +- tests/git/test_git.py | 2 +- tests/github/__init__.py | 2 +- tests/github/actions/__init__.py | 2 +- tests/github/actions/test_core.py | 2 +- tests/github/actions/test_env.py | 2 +- tests/github/actions/test_event.py | 2 +- tests/github/api/__init__.py | 2 +- tests/github/api/test_artifacts.py | 2 +- tests/github/api/test_branch.py | 2 +- tests/github/api/test_client.py | 2 +- tests/github/api/test_contents.py | 2 +- tests/github/api/test_labels.py | 2 +- tests/github/api/test_organizations.py | 2 +- tests/github/api/test_release.py | 2 +- tests/github/api/test_repositories.py | 2 +- tests/github/api/test_tags.py | 2 +- tests/github/api/test_teams.py | 2 +- tests/github/api/test_workflows.py | 2 +- tests/github/models/__init__.py | 2 +- tests/github/models/test_artifact.py | 2 +- tests/github/models/test_base.py | 2 +- tests/github/models/test_branch.py | 2 +- tests/github/models/test_organization.py | 2 +- tests/github/models/test_pull_request.py | 2 +- tests/github/models/test_release.py | 2 +- tests/github/models/test_search.py | 2 +- tests/github/models/test_tag.py | 2 +- tests/github/models/test_workflow.py | 2 +- tests/github/script/__init__.py | 2 +- tests/github/script/test_load.py | 2 +- tests/github/script/test_parser.py | 2 +- tests/github/test_argparser.py | 2 +- tests/github/test_cmds.py | 2 +- tests/models/__init__.py | 2 +- tests/models/test_models.py | 2 +- tests/nvd/__init__.py | 2 +- tests/nvd/cpe/__init__.py | 2 +- tests/nvd/cpe/test_api.py | 2 +- tests/nvd/cve/__init__.py | 2 +- tests/nvd/cve/test_api.py | 2 +- tests/nvd/models/__init__.py | 2 +- tests/nvd/models/test_cpe.py | 4 ++++ tests/nvd/models/test_cve.py | 2 +- tests/nvd/test_api.py | 2 +- tests/release/__init__.py | 2 +- tests/release/test_create.py | 2 +- tests/release/test_helper.py | 2 +- tests/release/test_sign.py | 2 +- tests/terminal/__init__.py | 2 +- tests/terminal/test_terminal.py | 2 +- tests/test_helper.py | 2 +- tests/test_pontos.py | 2 +- tests/testing/__init__.py | 2 +- tests/testing/test_testing.py | 2 +- tests/updateheader/__init__.py | 2 +- tests/updateheader/test_header.py | 2 +- tests/version/__init__.py | 2 +- tests/version/commands/__init__.py | 4 ++++ tests/version/commands/test_cargo.py | 12 +++++++----- tests/version/commands/test_cmake.py | 2 +- tests/version/commands/test_go.py | 2 +- tests/version/commands/test_python.py | 2 +- tests/version/schemes/__init__.py | 4 ++++ tests/version/schemes/test_semantic.py | 4 ++++ tests/version/test_helper.py | 2 +- 174 files changed, 214 insertions(+), 169 deletions(-) diff --git a/pontos/__init__.py b/pontos/__init__.py index 9ffd2bee4..19a2f80d3 100644 --- a/pontos/__init__.py +++ b/pontos/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/changelog/__init__.py b/pontos/changelog/__init__.py index 670b64875..190aec507 100644 --- a/pontos/changelog/__init__.py +++ b/pontos/changelog/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/changelog/conventional_commits.py b/pontos/changelog/conventional_commits.py index ecd1e16e2..fd13383bb 100644 --- a/pontos/changelog/conventional_commits.py +++ b/pontos/changelog/conventional_commits.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/changelog/main.py b/pontos/changelog/main.py index 83d18f364..671dc63c8 100644 --- a/pontos/changelog/main.py +++ b/pontos/changelog/main.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/errors.py b/pontos/errors.py index 2e57d02c4..029f7895c 100644 --- a/pontos/errors.py +++ b/pontos/errors.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/git/__init__.py b/pontos/git/__init__.py index 281bad159..31663e8d5 100644 --- a/pontos/git/__init__.py +++ b/pontos/git/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/git/git.py b/pontos/git/git.py index cc2ae1c14..cf1df50bb 100644 --- a/pontos/git/git.py +++ b/pontos/git/git.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/__init__.py b/pontos/github/__init__.py index 09f98e0c1..0bebd9a79 100644 --- a/pontos/github/__init__.py +++ b/pontos/github/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/actions/__init__.py b/pontos/github/actions/__init__.py index 02156cd48..e0b2ccd31 100644 --- a/pontos/github/actions/__init__.py +++ b/pontos/github/actions/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/actions/argparser.py b/pontos/github/actions/argparser.py index 2db6bba6f..a4bb28861 100644 --- a/pontos/github/actions/argparser.py +++ b/pontos/github/actions/argparser.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/actions/cmds.py b/pontos/github/actions/cmds.py index 57b7e6e90..d0fa931a9 100644 --- a/pontos/github/actions/cmds.py +++ b/pontos/github/actions/cmds.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/actions/core.py b/pontos/github/actions/core.py index 2659e811e..2ba2ed741 100644 --- a/pontos/github/actions/core.py +++ b/pontos/github/actions/core.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/actions/env.py b/pontos/github/actions/env.py index 699138512..4995ad971 100644 --- a/pontos/github/actions/env.py +++ b/pontos/github/actions/env.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/actions/errors.py b/pontos/github/actions/errors.py index 7aac41c8e..31c9e4d33 100644 --- a/pontos/github/actions/errors.py +++ b/pontos/github/actions/errors.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/actions/event.py b/pontos/github/actions/event.py index f61abeab5..c5fd82408 100644 --- a/pontos/github/actions/event.py +++ b/pontos/github/actions/event.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/actions/main.py b/pontos/github/actions/main.py index 6c19c43ab..674e7f367 100644 --- a/pontos/github/actions/main.py +++ b/pontos/github/actions/main.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/api/__init__.py b/pontos/github/api/__init__.py index 44c5d538e..7381969a7 100644 --- a/pontos/github/api/__init__.py +++ b/pontos/github/api/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/api/artifacts.py b/pontos/github/api/artifacts.py index f4898e1a8..7332c12c5 100644 --- a/pontos/github/api/artifacts.py +++ b/pontos/github/api/artifacts.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/api/branch.py b/pontos/github/api/branch.py index 7361c1160..b8ec49f29 100644 --- a/pontos/github/api/branch.py +++ b/pontos/github/api/branch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/api/client.py b/pontos/github/api/client.py index a512fd796..10d0b3c1d 100644 --- a/pontos/github/api/client.py +++ b/pontos/github/api/client.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/api/contents.py b/pontos/github/api/contents.py index eaffdc864..49cfe18e2 100644 --- a/pontos/github/api/contents.py +++ b/pontos/github/api/contents.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/api/errors.py b/pontos/github/api/errors.py index 5de98a533..bdcef8b72 100644 --- a/pontos/github/api/errors.py +++ b/pontos/github/api/errors.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/api/helper.py b/pontos/github/api/helper.py index 49562f66e..51f5cc98c 100644 --- a/pontos/github/api/helper.py +++ b/pontos/github/api/helper.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/api/labels.py b/pontos/github/api/labels.py index a99e21fa4..9a7e22258 100644 --- a/pontos/github/api/labels.py +++ b/pontos/github/api/labels.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/api/organizations.py b/pontos/github/api/organizations.py index 7b4b83509..e87951778 100644 --- a/pontos/github/api/organizations.py +++ b/pontos/github/api/organizations.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/api/pull_requests.py b/pontos/github/api/pull_requests.py index 69cd982d1..7d5db1a84 100644 --- a/pontos/github/api/pull_requests.py +++ b/pontos/github/api/pull_requests.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/api/release.py b/pontos/github/api/release.py index 386ac2cd7..72b1e5148 100644 --- a/pontos/github/api/release.py +++ b/pontos/github/api/release.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/api/repositories.py b/pontos/github/api/repositories.py index 0aeda98d9..82a31d634 100644 --- a/pontos/github/api/repositories.py +++ b/pontos/github/api/repositories.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/api/tags.py b/pontos/github/api/tags.py index 7c44562e5..5baf06b64 100644 --- a/pontos/github/api/tags.py +++ b/pontos/github/api/tags.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/api/teams.py b/pontos/github/api/teams.py index a22af9cbe..17b61dc5a 100644 --- a/pontos/github/api/teams.py +++ b/pontos/github/api/teams.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/api/workflows.py b/pontos/github/api/workflows.py index d13ac1513..635790fe8 100644 --- a/pontos/github/api/workflows.py +++ b/pontos/github/api/workflows.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/argparser.py b/pontos/github/argparser.py index acc93fafe..a0cd4b3b4 100644 --- a/pontos/github/argparser.py +++ b/pontos/github/argparser.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/cmds.py b/pontos/github/cmds.py index f364db1fe..726b10741 100644 --- a/pontos/github/cmds.py +++ b/pontos/github/cmds.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/main.py b/pontos/github/main.py index c66057a1c..3a31744d7 100644 --- a/pontos/github/main.py +++ b/pontos/github/main.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/models/artifact.py b/pontos/github/models/artifact.py index 2bd9000e2..2d6eca61d 100644 --- a/pontos/github/models/artifact.py +++ b/pontos/github/models/artifact.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/models/base.py b/pontos/github/models/base.py index d2541cc05..ce14f1425 100644 --- a/pontos/github/models/base.py +++ b/pontos/github/models/base.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/models/branch.py b/pontos/github/models/branch.py index 321045c89..7e82d5cbf 100644 --- a/pontos/github/models/branch.py +++ b/pontos/github/models/branch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/models/organization.py b/pontos/github/models/organization.py index 9cff91556..c3550b494 100644 --- a/pontos/github/models/organization.py +++ b/pontos/github/models/organization.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/models/pull_request.py b/pontos/github/models/pull_request.py index 2c6fc6536..5f286223d 100644 --- a/pontos/github/models/pull_request.py +++ b/pontos/github/models/pull_request.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/models/release.py b/pontos/github/models/release.py index 83ddfbf64..2d8b2d9f6 100644 --- a/pontos/github/models/release.py +++ b/pontos/github/models/release.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/models/tag.py b/pontos/github/models/tag.py index a367a2540..a00777f9b 100644 --- a/pontos/github/models/tag.py +++ b/pontos/github/models/tag.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/models/workflow.py b/pontos/github/models/workflow.py index 2cebaa409..208578fba 100644 --- a/pontos/github/models/workflow.py +++ b/pontos/github/models/workflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/script/__init__.py b/pontos/github/script/__init__.py index d801cad0f..6a61d9ce7 100644 --- a/pontos/github/script/__init__.py +++ b/pontos/github/script/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/script/errors.py b/pontos/github/script/errors.py index 64fb57197..093c244e5 100644 --- a/pontos/github/script/errors.py +++ b/pontos/github/script/errors.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/script/load.py b/pontos/github/script/load.py index 3c50951a6..7c4d4de9d 100644 --- a/pontos/github/script/load.py +++ b/pontos/github/script/load.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/script/parser.py b/pontos/github/script/parser.py index 618b5912b..cbbaa1d09 100644 --- a/pontos/github/script/parser.py +++ b/pontos/github/script/parser.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/scripts/__init__.py b/pontos/github/scripts/__init__.py index e69de29bb..1d5a4d2fb 100644 --- a/pontos/github/scripts/__init__.py +++ b/pontos/github/scripts/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2023 Greenbone AG +# +# SPDX-License-Identifier: GPL-3.0-or-later diff --git a/pontos/github/scripts/artifacts-download.py b/pontos/github/scripts/artifacts-download.py index 50a9b0ba4..373efc882 100644 --- a/pontos/github/scripts/artifacts-download.py +++ b/pontos/github/scripts/artifacts-download.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/scripts/artifacts-sum.py b/pontos/github/scripts/artifacts-sum.py index e4e98e311..4daac145f 100644 --- a/pontos/github/scripts/artifacts-sum.py +++ b/pontos/github/scripts/artifacts-sum.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/scripts/artifacts.py b/pontos/github/scripts/artifacts.py index 89b455826..0d91556b8 100644 --- a/pontos/github/scripts/artifacts.py +++ b/pontos/github/scripts/artifacts.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/scripts/branchprotection.py b/pontos/github/scripts/branchprotection.py index 62eb84a94..8bea1c6a2 100644 --- a/pontos/github/scripts/branchprotection.py +++ b/pontos/github/scripts/branchprotection.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/scripts/create-repository.py b/pontos/github/scripts/create-repository.py index 1a2318008..1776f2669 100644 --- a/pontos/github/scripts/create-repository.py +++ b/pontos/github/scripts/create-repository.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/scripts/enforce-admins.py b/pontos/github/scripts/enforce-admins.py index f9ba1207a..e6b7d8ef5 100644 --- a/pontos/github/scripts/enforce-admins.py +++ b/pontos/github/scripts/enforce-admins.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/scripts/lock-branch.py b/pontos/github/scripts/lock-branch.py index 611890d25..78933ef85 100644 --- a/pontos/github/scripts/lock-branch.py +++ b/pontos/github/scripts/lock-branch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/scripts/members.py b/pontos/github/scripts/members.py index c280e9bfc..e8014c263 100644 --- a/pontos/github/scripts/members.py +++ b/pontos/github/scripts/members.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/scripts/release-assets-download.py b/pontos/github/scripts/release-assets-download.py index 3c8f67d29..f624022fa 100644 --- a/pontos/github/scripts/release-assets-download.py +++ b/pontos/github/scripts/release-assets-download.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/scripts/repositories.py b/pontos/github/scripts/repositories.py index faee542eb..59c10fb77 100644 --- a/pontos/github/scripts/repositories.py +++ b/pontos/github/scripts/repositories.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/scripts/search-repositories.py b/pontos/github/scripts/search-repositories.py index 79d8b23ab..368033ec0 100644 --- a/pontos/github/scripts/search-repositories.py +++ b/pontos/github/scripts/search-repositories.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/scripts/team-repositories.py b/pontos/github/scripts/team-repositories.py index 2b9d3ddd5..98643cc82 100644 --- a/pontos/github/scripts/team-repositories.py +++ b/pontos/github/scripts/team-repositories.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/scripts/teams.py b/pontos/github/scripts/teams.py index bac2e4ac2..c1bd30ca6 100644 --- a/pontos/github/scripts/teams.py +++ b/pontos/github/scripts/teams.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/scripts/topics.py b/pontos/github/scripts/topics.py index 48bf3d981..2e9223201 100644 --- a/pontos/github/scripts/topics.py +++ b/pontos/github/scripts/topics.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/github/scripts/workflow-runs.py b/pontos/github/scripts/workflow-runs.py index 8ad7e40b9..331f27c9b 100644 --- a/pontos/github/scripts/workflow-runs.py +++ b/pontos/github/scripts/workflow-runs.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/helper.py b/pontos/helper.py index eab4bade9..6854feb55 100644 --- a/pontos/helper.py +++ b/pontos/helper.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/models/__init__.py b/pontos/models/__init__.py index 617a81cee..becc8d0e2 100644 --- a/pontos/models/__init__.py +++ b/pontos/models/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/nvd/__init__.py b/pontos/nvd/__init__.py index 006919caf..1315a464a 100644 --- a/pontos/nvd/__init__.py +++ b/pontos/nvd/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/nvd/api.py b/pontos/nvd/api.py index 598d2d359..405dc8516 100644 --- a/pontos/nvd/api.py +++ b/pontos/nvd/api.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/nvd/cpe/__init__.py b/pontos/nvd/cpe/__init__.py index 04a4f9dc0..d188ad411 100644 --- a/pontos/nvd/cpe/__init__.py +++ b/pontos/nvd/cpe/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/nvd/cpe/api.py b/pontos/nvd/cpe/api.py index 07c455263..c11ee75fb 100644 --- a/pontos/nvd/cpe/api.py +++ b/pontos/nvd/cpe/api.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/nvd/cve/__init__.py b/pontos/nvd/cve/__init__.py index 3bddaf955..3fb1fca6f 100644 --- a/pontos/nvd/cve/__init__.py +++ b/pontos/nvd/cve/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/nvd/cve/api.py b/pontos/nvd/cve/api.py index 77ad7c4b5..af1e1a27f 100644 --- a/pontos/nvd/cve/api.py +++ b/pontos/nvd/cve/api.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/nvd/models/__init__.py b/pontos/nvd/models/__init__.py index e1fd3765c..3b052764a 100644 --- a/pontos/nvd/models/__init__.py +++ b/pontos/nvd/models/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/nvd/models/cpe.py b/pontos/nvd/models/cpe.py index 994fe46d7..3d61062fa 100644 --- a/pontos/nvd/models/cpe.py +++ b/pontos/nvd/models/cpe.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/nvd/models/cve.py b/pontos/nvd/models/cve.py index f02d65092..5a1f7b181 100644 --- a/pontos/nvd/models/cve.py +++ b/pontos/nvd/models/cve.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/nvd/models/cvss_v2.py b/pontos/nvd/models/cvss_v2.py index 6dfcf7499..449c93565 100644 --- a/pontos/nvd/models/cvss_v2.py +++ b/pontos/nvd/models/cvss_v2.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/nvd/models/cvss_v3.py b/pontos/nvd/models/cvss_v3.py index f740d535f..1377b0926 100644 --- a/pontos/nvd/models/cvss_v3.py +++ b/pontos/nvd/models/cvss_v3.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/pontos.py b/pontos/pontos.py index 067d3c82d..bac90faa4 100644 --- a/pontos/pontos.py +++ b/pontos/pontos.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/release/__init__.py b/pontos/release/__init__.py index 183688968..99712dee5 100644 --- a/pontos/release/__init__.py +++ b/pontos/release/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/release/create.py b/pontos/release/create.py index afbe49306..1beb68618 100644 --- a/pontos/release/create.py +++ b/pontos/release/create.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/release/helper.py b/pontos/release/helper.py index 1086f7bf2..5434c7727 100644 --- a/pontos/release/helper.py +++ b/pontos/release/helper.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/release/main.py b/pontos/release/main.py index d89ef030d..ff3e0ba1c 100644 --- a/pontos/release/main.py +++ b/pontos/release/main.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # pontos/release/release.py -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/release/sign.py b/pontos/release/sign.py index 0922c3d6a..a01a04987 100644 --- a/pontos/release/sign.py +++ b/pontos/release/sign.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/terminal/__init__.py b/pontos/terminal/__init__.py index b57b7b451..945a98114 100644 --- a/pontos/terminal/__init__.py +++ b/pontos/terminal/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/terminal/null.py b/pontos/terminal/null.py index 749f1068a..53ead7d7f 100644 --- a/pontos/terminal/null.py +++ b/pontos/terminal/null.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/terminal/rich.py b/pontos/terminal/rich.py index 9801bcf2c..5748fb087 100644 --- a/pontos/terminal/rich.py +++ b/pontos/terminal/rich.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/terminal/terminal.py b/pontos/terminal/terminal.py index cb5950210..9607bbb6a 100644 --- a/pontos/terminal/terminal.py +++ b/pontos/terminal/terminal.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/testing/__init__.py b/pontos/testing/__init__.py index ae67246d2..ad34807ec 100644 --- a/pontos/testing/__init__.py +++ b/pontos/testing/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/updateheader/__init__.py b/pontos/updateheader/__init__.py index c9d4b7924..3221ea405 100644 --- a/pontos/updateheader/__init__.py +++ b/pontos/updateheader/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/updateheader/__main__.py b/pontos/updateheader/__main__.py index ecedb5e8d..9c1c9fd89 100644 --- a/pontos/updateheader/__main__.py +++ b/pontos/updateheader/__main__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/updateheader/updateheader.py b/pontos/updateheader/updateheader.py index c0b1a753a..b9c6adc79 100644 --- a/pontos/updateheader/updateheader.py +++ b/pontos/updateheader/updateheader.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/version/__init__.py b/pontos/version/__init__.py index 535dbdfa9..aba360097 100644 --- a/pontos/version/__init__.py +++ b/pontos/version/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/version/__main__.py b/pontos/version/__main__.py index 30ba820d1..457db9196 100644 --- a/pontos/version/__main__.py +++ b/pontos/version/__main__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/version/commands/_cargo.py b/pontos/version/commands/_cargo.py index ee6da7cc9..777af5c18 100644 --- a/pontos/version/commands/_cargo.py +++ b/pontos/version/commands/_cargo.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 Greenbone AG +# +# SPDX-License-Identifier: GPL-3.0-or-later + from pathlib import Path from typing import Iterator, Literal, Tuple, Union diff --git a/pontos/version/commands/_cmake.py b/pontos/version/commands/_cmake.py index abbf60e71..f164b12c5 100644 --- a/pontos/version/commands/_cmake.py +++ b/pontos/version/commands/_cmake.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/version/commands/_command.py b/pontos/version/commands/_command.py index 39d653b91..65c5c11c8 100644 --- a/pontos/version/commands/_command.py +++ b/pontos/version/commands/_command.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 Greenbone AG +# +# SPDX-License-Identifier: GPL-3.0-or-later + # Copyright (C) 2023 Greenbone Networks GmbH # # SPDX-License-Identifier: GPL-3.0-or-later diff --git a/pontos/version/commands/_go.py b/pontos/version/commands/_go.py index 619b2d538..4ae794daf 100644 --- a/pontos/version/commands/_go.py +++ b/pontos/version/commands/_go.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/version/commands/_java.py b/pontos/version/commands/_java.py index 2eb89bd7c..c4f7e7900 100644 --- a/pontos/version/commands/_java.py +++ b/pontos/version/commands/_java.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # @@ -18,11 +18,11 @@ import json import re from pathlib import Path -from typing import Literal, Union, Dict, List, Any +from typing import Any, Dict, List, Literal, Union -from ._command import VersionCommand from ..errors import VersionError from ..version import Version, VersionUpdate +from ._command import VersionCommand # This class is used for Java Version command(s) diff --git a/pontos/version/commands/_javascript.py b/pontos/version/commands/_javascript.py index 5dfeb2623..0b1b09f6d 100644 --- a/pontos/version/commands/_javascript.py +++ b/pontos/version/commands/_javascript.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/version/commands/_python.py b/pontos/version/commands/_python.py index 3c68bfc83..a2247ab18 100644 --- a/pontos/version/commands/_python.py +++ b/pontos/version/commands/_python.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/version/helper.py b/pontos/version/helper.py index b55b4c43e..5e79d20f9 100644 --- a/pontos/version/helper.py +++ b/pontos/version/helper.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/version/main.py b/pontos/version/main.py index 84273562e..77ffda618 100644 --- a/pontos/version/main.py +++ b/pontos/version/main.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/pontos/version/schemes/__init__.py b/pontos/version/schemes/__init__.py index c7e010bb5..de756f1b7 100644 --- a/pontos/version/schemes/__init__.py +++ b/pontos/version/schemes/__init__.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 Greenbone AG +# +# SPDX-License-Identifier: GPL-3.0-or-later + # Copyright (C) 2023 Greenbone Networks GmbH # # SPDX-License-Identifier: GPL-3.0-or-later diff --git a/pontos/version/schemes/_pep440.py b/pontos/version/schemes/_pep440.py index 255d0d8cc..adaeb7168 100644 --- a/pontos/version/schemes/_pep440.py +++ b/pontos/version/schemes/_pep440.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 Greenbone AG +# +# SPDX-License-Identifier: GPL-3.0-or-later + # Copyright (C) 2023 Greenbone Networks GmbH # # SPDX-License-Identifier: GPL-3.0-or-later diff --git a/pontos/version/schemes/_scheme.py b/pontos/version/schemes/_scheme.py index 1a5b490b8..d9646c5f2 100644 --- a/pontos/version/schemes/_scheme.py +++ b/pontos/version/schemes/_scheme.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 Greenbone AG +# +# SPDX-License-Identifier: GPL-3.0-or-later + # Copyright (C) 2023 Greenbone Networks GmbH # # SPDX-License-Identifier: GPL-3.0-or-later diff --git a/pontos/version/schemes/_semantic.py b/pontos/version/schemes/_semantic.py index 9110c5c74..69cbedbc7 100644 --- a/pontos/version/schemes/_semantic.py +++ b/pontos/version/schemes/_semantic.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 Greenbone AG +# +# SPDX-License-Identifier: GPL-3.0-or-later + # Copyright (C) 2023 Greenbone Networks GmbH # # SPDX-License-Identifier: GPL-3.0-or-later diff --git a/pontos/version/version.py b/pontos/version/version.py index 7934c4f2a..3d291879e 100644 --- a/pontos/version/version.py +++ b/pontos/version/version.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/__init__.py b/tests/__init__.py index e4ff76e36..6c3dc211c 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/changelog/__init__.py b/tests/changelog/__init__.py index 1c4f10c35..324a813ad 100644 --- a/tests/changelog/__init__.py +++ b/tests/changelog/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/changelog/test_conventional_commits.py b/tests/changelog/test_conventional_commits.py index 3d45be33d..48e2c1713 100644 --- a/tests/changelog/test_conventional_commits.py +++ b/tests/changelog/test_conventional_commits.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/git/__init__.py b/tests/git/__init__.py index e1fd3765c..3b052764a 100644 --- a/tests/git/__init__.py +++ b/tests/git/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/git/test_git.py b/tests/git/test_git.py index b072d34fa..ee318dc7f 100644 --- a/tests/git/test_git.py +++ b/tests/git/test_git.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/__init__.py b/tests/github/__init__.py index e1fd3765c..3b052764a 100644 --- a/tests/github/__init__.py +++ b/tests/github/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/actions/__init__.py b/tests/github/actions/__init__.py index e1fd3765c..3b052764a 100644 --- a/tests/github/actions/__init__.py +++ b/tests/github/actions/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/actions/test_core.py b/tests/github/actions/test_core.py index ba4c69085..54db5ee18 100644 --- a/tests/github/actions/test_core.py +++ b/tests/github/actions/test_core.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/actions/test_env.py b/tests/github/actions/test_env.py index f984a32bf..02e115be5 100644 --- a/tests/github/actions/test_env.py +++ b/tests/github/actions/test_env.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/actions/test_event.py b/tests/github/actions/test_event.py index 13306aba9..548593df0 100644 --- a/tests/github/actions/test_event.py +++ b/tests/github/actions/test_event.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/api/__init__.py b/tests/github/api/__init__.py index cc891402c..7196b3048 100644 --- a/tests/github/api/__init__.py +++ b/tests/github/api/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/api/test_artifacts.py b/tests/github/api/test_artifacts.py index 82a035968..ab5fda987 100644 --- a/tests/github/api/test_artifacts.py +++ b/tests/github/api/test_artifacts.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/api/test_branch.py b/tests/github/api/test_branch.py index f8856eb1f..022b8ffc2 100644 --- a/tests/github/api/test_branch.py +++ b/tests/github/api/test_branch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/api/test_client.py b/tests/github/api/test_client.py index cdcf61396..2de7bca16 100644 --- a/tests/github/api/test_client.py +++ b/tests/github/api/test_client.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/api/test_contents.py b/tests/github/api/test_contents.py index 53dc32fe3..317b2d8d7 100644 --- a/tests/github/api/test_contents.py +++ b/tests/github/api/test_contents.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/api/test_labels.py b/tests/github/api/test_labels.py index b522aa76b..dfb15ff62 100644 --- a/tests/github/api/test_labels.py +++ b/tests/github/api/test_labels.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/api/test_organizations.py b/tests/github/api/test_organizations.py index 31120ce43..ff2fd02d3 100644 --- a/tests/github/api/test_organizations.py +++ b/tests/github/api/test_organizations.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/api/test_release.py b/tests/github/api/test_release.py index 07ee6d5fc..c39d15b69 100644 --- a/tests/github/api/test_release.py +++ b/tests/github/api/test_release.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/api/test_repositories.py b/tests/github/api/test_repositories.py index e1ac5674d..270685423 100644 --- a/tests/github/api/test_repositories.py +++ b/tests/github/api/test_repositories.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/api/test_tags.py b/tests/github/api/test_tags.py index f9e7c760a..22b3a8d29 100644 --- a/tests/github/api/test_tags.py +++ b/tests/github/api/test_tags.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/api/test_teams.py b/tests/github/api/test_teams.py index 1c90f436c..4a0a87156 100644 --- a/tests/github/api/test_teams.py +++ b/tests/github/api/test_teams.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/api/test_workflows.py b/tests/github/api/test_workflows.py index f642e4bf4..1f5091847 100644 --- a/tests/github/api/test_workflows.py +++ b/tests/github/api/test_workflows.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/models/__init__.py b/tests/github/models/__init__.py index e1fd3765c..3b052764a 100644 --- a/tests/github/models/__init__.py +++ b/tests/github/models/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/models/test_artifact.py b/tests/github/models/test_artifact.py index 2e6f615dc..d261093d2 100644 --- a/tests/github/models/test_artifact.py +++ b/tests/github/models/test_artifact.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/models/test_base.py b/tests/github/models/test_base.py index aa848e5e1..67f56da0d 100644 --- a/tests/github/models/test_base.py +++ b/tests/github/models/test_base.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/models/test_branch.py b/tests/github/models/test_branch.py index 4077a1632..a6754f2e1 100644 --- a/tests/github/models/test_branch.py +++ b/tests/github/models/test_branch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/models/test_organization.py b/tests/github/models/test_organization.py index 76705d22b..a5764a040 100644 --- a/tests/github/models/test_organization.py +++ b/tests/github/models/test_organization.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/models/test_pull_request.py b/tests/github/models/test_pull_request.py index d4359a85b..def0c5d49 100644 --- a/tests/github/models/test_pull_request.py +++ b/tests/github/models/test_pull_request.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/models/test_release.py b/tests/github/models/test_release.py index 8e44d96de..1d320cbd6 100644 --- a/tests/github/models/test_release.py +++ b/tests/github/models/test_release.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/models/test_search.py b/tests/github/models/test_search.py index d0fa8c6bd..afbe83fc5 100644 --- a/tests/github/models/test_search.py +++ b/tests/github/models/test_search.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/models/test_tag.py b/tests/github/models/test_tag.py index 91d472ff7..d31d072b2 100644 --- a/tests/github/models/test_tag.py +++ b/tests/github/models/test_tag.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/models/test_workflow.py b/tests/github/models/test_workflow.py index e24f233d5..1a53179b4 100644 --- a/tests/github/models/test_workflow.py +++ b/tests/github/models/test_workflow.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/script/__init__.py b/tests/github/script/__init__.py index e1fd3765c..3b052764a 100644 --- a/tests/github/script/__init__.py +++ b/tests/github/script/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/script/test_load.py b/tests/github/script/test_load.py index 1ba834dba..dc63ceb53 100644 --- a/tests/github/script/test_load.py +++ b/tests/github/script/test_load.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/script/test_parser.py b/tests/github/script/test_parser.py index 1f97b52b6..fba70e608 100644 --- a/tests/github/script/test_parser.py +++ b/tests/github/script/test_parser.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/test_argparser.py b/tests/github/test_argparser.py index e726f2634..a71224352 100644 --- a/tests/github/test_argparser.py +++ b/tests/github/test_argparser.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/github/test_cmds.py b/tests/github/test_cmds.py index efc0caaaf..85c9155a7 100644 --- a/tests/github/test_cmds.py +++ b/tests/github/test_cmds.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/models/__init__.py b/tests/models/__init__.py index e1fd3765c..3b052764a 100644 --- a/tests/models/__init__.py +++ b/tests/models/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/models/test_models.py b/tests/models/test_models.py index 69e62c50f..2836ef3d1 100644 --- a/tests/models/test_models.py +++ b/tests/models/test_models.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/nvd/__init__.py b/tests/nvd/__init__.py index da3fcdb94..83359c6c7 100644 --- a/tests/nvd/__init__.py +++ b/tests/nvd/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/nvd/cpe/__init__.py b/tests/nvd/cpe/__init__.py index e1fd3765c..3b052764a 100644 --- a/tests/nvd/cpe/__init__.py +++ b/tests/nvd/cpe/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/nvd/cpe/test_api.py b/tests/nvd/cpe/test_api.py index 05ecacf2d..02e97c716 100644 --- a/tests/nvd/cpe/test_api.py +++ b/tests/nvd/cpe/test_api.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/nvd/cve/__init__.py b/tests/nvd/cve/__init__.py index e1fd3765c..3b052764a 100644 --- a/tests/nvd/cve/__init__.py +++ b/tests/nvd/cve/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/nvd/cve/test_api.py b/tests/nvd/cve/test_api.py index 9cf87b65b..b6c394a6a 100644 --- a/tests/nvd/cve/test_api.py +++ b/tests/nvd/cve/test_api.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/nvd/models/__init__.py b/tests/nvd/models/__init__.py index e1fd3765c..3b052764a 100644 --- a/tests/nvd/models/__init__.py +++ b/tests/nvd/models/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/nvd/models/test_cpe.py b/tests/nvd/models/test_cpe.py index 050c8728e..d1dff4f4a 100644 --- a/tests/nvd/models/test_cpe.py +++ b/tests/nvd/models/test_cpe.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 Greenbone AG +# +# SPDX-License-Identifier: GPL-3.0-or-later + # SPDX-License-Identifier: GPL-3.0-or-later # # This program is free software: you can redistribute it and/or modify diff --git a/tests/nvd/models/test_cve.py b/tests/nvd/models/test_cve.py index c7a2d1b12..a0b4ca0bc 100644 --- a/tests/nvd/models/test_cve.py +++ b/tests/nvd/models/test_cve.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/nvd/test_api.py b/tests/nvd/test_api.py index ca32f446a..8765de894 100644 --- a/tests/nvd/test_api.py +++ b/tests/nvd/test_api.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/release/__init__.py b/tests/release/__init__.py index ca35876b3..b0b7daa89 100644 --- a/tests/release/__init__.py +++ b/tests/release/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/release/test_create.py b/tests/release/test_create.py index 6334f46d7..922707d36 100644 --- a/tests/release/test_create.py +++ b/tests/release/test_create.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/release/test_helper.py b/tests/release/test_helper.py index e214de90d..3801329fd 100644 --- a/tests/release/test_helper.py +++ b/tests/release/test_helper.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/release/test_sign.py b/tests/release/test_sign.py index ec3fb8923..456858d27 100644 --- a/tests/release/test_sign.py +++ b/tests/release/test_sign.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/terminal/__init__.py b/tests/terminal/__init__.py index e32115d27..91b3ad834 100644 --- a/tests/terminal/__init__.py +++ b/tests/terminal/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/terminal/test_terminal.py b/tests/terminal/test_terminal.py index f3f9c5597..8e332ac56 100644 --- a/tests/terminal/test_terminal.py +++ b/tests/terminal/test_terminal.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/test_helper.py b/tests/test_helper.py index c67398914..fdc1db922 100644 --- a/tests/test_helper.py +++ b/tests/test_helper.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/test_pontos.py b/tests/test_pontos.py index 70e7ecf36..d1eb11f30 100644 --- a/tests/test_pontos.py +++ b/tests/test_pontos.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/testing/__init__.py b/tests/testing/__init__.py index e1fd3765c..3b052764a 100644 --- a/tests/testing/__init__.py +++ b/tests/testing/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/testing/test_testing.py b/tests/testing/test_testing.py index 8e9e01597..95280b206 100644 --- a/tests/testing/test_testing.py +++ b/tests/testing/test_testing.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/updateheader/__init__.py b/tests/updateheader/__init__.py index ca35876b3..b0b7daa89 100644 --- a/tests/updateheader/__init__.py +++ b/tests/updateheader/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/updateheader/test_header.py b/tests/updateheader/test_header.py index e9d550c6d..3821d7dd8 100644 --- a/tests/updateheader/test_header.py +++ b/tests/updateheader/test_header.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/version/__init__.py b/tests/version/__init__.py index 1c4f10c35..324a813ad 100644 --- a/tests/version/__init__.py +++ b/tests/version/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/version/commands/__init__.py b/tests/version/commands/__init__.py index 36b4786ef..15db62f8c 100644 --- a/tests/version/commands/__init__.py +++ b/tests/version/commands/__init__.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 Greenbone AG +# +# SPDX-License-Identifier: GPL-3.0-or-later + # Copyright (C) 2023 Greenbone Networks GmbH # # SPDX-License-Identifier: GPL-3.0-or-later diff --git a/tests/version/commands/test_cargo.py b/tests/version/commands/test_cargo.py index e6c54f011..a8d2604ee 100644 --- a/tests/version/commands/test_cargo.py +++ b/tests/version/commands/test_cargo.py @@ -1,16 +1,18 @@ -from typing import Iterator -import unittest +# SPDX-FileCopyrightText: 2023 Greenbone AG +# +# SPDX-License-Identifier: GPL-3.0-or-later +import unittest from contextlib import contextmanager from pathlib import Path +from typing import Iterator + import tomlkit from pontos.testing import temp_directory, temp_file from pontos.version import VersionError -from pontos.version.schemes import PEP440VersioningScheme - from pontos.version.commands._cargo import CargoVersionCommand - +from pontos.version.schemes import PEP440VersioningScheme VERSION_EXAMPLE = """ [package] diff --git a/tests/version/commands/test_cmake.py b/tests/version/commands/test_cmake.py index 9e09a9f9a..1d4ab8213 100644 --- a/tests/version/commands/test_cmake.py +++ b/tests/version/commands/test_cmake.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/version/commands/test_go.py b/tests/version/commands/test_go.py index 49e5a35f3..44a585bf9 100644 --- a/tests/version/commands/test_go.py +++ b/tests/version/commands/test_go.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/version/commands/test_python.py b/tests/version/commands/test_python.py index 5f62ef566..7b10b3565 100644 --- a/tests/version/commands/test_python.py +++ b/tests/version/commands/test_python.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/version/schemes/__init__.py b/tests/version/schemes/__init__.py index 36b4786ef..15db62f8c 100644 --- a/tests/version/schemes/__init__.py +++ b/tests/version/schemes/__init__.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 Greenbone AG +# +# SPDX-License-Identifier: GPL-3.0-or-later + # Copyright (C) 2023 Greenbone Networks GmbH # # SPDX-License-Identifier: GPL-3.0-or-later diff --git a/tests/version/schemes/test_semantic.py b/tests/version/schemes/test_semantic.py index 2bed01d7d..4f8311399 100644 --- a/tests/version/schemes/test_semantic.py +++ b/tests/version/schemes/test_semantic.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 Greenbone AG +# +# SPDX-License-Identifier: GPL-3.0-or-later + # Copyright (C) 2023 Greenbone Networks GmbH # # SPDX-License-Identifier: GPL-3.0-or-later diff --git a/tests/version/test_helper.py b/tests/version/test_helper.py index 08ed57379..80d09f179 100644 --- a/tests/version/test_helper.py +++ b/tests/version/test_helper.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later #