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 9ffd2bee..19a2f80d 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 670b6487..190aec50 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 ecd1e16e..fd13383b 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 83d18f36..671dc63c 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 2e57d02c..029f7895 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 281bad15..31663e8d 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 cc2ae1c1..cf1df50b 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 09f98e0c..0bebd9a7 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 02156cd4..e0b2ccd3 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 2db6bba6..a4bb2886 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 57b7e6e9..d0fa931a 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 2659e811..2ba2ed74 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 69913851..4995ad97 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 7aac41c8..31c9e4d3 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 f61abeab..c5fd8240 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 6c19c43a..674e7f36 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 44c5d538..7381969a 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 f4898e1a..7332c12c 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 7361c116..b8ec49f2 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 a512fd79..10d0b3c1 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 eaffdc86..49cfe18e 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 5de98a53..bdcef8b7 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 49562f66..51f5cc98 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 a99e21fa..9a7e2225 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 7b4b8350..e8795177 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 69cd982d..7d5db1a8 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 386ac2cd..72b1e514 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 0aeda98d..82a31d63 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 7c44562e..5baf06b6 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 a22af9cb..17b61dc5 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 d13ac151..635790fe 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 acc93faf..a0cd4b3b 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 f364db1f..726b1074 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 c66057a1..3a31744d 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 2bd9000e..2d6eca61 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 d2541cc0..ce14f142 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 321045c8..7e82d5cb 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 9cff9155..c3550b49 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 2c6fc653..5f286223 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 83ddfbf6..2d8b2d9f 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 a367a254..a00777f9 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 2cebaa40..208578fb 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 d801cad0..6a61d9ce 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 64fb5719..093c244e 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 3c50951a..7c4d4de9 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 618b5912..cbbaa1d0 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 e69de29b..1d5a4d2f 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 50a9b0ba..373efc88 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 e4e98e31..4daac145 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 89b45582..0d91556b 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 62eb84a9..8bea1c6a 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 1a231800..1776f266 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 f9ba1207..e6b7d8ef 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 611890d2..78933ef8 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 c280e9bf..e8014c26 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 3c8f67d2..f624022f 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 faee542e..59c10fb7 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 79d8b23a..368033ec 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 2b9d3ddd..98643cc8 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 bac2e4ac..c1bd30ca 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 48bf3d98..2e922320 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 8ad7e40b..331f27c9 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 eab4bade..6854feb5 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 617a81ce..becc8d0e 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 006919ca..1315a464 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 598d2d35..405dc851 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 04a4f9dc..d188ad41 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 07c45526..c11ee75f 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 3bddaf95..3fb1fca6 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 77ad7c4b..af1e1a27 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 e1fd3765..3b052764 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 994fe46d..3d61062f 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 f02d6509..5a1f7b18 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 6dfcf749..449c9356 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 f740d535..1377b092 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 067d3c82..bac90faa 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 18368896..99712dee 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 afbe4930..1beb6861 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 1086f7bf..5434c772 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 d89ef030..ff3e0ba1 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 0922c3d6..a01a0498 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 b57b7b45..945a9811 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 749f1068..53ead7d7 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 9801bcf2..5748fb08 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 cb595021..9607bbb6 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 ae67246d..ad34807e 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 c9d4b792..3221ea40 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 ecedb5e8..9c1c9fd8 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 c0b1a753..b9c6adc7 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 535dbdfa..aba36009 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 30ba820d..457db919 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 ee6da7cc..777af5c1 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 abbf60e7..f164b12c 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 39d653b9..65c5c11c 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 619b2d53..4ae794da 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 2eb89bd7..c4f7e790 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 5dfeb262..0b1b09f6 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 3c68bfc8..a2247ab1 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 b55b4c43..5e79d20f 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 84273562..77ffda61 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 c7e010bb..de756f1b 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 255d0d8c..adaeb716 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 1a5b490b..d9646c5f 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 9110c5c7..69cbedbc 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 7934c4f2..3d291879 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 e4ff76e3..6c3dc211 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 1c4f10c3..324a813a 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 3d45be33..48e2c171 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 e1fd3765..3b052764 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 b072d34f..ee318dc7 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 e1fd3765..3b052764 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 e1fd3765..3b052764 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 ba4c6908..54db5ee1 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 f984a32b..02e115be 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 13306aba..548593df 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 cc891402..7196b304 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 82a03596..ab5fda98 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 f8856eb1..022b8ffc 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 cdcf6139..2de7bca1 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 53dc32fe..317b2d8d 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 b522aa76..dfb15ff6 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 31120ce4..ff2fd02d 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 07ee6d5f..c39d15b6 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 e1ac5674..27068542 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 f9e7c760..22b3a8d2 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 1c90f436..4a0a8715 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 f642e4bf..1f509184 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 e1fd3765..3b052764 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 2e6f615d..d261093d 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 aa848e5e..67f56da0 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 4077a163..a6754f2e 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 76705d22..a5764a04 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 d4359a85..def0c5d4 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 8e44d96d..1d320cbd 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 d0fa8c6b..afbe83fc 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 91d472ff..d31d072b 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 e24f233d..1a53179b 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 e1fd3765..3b052764 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 1ba834db..dc63ceb5 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 1f97b52b..fba70e60 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 e726f263..a7122435 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 efc0caaa..85c9155a 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 e1fd3765..3b052764 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 69e62c50..2836ef3d 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 da3fcdb9..83359c6c 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 e1fd3765..3b052764 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 05ecacf2..02e97c71 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 e1fd3765..3b052764 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 9cf87b65..b6c394a6 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 e1fd3765..3b052764 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 050c8728..d1dff4f4 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 c7a2d1b1..a0b4ca0b 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 ca32f446..8765de89 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 ca35876b..b0b7daa8 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 6334f46d..922707d3 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 e214de90..3801329f 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 ec3fb892..456858d2 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 e32115d2..91b3ad83 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 f3f9c559..8e332ac5 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 c6739891..fdc1db92 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 70e7ecf3..d1eb11f3 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 e1fd3765..3b052764 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 8e9e0159..95280b20 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 ca35876b..b0b7daa8 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 e9d550c6..3821d7dd 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 1c4f10c3..324a813a 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 36b4786e..15db62f8 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 e6c54f01..a8d2604e 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 9e09a9f9..1d4ab821 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 49e5a35f..44a585bf 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 5f62ef56..7b10b356 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 36b4786e..15db62f8 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 2bed01d7..4f831139 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 08ed5737..80d09f17 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 #