From 324fac157d339123513d0e5ed0ece0064f33d3bc Mon Sep 17 00:00:00 2001 From: Jaspar Stach Date: Thu, 21 Dec 2023 11:44:26 +0100 Subject: [PATCH] Update Copyright header for all files --- pontos/__init__.py | 15 +-------------- pontos/changelog/__init__.py | 15 +-------------- pontos/changelog/conventional_commits.py | 14 +------------- pontos/changelog/errors.py | 12 ------------ pontos/changelog/main.py | 14 +------------- pontos/errors.py | 14 +------------- pontos/git/__init__.py | 14 +------------- pontos/git/git.py | 14 +------------- pontos/git/status.py | 12 ------------ pontos/github/__init__.py | 14 +------------- pontos/github/actions/__init__.py | 14 +------------- pontos/github/actions/argparser.py | 14 +------------- pontos/github/actions/cmds.py | 14 +------------- pontos/github/actions/core.py | 14 +------------- pontos/github/actions/env.py | 14 +------------- pontos/github/actions/errors.py | 14 +------------- pontos/github/actions/event.py | 14 +------------- pontos/github/actions/main.py | 14 +------------- pontos/github/api/__init__.py | 14 +------------- pontos/github/api/api.py | 12 ------------ pontos/github/api/artifacts.py | 14 +------------- pontos/github/api/branch.py | 14 +------------- pontos/github/api/client.py | 14 +------------- pontos/github/api/contents.py | 14 +------------- pontos/github/api/errors.py | 14 +------------- pontos/github/api/helper.py | 14 +------------- pontos/github/api/labels.py | 14 +------------- pontos/github/api/organizations.py | 14 +------------- pontos/github/api/pull_requests.py | 14 +------------- pontos/github/api/release.py | 14 +------------- pontos/github/api/repositories.py | 14 +------------- pontos/github/api/search.py | 12 ------------ pontos/github/api/tags.py | 14 +------------- pontos/github/api/teams.py | 14 +------------- pontos/github/api/workflows.py | 14 +------------- pontos/github/argparser.py | 14 +------------- pontos/github/cmds.py | 14 +------------- pontos/github/main.py | 14 +------------- pontos/github/models/__init__.py | 12 ------------ pontos/github/models/artifact.py | 14 +------------- pontos/github/models/base.py | 14 +------------- pontos/github/models/branch.py | 14 +------------- pontos/github/models/organization.py | 14 +------------- pontos/github/models/pull_request.py | 14 +------------- pontos/github/models/release.py | 14 +------------- pontos/github/models/search.py | 12 ------------ pontos/github/models/tag.py | 14 +------------- pontos/github/models/workflow.py | 14 +------------- pontos/github/script/__init__.py | 14 +------------- pontos/github/script/errors.py | 14 +------------- pontos/github/script/load.py | 14 +------------- pontos/github/script/parser.py | 14 +------------- pontos/github/scripts/__init__.py | 3 +++ pontos/github/scripts/add-topics.py | 14 +------------- pontos/github/scripts/artifacts-download.py | 14 +------------- pontos/github/scripts/artifacts-sum.py | 14 +------------- pontos/github/scripts/artifacts.py | 14 +------------- pontos/github/scripts/branchprotection.py | 14 +------------- pontos/github/scripts/create-repository.py | 14 +------------- pontos/github/scripts/enforce-admins.py | 14 +------------- pontos/github/scripts/lock-branch.py | 14 +------------- pontos/github/scripts/members.py | 14 +------------- .../github/scripts/release-assets-download.py | 14 +------------- pontos/github/scripts/repositories.py | 14 +------------- pontos/github/scripts/search-repositories.py | 14 +------------- pontos/github/scripts/team-repositories.py | 14 +------------- pontos/github/scripts/teams.py | 14 +------------- pontos/github/scripts/topics.py | 14 +------------- pontos/github/scripts/workflow-runs.py | 14 +------------- pontos/helper.py | 15 +-------------- pontos/models/__init__.py | 14 +------------- pontos/nvd/__init__.py | 14 +------------- pontos/nvd/api.py | 14 +------------- pontos/nvd/cpe/__init__.py | 14 +------------- pontos/nvd/cpe/api.py | 14 +------------- pontos/nvd/cve/__init__.py | 14 +------------- pontos/nvd/cve/api.py | 14 +------------- pontos/nvd/models/__init__.py | 14 +------------- pontos/nvd/models/cpe.py | 14 +------------- pontos/nvd/models/cve.py | 14 +------------- pontos/nvd/models/cvss_v2.py | 14 +------------- pontos/nvd/models/cvss_v3.py | 14 +------------- pontos/pontos.py | 15 +-------------- pontos/release/__init__.py | 15 +-------------- pontos/release/create.py | 15 +-------------- pontos/release/helper.py | 14 +------------- pontos/release/main.py | 17 +---------------- pontos/release/parser.py | 12 ------------ pontos/release/sign.py | 15 +-------------- pontos/terminal/__init__.py | 14 +------------- pontos/terminal/null.py | 14 +------------- pontos/terminal/rich.py | 14 +------------- pontos/terminal/terminal.py | 14 +------------- pontos/testing/__init__.py | 14 +------------- pontos/typing/__init__.py | 12 ------------ pontos/updateheader/__init__.py | 14 +------------- pontos/updateheader/__main__.py | 14 +------------- pontos/updateheader/updateheader.py | 12 ------------ pontos/version/__init__.py | 14 +------------- pontos/version/__main__.py | 14 +------------- pontos/version/_calculator.py | 12 ------------ pontos/version/commands/__init__.py | 12 ------------ pontos/version/commands/_cargo.py | 4 ++++ pontos/version/commands/_cmake.py | 14 +------------- pontos/version/commands/_command.py | 12 ------------ pontos/version/commands/_go.py | 14 +------------- pontos/version/commands/_java.py | 14 +------------- pontos/version/commands/_javascript.py | 14 +------------- pontos/version/commands/_python.py | 14 +------------- pontos/version/errors.py | 12 ------------ pontos/version/helper.py | 16 +--------------- pontos/version/main.py | 14 +------------- pontos/version/parser.py | 12 ------------ pontos/version/project.py | 12 ------------ pontos/version/schemes/__init__.py | 12 ------------ pontos/version/schemes/_pep440.py | 12 ------------ pontos/version/schemes/_scheme.py | 12 ------------ pontos/version/schemes/_semantic.py | 12 ------------ pontos/version/version.py | 14 +------------- tests/__init__.py | 14 +------------- tests/changelog/__init__.py | 14 +------------- tests/changelog/test_conventional_commits.py | 15 +-------------- tests/changelog/test_parser.py | 12 ------------ tests/git/__init__.py | 14 +------------- tests/git/test_git.py | 14 +------------- tests/git/test_status.py | 12 ------------ tests/github/__init__.py | 14 +------------- tests/github/actions/__init__.py | 14 +------------- tests/github/actions/test_core.py | 14 +------------- tests/github/actions/test_env.py | 14 +------------- tests/github/actions/test_event.py | 14 +------------- tests/github/api/__init__.py | 14 +------------- tests/github/api/test_artifacts.py | 14 +------------- tests/github/api/test_branch.py | 14 +------------- tests/github/api/test_client.py | 14 +------------- tests/github/api/test_contents.py | 14 +------------- tests/github/api/test_labels.py | 14 +------------- tests/github/api/test_organizations.py | 14 +------------- tests/github/api/test_pull_requests.py | 12 ------------ tests/github/api/test_release.py | 14 +------------- tests/github/api/test_repositories.py | 14 +------------- tests/github/api/test_search.py | 12 ------------ tests/github/api/test_tags.py | 14 +------------- tests/github/api/test_teams.py | 14 +------------- tests/github/api/test_workflows.py | 14 +------------- tests/github/models/__init__.py | 14 +------------- tests/github/models/test_artifact.py | 14 +------------- tests/github/models/test_base.py | 14 +------------- tests/github/models/test_branch.py | 14 +------------- tests/github/models/test_organization.py | 14 +------------- tests/github/models/test_pull_request.py | 14 +------------- tests/github/models/test_release.py | 14 +------------- tests/github/models/test_search.py | 14 +------------- tests/github/models/test_tag.py | 14 +------------- tests/github/models/test_workflow.py | 14 +------------- tests/github/script/__init__.py | 14 +------------- tests/github/script/test_load.py | 14 +------------- tests/github/script/test_parser.py | 14 +------------- tests/github/test_argparser.py | 14 +------------- tests/github/test_cmds.py | 14 +------------- tests/models/__init__.py | 14 +------------- tests/models/test_models.py | 14 +------------- tests/nvd/cpe/__init__.py | 14 +------------- tests/nvd/cpe/test_api.py | 14 +------------- tests/nvd/cve/__init__.py | 14 +------------- tests/nvd/cve/test_api.py | 14 +------------- tests/nvd/models/__init__.py | 14 +------------- tests/nvd/models/test_cpe.py | 4 ++++ tests/nvd/models/test_cve.py | 14 +------------- tests/nvd/test_api.py | 14 +------------- tests/release/__init__.py | 14 +------------- tests/release/test_create.py | 14 +------------- tests/release/test_helper.py | 14 +------------- tests/release/test_parser.py | 12 ------------ tests/release/test_sign.py | 14 +------------- tests/terminal/__init__.py | 15 +-------------- tests/terminal/test_terminal.py | 14 +------------- tests/test-typing/__init__.py | 12 ------------ tests/test-typing/test_typing.py | 12 ------------ tests/test_helper.py | 14 +------------- tests/test_pontos.py | 15 +-------------- tests/testing/__init__.py | 14 +------------- tests/testing/test_testing.py | 14 +------------- tests/updateheader/__init__.py | 12 ------------ tests/updateheader/test_header.py | 12 ------------ tests/version/__init__.py | 14 +------------- tests/version/commands/__init__.py | 12 ------------ tests/version/commands/test_cargo.py | 4 ++++ tests/version/commands/test_cmake.py | 15 +-------------- tests/version/commands/test_go.py | 15 +-------------- tests/version/commands/test_java.py | 12 ------------ tests/version/commands/test_javascript.py | 12 ------------ tests/version/commands/test_python.py | 14 +------------- tests/version/schemes/__init__.py | 12 ------------ tests/version/schemes/test_pep440.py | 12 ------------ tests/version/schemes/test_semantic.py | 12 ------------ tests/version/test_commands.py | 12 ------------ tests/version/test_errors.py | 12 ------------ tests/version/test_helper.py | 14 +------------- tests/version/test_main.py | 12 ------------ tests/version/test_parser.py | 12 ------------ tests/version/test_project.py | 12 ------------ tests/version/test_version.py | 12 ------------ 203 files changed, 174 insertions(+), 2564 deletions(-) diff --git a/pontos/__init__.py b/pontos/__init__.py index 9ffd2bee4..6e8755041 100644 --- a/pontos/__init__.py +++ b/pontos/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .pontos import main diff --git a/pontos/changelog/__init__.py b/pontos/changelog/__init__.py index 670b64875..972ca574c 100644 --- a/pontos/changelog/__init__.py +++ b/pontos/changelog/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .conventional_commits import ChangelogBuilder from .errors import ChangelogBuilderError, ChangelogError diff --git a/pontos/changelog/conventional_commits.py b/pontos/changelog/conventional_commits.py index ecd1e16e2..1e7c044e9 100644 --- a/pontos/changelog/conventional_commits.py +++ b/pontos/changelog/conventional_commits.py @@ -1,19 +1,7 @@ -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import re diff --git a/pontos/changelog/errors.py b/pontos/changelog/errors.py index 27d1d491e..ff81d0ba6 100644 --- a/pontos/changelog/errors.py +++ b/pontos/changelog/errors.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from pontos.errors import PontosError diff --git a/pontos/changelog/main.py b/pontos/changelog/main.py index 83d18f364..c6c67ebb9 100644 --- a/pontos/changelog/main.py +++ b/pontos/changelog/main.py @@ -1,19 +1,7 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import sys from argparse import ArgumentParser, Namespace diff --git a/pontos/errors.py b/pontos/errors.py index 2e57d02c4..c5d711c1b 100644 --- a/pontos/errors.py +++ b/pontos/errors.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . class PontosError(Exception): diff --git a/pontos/git/__init__.py b/pontos/git/__init__.py index 281bad159..dfc7976b3 100644 --- a/pontos/git/__init__.py +++ b/pontos/git/__init__.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .git import ConfigScope, Git, GitError, MergeStrategy, TagSort diff --git a/pontos/git/git.py b/pontos/git/git.py index cc2ae1c14..26422fadf 100644 --- a/pontos/git/git.py +++ b/pontos/git/git.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import subprocess from enum import Enum diff --git a/pontos/git/status.py b/pontos/git/status.py index 5b0e11d97..53c510199 100644 --- a/pontos/git/status.py +++ b/pontos/git/status.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from enum import Enum from pathlib import Path diff --git a/pontos/github/__init__.py b/pontos/github/__init__.py index 09f98e0c1..d94e3b960 100644 --- a/pontos/github/__init__.py +++ b/pontos/github/__init__.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .main import main diff --git a/pontos/github/actions/__init__.py b/pontos/github/actions/__init__.py index 02156cd48..16f5fb222 100644 --- a/pontos/github/actions/__init__.py +++ b/pontos/github/actions/__init__.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .core import ActionIO, Console from .env import GitHubEnvironment diff --git a/pontos/github/actions/argparser.py b/pontos/github/actions/argparser.py index 2db6bba6f..fd7aa5149 100644 --- a/pontos/github/actions/argparser.py +++ b/pontos/github/actions/argparser.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """ Argument parser for pontos-github-actions """ diff --git a/pontos/github/actions/cmds.py b/pontos/github/actions/cmds.py index 57b7e6e90..812137210 100644 --- a/pontos/github/actions/cmds.py +++ b/pontos/github/actions/cmds.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import json from argparse import Namespace diff --git a/pontos/github/actions/core.py b/pontos/github/actions/core.py index 2659e811e..81947b770 100644 --- a/pontos/github/actions/core.py +++ b/pontos/github/actions/core.py @@ -1,19 +1,7 @@ -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import os from contextlib import contextmanager diff --git a/pontos/github/actions/env.py b/pontos/github/actions/env.py index 699138512..8589a976c 100644 --- a/pontos/github/actions/env.py +++ b/pontos/github/actions/env.py @@ -1,19 +1,7 @@ -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import os from pathlib import Path diff --git a/pontos/github/actions/errors.py b/pontos/github/actions/errors.py index 7aac41c8e..cea540314 100644 --- a/pontos/github/actions/errors.py +++ b/pontos/github/actions/errors.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from pontos.errors import PontosError diff --git a/pontos/github/actions/event.py b/pontos/github/actions/event.py index f61abeab5..af379e5c0 100644 --- a/pontos/github/actions/event.py +++ b/pontos/github/actions/event.py @@ -1,19 +1,7 @@ -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import json from dataclasses import dataclass diff --git a/pontos/github/actions/main.py b/pontos/github/actions/main.py index 6c19c43ab..b1b8bc654 100644 --- a/pontos/github/actions/main.py +++ b/pontos/github/actions/main.py @@ -1,19 +1,7 @@ -# Copyright (C) 2021 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from pontos.github.actions.argparser import parse_args from pontos.terminal.null import NullTerminal diff --git a/pontos/github/api/__init__.py b/pontos/github/api/__init__.py index 44c5d538e..ee4e677ed 100644 --- a/pontos/github/api/__init__.py +++ b/pontos/github/api/__init__.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .api import GitHubAsyncRESTApi from .artifacts import GitHubAsyncRESTArtifacts diff --git a/pontos/github/api/api.py b/pontos/github/api/api.py index 4b8585336..11dbc6694 100644 --- a/pontos/github/api/api.py +++ b/pontos/github/api/api.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from contextlib import AbstractAsyncContextManager from types import TracebackType diff --git a/pontos/github/api/artifacts.py b/pontos/github/api/artifacts.py index f4898e1a8..837d2b502 100644 --- a/pontos/github/api/artifacts.py +++ b/pontos/github/api/artifacts.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import AsyncContextManager, AsyncIterator, Optional, Union diff --git a/pontos/github/api/branch.py b/pontos/github/api/branch.py index 7361c1160..64c7c1c3b 100644 --- a/pontos/github/api/branch.py +++ b/pontos/github/api/branch.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Any, Dict, Iterable, Optional, Tuple diff --git a/pontos/github/api/client.py b/pontos/github/api/client.py index fa6146c9f..19617c895 100644 --- a/pontos/github/api/client.py +++ b/pontos/github/api/client.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from contextlib import AbstractAsyncContextManager diff --git a/pontos/github/api/contents.py b/pontos/github/api/contents.py index eaffdc864..8bebb9cb2 100644 --- a/pontos/github/api/contents.py +++ b/pontos/github/api/contents.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Optional diff --git a/pontos/github/api/errors.py b/pontos/github/api/errors.py index 5de98a533..d98c75fef 100644 --- a/pontos/github/api/errors.py +++ b/pontos/github/api/errors.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from pontos.errors import PontosError diff --git a/pontos/github/api/helper.py b/pontos/github/api/helper.py index 49562f66e..cf6704992 100644 --- a/pontos/github/api/helper.py +++ b/pontos/github/api/helper.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Dict, List, Optional, Union diff --git a/pontos/github/api/labels.py b/pontos/github/api/labels.py index a99e21fa4..6056b0adf 100644 --- a/pontos/github/api/labels.py +++ b/pontos/github/api/labels.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import AsyncIterator, Iterable, Union diff --git a/pontos/github/api/organizations.py b/pontos/github/api/organizations.py index 7b4b83509..0f81b2a4e 100644 --- a/pontos/github/api/organizations.py +++ b/pontos/github/api/organizations.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import AsyncIterator, Iterable, Optional, Union diff --git a/pontos/github/api/pull_requests.py b/pontos/github/api/pull_requests.py index 69cd982d1..c1521114d 100644 --- a/pontos/github/api/pull_requests.py +++ b/pontos/github/api/pull_requests.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from collections import defaultdict from pathlib import Path diff --git a/pontos/github/api/release.py b/pontos/github/api/release.py index 4ed9ae3b7..8895d2700 100644 --- a/pontos/github/api/release.py +++ b/pontos/github/api/release.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import asyncio from pathlib import Path diff --git a/pontos/github/api/repositories.py b/pontos/github/api/repositories.py index 0aeda98d9..0bb1b38cb 100644 --- a/pontos/github/api/repositories.py +++ b/pontos/github/api/repositories.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Any, Iterable, Optional, Union diff --git a/pontos/github/api/search.py b/pontos/github/api/search.py index 83adffc50..c6d860852 100644 --- a/pontos/github/api/search.py +++ b/pontos/github/api/search.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import AsyncIterator, Iterable, Union diff --git a/pontos/github/api/tags.py b/pontos/github/api/tags.py index 7c44562e5..a159e4182 100644 --- a/pontos/github/api/tags.py +++ b/pontos/github/api/tags.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from datetime import datetime from typing import Any, AsyncIterator, Dict, Optional, Union diff --git a/pontos/github/api/teams.py b/pontos/github/api/teams.py index a22af9cbe..04385fc3a 100644 --- a/pontos/github/api/teams.py +++ b/pontos/github/api/teams.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Any, AsyncIterator, Dict, Iterable, Optional, Union diff --git a/pontos/github/api/workflows.py b/pontos/github/api/workflows.py index d13ac1513..abadab71e 100644 --- a/pontos/github/api/workflows.py +++ b/pontos/github/api/workflows.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Any, AsyncIterator, Dict, Optional, Union diff --git a/pontos/github/argparser.py b/pontos/github/argparser.py index acc93fafe..316e5bc10 100644 --- a/pontos/github/argparser.py +++ b/pontos/github/argparser.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """ Argument parser for pontos-github """ diff --git a/pontos/github/cmds.py b/pontos/github/cmds.py index f364db1fe..bff1c0e43 100644 --- a/pontos/github/cmds.py +++ b/pontos/github/cmds.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import sys from argparse import Namespace diff --git a/pontos/github/main.py b/pontos/github/main.py index c66057a1c..35d75730b 100644 --- a/pontos/github/main.py +++ b/pontos/github/main.py @@ -1,19 +1,7 @@ -# Copyright (C) 2021 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import asyncio import sys diff --git a/pontos/github/models/__init__.py b/pontos/github/models/__init__.py index 7ac0468a6..f2b5327b9 100644 --- a/pontos/github/models/__init__.py +++ b/pontos/github/models/__init__.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # ruff: noqa: F403 diff --git a/pontos/github/models/artifact.py b/pontos/github/models/artifact.py index 2bd9000e2..2bad56286 100644 --- a/pontos/github/models/artifact.py +++ b/pontos/github/models/artifact.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from dataclasses import dataclass from datetime import datetime diff --git a/pontos/github/models/base.py b/pontos/github/models/base.py index 20e8040f8..b9016f1e1 100644 --- a/pontos/github/models/base.py +++ b/pontos/github/models/base.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from dataclasses import dataclass from typing import List, Optional diff --git a/pontos/github/models/branch.py b/pontos/github/models/branch.py index 321045c89..9612cc374 100644 --- a/pontos/github/models/branch.py +++ b/pontos/github/models/branch.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from dataclasses import dataclass from typing import List, Optional diff --git a/pontos/github/models/organization.py b/pontos/github/models/organization.py index 61dd1a4ec..1a32ab661 100644 --- a/pontos/github/models/organization.py +++ b/pontos/github/models/organization.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from dataclasses import dataclass, field from datetime import datetime diff --git a/pontos/github/models/pull_request.py b/pontos/github/models/pull_request.py index f3c952df3..3e60d6b9d 100644 --- a/pontos/github/models/pull_request.py +++ b/pontos/github/models/pull_request.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from dataclasses import dataclass, field from datetime import datetime diff --git a/pontos/github/models/release.py b/pontos/github/models/release.py index 6c234a3e9..60db65594 100644 --- a/pontos/github/models/release.py +++ b/pontos/github/models/release.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from dataclasses import dataclass, field from datetime import datetime diff --git a/pontos/github/models/search.py b/pontos/github/models/search.py index 68160fe9b..9269ea475 100644 --- a/pontos/github/models/search.py +++ b/pontos/github/models/search.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from abc import ABC diff --git a/pontos/github/models/tag.py b/pontos/github/models/tag.py index 73aff7378..02933a556 100644 --- a/pontos/github/models/tag.py +++ b/pontos/github/models/tag.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from dataclasses import dataclass from datetime import datetime diff --git a/pontos/github/models/workflow.py b/pontos/github/models/workflow.py index 8ff62c40f..bd1408e87 100644 --- a/pontos/github/models/workflow.py +++ b/pontos/github/models/workflow.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from dataclasses import dataclass, field from datetime import datetime diff --git a/pontos/github/script/__init__.py b/pontos/github/script/__init__.py index d801cad0f..3ea67c9ba 100644 --- a/pontos/github/script/__init__.py +++ b/pontos/github/script/__init__.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """ Load and run Pontos GitHub Scripts diff --git a/pontos/github/script/errors.py b/pontos/github/script/errors.py index 64fb57197..f3da66534 100644 --- a/pontos/github/script/errors.py +++ b/pontos/github/script/errors.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from pontos.errors import PontosError diff --git a/pontos/github/script/load.py b/pontos/github/script/load.py index 3c50951a6..c1d87a294 100644 --- a/pontos/github/script/load.py +++ b/pontos/github/script/load.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import asyncio import importlib diff --git a/pontos/github/script/parser.py b/pontos/github/script/parser.py index 618b5912b..ce59aac4b 100644 --- a/pontos/github/script/parser.py +++ b/pontos/github/script/parser.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import os from argparse import ArgumentParser 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/add-topics.py b/pontos/github/scripts/add-topics.py index 320e3d1da..8f91068af 100644 --- a/pontos/github/scripts/add-topics.py +++ b/pontos/github/scripts/add-topics.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """ This script prints out all repositories existing in the space of the given diff --git a/pontos/github/scripts/artifacts-download.py b/pontos/github/scripts/artifacts-download.py index 50a9b0ba4..724e0d33f 100644 --- a/pontos/github/scripts/artifacts-download.py +++ b/pontos/github/scripts/artifacts-download.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """ This script downloads a single artifacts of a given repository diff --git a/pontos/github/scripts/artifacts-sum.py b/pontos/github/scripts/artifacts-sum.py index e4e98e311..63b6fb307 100644 --- a/pontos/github/scripts/artifacts-sum.py +++ b/pontos/github/scripts/artifacts-sum.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """ This script prints out all artifacts of a given repository diff --git a/pontos/github/scripts/artifacts.py b/pontos/github/scripts/artifacts.py index 89b455826..ce265b599 100644 --- a/pontos/github/scripts/artifacts.py +++ b/pontos/github/scripts/artifacts.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """ This script prints out all artifacts of a given repository diff --git a/pontos/github/scripts/branchprotection.py b/pontos/github/scripts/branchprotection.py index 62eb84a94..ff77803d7 100644 --- a/pontos/github/scripts/branchprotection.py +++ b/pontos/github/scripts/branchprotection.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from argparse import ArgumentParser, Namespace diff --git a/pontos/github/scripts/create-repository.py b/pontos/github/scripts/create-repository.py index 1a2318008..2f2c48669 100644 --- a/pontos/github/scripts/create-repository.py +++ b/pontos/github/scripts/create-repository.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """ This script creates a new repository with default settings diff --git a/pontos/github/scripts/enforce-admins.py b/pontos/github/scripts/enforce-admins.py index f9ba1207a..f6fd9b38d 100644 --- a/pontos/github/scripts/enforce-admins.py +++ b/pontos/github/scripts/enforce-admins.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """ This script locks a branch in a repo of an organization via branch protection diff --git a/pontos/github/scripts/lock-branch.py b/pontos/github/scripts/lock-branch.py index 611890d25..47a6f393e 100644 --- a/pontos/github/scripts/lock-branch.py +++ b/pontos/github/scripts/lock-branch.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """ This script locks a branch in a repo of an organization via branch protection diff --git a/pontos/github/scripts/members.py b/pontos/github/scripts/members.py index c280e9bfc..eca74633a 100644 --- a/pontos/github/scripts/members.py +++ b/pontos/github/scripts/members.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """ This script prints out all members existing in the space of the given diff --git a/pontos/github/scripts/release-assets-download.py b/pontos/github/scripts/release-assets-download.py index 3c8f67d29..f7d9d4142 100644 --- a/pontos/github/scripts/release-assets-download.py +++ b/pontos/github/scripts/release-assets-download.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """ This script downloads a single artifacts of a given repository diff --git a/pontos/github/scripts/repositories.py b/pontos/github/scripts/repositories.py index faee542eb..bd5e0178f 100644 --- a/pontos/github/scripts/repositories.py +++ b/pontos/github/scripts/repositories.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """ This script prints out all repositories existing in the space of the given diff --git a/pontos/github/scripts/search-repositories.py b/pontos/github/scripts/search-repositories.py index 79d8b23ab..ff40fe606 100644 --- a/pontos/github/scripts/search-repositories.py +++ b/pontos/github/scripts/search-repositories.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """ This script search for repositories and prints out all found repositories diff --git a/pontos/github/scripts/team-repositories.py b/pontos/github/scripts/team-repositories.py index 2b9d3ddd5..cb04524f3 100644 --- a/pontos/github/scripts/team-repositories.py +++ b/pontos/github/scripts/team-repositories.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """ This script adds team(s) to a list of repositories of an organization diff --git a/pontos/github/scripts/teams.py b/pontos/github/scripts/teams.py index bac2e4ac2..482b4ffce 100644 --- a/pontos/github/scripts/teams.py +++ b/pontos/github/scripts/teams.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """ This script prints out all teams existing in the space of the given diff --git a/pontos/github/scripts/topics.py b/pontos/github/scripts/topics.py index 48bf3d981..0ac090af0 100644 --- a/pontos/github/scripts/topics.py +++ b/pontos/github/scripts/topics.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """ This script prints out all repositories existing in the space of the given diff --git a/pontos/github/scripts/workflow-runs.py b/pontos/github/scripts/workflow-runs.py index 8ad7e40b9..5bfb4f275 100644 --- a/pontos/github/scripts/workflow-runs.py +++ b/pontos/github/scripts/workflow-runs.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from argparse import ArgumentParser, Namespace diff --git a/pontos/helper.py b/pontos/helper.py index eab4bade9..d1c003e5e 100644 --- a/pontos/helper.py +++ b/pontos/helper.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import os import re diff --git a/pontos/models/__init__.py b/pontos/models/__init__.py index 1402720d8..d956ed26b 100644 --- a/pontos/models/__init__.py +++ b/pontos/models/__init__.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from dataclasses import dataclass from datetime import date, datetime, timezone diff --git a/pontos/nvd/__init__.py b/pontos/nvd/__init__.py index 03ffe0a17..4b39c1251 100644 --- a/pontos/nvd/__init__.py +++ b/pontos/nvd/__init__.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .api import NVDApi, NVDResults, convert_camel_case, format_date, now diff --git a/pontos/nvd/api.py b/pontos/nvd/api.py index 3ea297cb0..c5c112d16 100644 --- a/pontos/nvd/api.py +++ b/pontos/nvd/api.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import asyncio import time diff --git a/pontos/nvd/cpe/__init__.py b/pontos/nvd/cpe/__init__.py index 3961d3826..0df57bbed 100644 --- a/pontos/nvd/cpe/__init__.py +++ b/pontos/nvd/cpe/__init__.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import asyncio from argparse import ArgumentParser, Namespace diff --git a/pontos/nvd/cpe/api.py b/pontos/nvd/cpe/api.py index 347914f41..ba4df766c 100644 --- a/pontos/nvd/cpe/api.py +++ b/pontos/nvd/cpe/api.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from datetime import datetime diff --git a/pontos/nvd/cve/__init__.py b/pontos/nvd/cve/__init__.py index ed2dd04a6..54d42726c 100644 --- a/pontos/nvd/cve/__init__.py +++ b/pontos/nvd/cve/__init__.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import asyncio from argparse import ArgumentParser, Namespace diff --git a/pontos/nvd/cve/api.py b/pontos/nvd/cve/api.py index 6dcf5e49a..98f0af10f 100644 --- a/pontos/nvd/cve/api.py +++ b/pontos/nvd/cve/api.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from datetime import datetime from types import TracebackType diff --git a/pontos/nvd/models/__init__.py b/pontos/nvd/models/__init__.py index e1fd3765c..90ea3acb3 100644 --- a/pontos/nvd/models/__init__.py +++ b/pontos/nvd/models/__init__.py @@ -1,16 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/pontos/nvd/models/cpe.py b/pontos/nvd/models/cpe.py index 33027adc3..20d1595b2 100644 --- a/pontos/nvd/models/cpe.py +++ b/pontos/nvd/models/cpe.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from dataclasses import dataclass, field from datetime import datetime diff --git a/pontos/nvd/models/cve.py b/pontos/nvd/models/cve.py index 203c2ddbd..9c477df76 100644 --- a/pontos/nvd/models/cve.py +++ b/pontos/nvd/models/cve.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from dataclasses import dataclass, field from datetime import date, datetime diff --git a/pontos/nvd/models/cvss_v2.py b/pontos/nvd/models/cvss_v2.py index a6cd5e375..6793fa58e 100644 --- a/pontos/nvd/models/cvss_v2.py +++ b/pontos/nvd/models/cvss_v2.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from dataclasses import dataclass from typing import Optional diff --git a/pontos/nvd/models/cvss_v3.py b/pontos/nvd/models/cvss_v3.py index 58b154ddc..204f4ce65 100644 --- a/pontos/nvd/models/cvss_v3.py +++ b/pontos/nvd/models/cvss_v3.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from dataclasses import dataclass from typing import Optional diff --git a/pontos/pontos.py b/pontos/pontos.py index 067d3c82d..b0f7b6dab 100644 --- a/pontos/pontos.py +++ b/pontos/pontos.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import sys diff --git a/pontos/release/__init__.py b/pontos/release/__init__.py index 183688968..61e7f1943 100644 --- a/pontos/release/__init__.py +++ b/pontos/release/__init__.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .create import CreateReleaseCommand, CreateReleaseReturnValue from .helper import ReleaseType, find_signing_key, get_git_repository_name diff --git a/pontos/release/create.py b/pontos/release/create.py index afbe49306..f1df1e811 100644 --- a/pontos/release/create.py +++ b/pontos/release/create.py @@ -1,20 +1,7 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -# from argparse import Namespace from dataclasses import dataclass diff --git a/pontos/release/helper.py b/pontos/release/helper.py index 1086f7bf2..24d157b06 100644 --- a/pontos/release/helper.py +++ b/pontos/release/helper.py @@ -1,19 +1,7 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from enum import Enum from typing import Optional diff --git a/pontos/release/main.py b/pontos/release/main.py index d89ef030d..81053011b 100644 --- a/pontos/release/main.py +++ b/pontos/release/main.py @@ -1,22 +1,7 @@ -# -*- 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 -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -# import logging import subprocess diff --git a/pontos/release/parser.py b/pontos/release/parser.py index b60de7143..36be0642b 100644 --- a/pontos/release/parser.py +++ b/pontos/release/parser.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import argparse import os diff --git a/pontos/release/sign.py b/pontos/release/sign.py index 0922c3d6a..f4ab287f7 100644 --- a/pontos/release/sign.py +++ b/pontos/release/sign.py @@ -1,20 +1,7 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -# import asyncio import hashlib diff --git a/pontos/terminal/__init__.py b/pontos/terminal/__init__.py index b57b7b451..f55da0a51 100644 --- a/pontos/terminal/__init__.py +++ b/pontos/terminal/__init__.py @@ -1,19 +1,7 @@ -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .null import NullTerminal from .rich import RichTerminal diff --git a/pontos/terminal/null.py b/pontos/terminal/null.py index 749f1068a..ee05a2c28 100644 --- a/pontos/terminal/null.py +++ b/pontos/terminal/null.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from contextlib import contextmanager from typing import Any, Generator diff --git a/pontos/terminal/rich.py b/pontos/terminal/rich.py index 9801bcf2c..dc2a418d3 100644 --- a/pontos/terminal/rich.py +++ b/pontos/terminal/rich.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import IO, Any, Callable, Iterable, Optional diff --git a/pontos/terminal/terminal.py b/pontos/terminal/terminal.py index cb5950210..00177775c 100644 --- a/pontos/terminal/terminal.py +++ b/pontos/terminal/terminal.py @@ -1,19 +1,7 @@ -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from abc import ABC, abstractmethod from contextlib import contextmanager diff --git a/pontos/testing/__init__.py b/pontos/testing/__init__.py index ae67246d2..4ebc3ea67 100644 --- a/pontos/testing/__init__.py +++ b/pontos/testing/__init__.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """ A module containing classes and functions mostly useful for creating unit tests diff --git a/pontos/typing/__init__.py b/pontos/typing/__init__.py index 3dd461d66..be750d7b3 100644 --- a/pontos/typing/__init__.py +++ b/pontos/typing/__init__.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from abc import abstractmethod from typing import Protocol, runtime_checkable diff --git a/pontos/updateheader/__init__.py b/pontos/updateheader/__init__.py index c9d4b7924..f942467a6 100644 --- a/pontos/updateheader/__init__.py +++ b/pontos/updateheader/__init__.py @@ -1,19 +1,7 @@ -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .updateheader import main diff --git a/pontos/updateheader/__main__.py b/pontos/updateheader/__main__.py index ecedb5e8d..3f7c67c71 100644 --- a/pontos/updateheader/__main__.py +++ b/pontos/updateheader/__main__.py @@ -1,19 +1,7 @@ -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=invalid-name diff --git a/pontos/updateheader/updateheader.py b/pontos/updateheader/updateheader.py index c827874b6..f77d973fc 100644 --- a/pontos/updateheader/updateheader.py +++ b/pontos/updateheader/updateheader.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . """Script to update the year of last modification in the license header of source code files.\n diff --git a/pontos/version/__init__.py b/pontos/version/__init__.py index 535dbdfa9..29f8ba52f 100644 --- a/pontos/version/__init__.py +++ b/pontos/version/__init__.py @@ -1,19 +1,7 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from .__version__ import __version__ from ._calculator import VersionCalculator diff --git a/pontos/version/__main__.py b/pontos/version/__main__.py index 30ba820d1..5a278f551 100644 --- a/pontos/version/__main__.py +++ b/pontos/version/__main__.py @@ -1,19 +1,7 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=invalid-name diff --git a/pontos/version/_calculator.py b/pontos/version/_calculator.py index 2354d01be..aa26bb3c9 100644 --- a/pontos/version/_calculator.py +++ b/pontos/version/_calculator.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from abc import ABC, abstractmethod from datetime import datetime diff --git a/pontos/version/commands/__init__.py b/pontos/version/commands/__init__.py index 144aa6d11..bcee68390 100644 --- a/pontos/version/commands/__init__.py +++ b/pontos/version/commands/__init__.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import Iterable, Tuple, Type 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..52c8e0370 100644 --- a/pontos/version/commands/_cmake.py +++ b/pontos/version/commands/_cmake.py @@ -1,19 +1,7 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import re diff --git a/pontos/version/commands/_command.py b/pontos/version/commands/_command.py index 39d653b91..e6f3a431c 100644 --- a/pontos/version/commands/_command.py +++ b/pontos/version/commands/_command.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from abc import ABC, abstractmethod from pathlib import Path diff --git a/pontos/version/commands/_go.py b/pontos/version/commands/_go.py index 619b2d538..563452dbd 100644 --- a/pontos/version/commands/_go.py +++ b/pontos/version/commands/_go.py @@ -1,19 +1,7 @@ -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import re from pathlib import Path diff --git a/pontos/version/commands/_java.py b/pontos/version/commands/_java.py index bdef42694..db0082585 100644 --- a/pontos/version/commands/_java.py +++ b/pontos/version/commands/_java.py @@ -1,19 +1,7 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import json import re diff --git a/pontos/version/commands/_javascript.py b/pontos/version/commands/_javascript.py index 5dfeb2623..436750bcc 100644 --- a/pontos/version/commands/_javascript.py +++ b/pontos/version/commands/_javascript.py @@ -1,19 +1,7 @@ -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import json import re diff --git a/pontos/version/commands/_python.py b/pontos/version/commands/_python.py index 3c68bfc83..f12caa9cf 100644 --- a/pontos/version/commands/_python.py +++ b/pontos/version/commands/_python.py @@ -1,19 +1,7 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import importlib.util from pathlib import Path diff --git a/pontos/version/errors.py b/pontos/version/errors.py index b84b61575..743898085 100644 --- a/pontos/version/errors.py +++ b/pontos/version/errors.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from pontos.errors import PontosError diff --git a/pontos/version/helper.py b/pontos/version/helper.py index b55b4c43e..993e23c60 100644 --- a/pontos/version/helper.py +++ b/pontos/version/helper.py @@ -1,21 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -# from typing import Iterator, Optional diff --git a/pontos/version/main.py b/pontos/version/main.py index 84273562e..373ab04a1 100644 --- a/pontos/version/main.py +++ b/pontos/version/main.py @@ -1,19 +1,7 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import sys from enum import IntEnum, auto diff --git a/pontos/version/parser.py b/pontos/version/parser.py index e277b8d88..09a0604b1 100644 --- a/pontos/version/parser.py +++ b/pontos/version/parser.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import argparse from typing import List, Optional diff --git a/pontos/version/project.py b/pontos/version/project.py index 7c112b933..f1df47f5e 100644 --- a/pontos/version/project.py +++ b/pontos/version/project.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from typing import List, Literal, Union diff --git a/pontos/version/schemes/__init__.py b/pontos/version/schemes/__init__.py index c7e010bb5..84dd48613 100644 --- a/pontos/version/schemes/__init__.py +++ b/pontos/version/schemes/__init__.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from argparse import ArgumentTypeError diff --git a/pontos/version/schemes/_pep440.py b/pontos/version/schemes/_pep440.py index 36e1331d1..c2ed6d97e 100644 --- a/pontos/version/schemes/_pep440.py +++ b/pontos/version/schemes/_pep440.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import re from typing import Any, Optional, Tuple diff --git a/pontos/version/schemes/_scheme.py b/pontos/version/schemes/_scheme.py index 1a5b490b8..6e292465c 100644 --- a/pontos/version/schemes/_scheme.py +++ b/pontos/version/schemes/_scheme.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from abc import ABC from typing import Type diff --git a/pontos/version/schemes/_semantic.py b/pontos/version/schemes/_semantic.py index 4b2690cca..109cc8286 100644 --- a/pontos/version/schemes/_semantic.py +++ b/pontos/version/schemes/_semantic.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import re from typing import Any, Optional, Tuple diff --git a/pontos/version/version.py b/pontos/version/version.py index d6cfbf0c9..cda420aa7 100644 --- a/pontos/version/version.py +++ b/pontos/version/version.py @@ -1,19 +1,7 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from abc import ABC, abstractmethod from dataclasses import dataclass, field diff --git a/tests/__init__.py b/tests/__init__.py index e4ff76e36..7f969578f 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,19 +1,7 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=no-name-in-module,no-member,unnecessary-dunder-call diff --git a/tests/changelog/__init__.py b/tests/changelog/__init__.py index 1c4f10c35..d75af9007 100644 --- a/tests/changelog/__init__.py +++ b/tests/changelog/__init__.py @@ -1,19 +1,7 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import os from contextlib import contextmanager diff --git a/tests/changelog/test_conventional_commits.py b/tests/changelog/test_conventional_commits.py index 3d45be33d..6988af410 100644 --- a/tests/changelog/test_conventional_commits.py +++ b/tests/changelog/test_conventional_commits.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest from dataclasses import dataclass diff --git a/tests/changelog/test_parser.py b/tests/changelog/test_parser.py index 19da919f2..a73ac3587 100644 --- a/tests/changelog/test_parser.py +++ b/tests/changelog/test_parser.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest from pathlib import Path diff --git a/tests/git/__init__.py b/tests/git/__init__.py index e1fd3765c..90ea3acb3 100644 --- a/tests/git/__init__.py +++ b/tests/git/__init__.py @@ -1,16 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/git/test_git.py b/tests/git/test_git.py index b072d34fa..f5d4856ba 100644 --- a/tests/git/test_git.py +++ b/tests/git/test_git.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest from pathlib import Path diff --git a/tests/git/test_status.py b/tests/git/test_status.py index 24beeb7c0..fc2481b84 100644 --- a/tests/git/test_status.py +++ b/tests/git/test_status.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import os import unittest diff --git a/tests/github/__init__.py b/tests/github/__init__.py index e1fd3765c..90ea3acb3 100644 --- a/tests/github/__init__.py +++ b/tests/github/__init__.py @@ -1,16 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/github/actions/__init__.py b/tests/github/actions/__init__.py index e1fd3765c..90ea3acb3 100644 --- a/tests/github/actions/__init__.py +++ b/tests/github/actions/__init__.py @@ -1,16 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/github/actions/test_core.py b/tests/github/actions/test_core.py index ba4c69085..c0a18db6e 100644 --- a/tests/github/actions/test_core.py +++ b/tests/github/actions/test_core.py @@ -1,19 +1,7 @@ -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest from unittest.mock import patch diff --git a/tests/github/actions/test_env.py b/tests/github/actions/test_env.py index f984a32bf..eaab863ab 100644 --- a/tests/github/actions/test_env.py +++ b/tests/github/actions/test_env.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest from pathlib import Path diff --git a/tests/github/actions/test_event.py b/tests/github/actions/test_event.py index 13306aba9..ed0e77673 100644 --- a/tests/github/actions/test_event.py +++ b/tests/github/actions/test_event.py @@ -1,19 +1,7 @@ -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest from pathlib import Path diff --git a/tests/github/api/__init__.py b/tests/github/api/__init__.py index cc891402c..fbb9ecd82 100644 --- a/tests/github/api/__init__.py +++ b/tests/github/api/__init__.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from unittest.mock import MagicMock diff --git a/tests/github/api/test_artifacts.py b/tests/github/api/test_artifacts.py index 82a035968..603a0b05c 100644 --- a/tests/github/api/test_artifacts.py +++ b/tests/github/api/test_artifacts.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=redefined-builtin, line-too-long diff --git a/tests/github/api/test_branch.py b/tests/github/api/test_branch.py index f8856eb1f..908506a18 100644 --- a/tests/github/api/test_branch.py +++ b/tests/github/api/test_branch.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=line-too-long diff --git a/tests/github/api/test_client.py b/tests/github/api/test_client.py index cdcf61396..810ac287d 100644 --- a/tests/github/api/test_client.py +++ b/tests/github/api/test_client.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=arguments-differ,redefined-builtin diff --git a/tests/github/api/test_contents.py b/tests/github/api/test_contents.py index 53dc32fe3..1010e036e 100644 --- a/tests/github/api/test_contents.py +++ b/tests/github/api/test_contents.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . from pathlib import Path diff --git a/tests/github/api/test_labels.py b/tests/github/api/test_labels.py index b522aa76b..97c04119c 100644 --- a/tests/github/api/test_labels.py +++ b/tests/github/api/test_labels.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=redefined-builtin diff --git a/tests/github/api/test_organizations.py b/tests/github/api/test_organizations.py index 31120ce43..61b264c3e 100644 --- a/tests/github/api/test_organizations.py +++ b/tests/github/api/test_organizations.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=too-many-lines, redefined-builtin, line-too-long diff --git a/tests/github/api/test_pull_requests.py b/tests/github/api/test_pull_requests.py index 607c87812..375178c5b 100644 --- a/tests/github/api/test_pull_requests.py +++ b/tests/github/api/test_pull_requests.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=redefined-builtin, line-too-long, too-many-lines # ruff: noqa: E501 diff --git a/tests/github/api/test_release.py b/tests/github/api/test_release.py index 07ee6d5fc..11bdd97f6 100644 --- a/tests/github/api/test_release.py +++ b/tests/github/api/test_release.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=redefined-builtin, line-too-long, too-many-lines diff --git a/tests/github/api/test_repositories.py b/tests/github/api/test_repositories.py index e1ac5674d..bd3f32203 100644 --- a/tests/github/api/test_repositories.py +++ b/tests/github/api/test_repositories.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=line-too-long diff --git a/tests/github/api/test_search.py b/tests/github/api/test_search.py index ebdaea50b..d0ffefa54 100644 --- a/tests/github/api/test_search.py +++ b/tests/github/api/test_search.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=redefined-builtin, line-too-long diff --git a/tests/github/api/test_tags.py b/tests/github/api/test_tags.py index f9e7c760a..55f18ced9 100644 --- a/tests/github/api/test_tags.py +++ b/tests/github/api/test_tags.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=too-many-lines, redefined-builtin, line-too-long # ruff: noqa: E501 diff --git a/tests/github/api/test_teams.py b/tests/github/api/test_teams.py index 1c90f436c..f3fdf7439 100644 --- a/tests/github/api/test_teams.py +++ b/tests/github/api/test_teams.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=redefined-builtin, line-too-long diff --git a/tests/github/api/test_workflows.py b/tests/github/api/test_workflows.py index f642e4bf4..41e95bbfa 100644 --- a/tests/github/api/test_workflows.py +++ b/tests/github/api/test_workflows.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=too-many-lines, redefined-builtin, line-too-long diff --git a/tests/github/models/__init__.py b/tests/github/models/__init__.py index e1fd3765c..90ea3acb3 100644 --- a/tests/github/models/__init__.py +++ b/tests/github/models/__init__.py @@ -1,16 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/github/models/test_artifact.py b/tests/github/models/test_artifact.py index 2e6f615dc..10c8227b0 100644 --- a/tests/github/models/test_artifact.py +++ b/tests/github/models/test_artifact.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=line-too-long diff --git a/tests/github/models/test_base.py b/tests/github/models/test_base.py index aa848e5e1..9cfe95d5b 100644 --- a/tests/github/models/test_base.py +++ b/tests/github/models/test_base.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=line-too-long diff --git a/tests/github/models/test_branch.py b/tests/github/models/test_branch.py index 4077a1632..0e372da6c 100644 --- a/tests/github/models/test_branch.py +++ b/tests/github/models/test_branch.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=line-too-long diff --git a/tests/github/models/test_organization.py b/tests/github/models/test_organization.py index 76705d22b..193f07be7 100644 --- a/tests/github/models/test_organization.py +++ b/tests/github/models/test_organization.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=line-too-long, redefined-builtin # ruff: noqa: E501 diff --git a/tests/github/models/test_pull_request.py b/tests/github/models/test_pull_request.py index d4359a85b..180934c81 100644 --- a/tests/github/models/test_pull_request.py +++ b/tests/github/models/test_pull_request.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=line-too-long, too-many-lines diff --git a/tests/github/models/test_release.py b/tests/github/models/test_release.py index 8e44d96de..8d36de522 100644 --- a/tests/github/models/test_release.py +++ b/tests/github/models/test_release.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=line-too-long diff --git a/tests/github/models/test_search.py b/tests/github/models/test_search.py index d0fa8c6bd..50b861612 100644 --- a/tests/github/models/test_search.py +++ b/tests/github/models/test_search.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=line-too-long, invalid-name diff --git a/tests/github/models/test_tag.py b/tests/github/models/test_tag.py index 91d472ff7..ef4087a6b 100644 --- a/tests/github/models/test_tag.py +++ b/tests/github/models/test_tag.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=line-too-long # ruff: noqa: E501 diff --git a/tests/github/models/test_workflow.py b/tests/github/models/test_workflow.py index e24f233d5..c95e752db 100644 --- a/tests/github/models/test_workflow.py +++ b/tests/github/models/test_workflow.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=line-too-long diff --git a/tests/github/script/__init__.py b/tests/github/script/__init__.py index e1fd3765c..90ea3acb3 100644 --- a/tests/github/script/__init__.py +++ b/tests/github/script/__init__.py @@ -1,16 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/github/script/test_load.py b/tests/github/script/test_load.py index 1ba834dba..7ad1b0c67 100644 --- a/tests/github/script/test_load.py +++ b/tests/github/script/test_load.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import io import unittest diff --git a/tests/github/script/test_parser.py b/tests/github/script/test_parser.py index 1f97b52b6..a4b09d3f0 100644 --- a/tests/github/script/test_parser.py +++ b/tests/github/script/test_parser.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest from unittest.mock import patch diff --git a/tests/github/test_argparser.py b/tests/github/test_argparser.py index e726f2634..8786fb13f 100644 --- a/tests/github/test_argparser.py +++ b/tests/github/test_argparser.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=no-member diff --git a/tests/github/test_cmds.py b/tests/github/test_cmds.py index efc0caaaf..3039f3146 100644 --- a/tests/github/test_cmds.py +++ b/tests/github/test_cmds.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=no-member diff --git a/tests/models/__init__.py b/tests/models/__init__.py index e1fd3765c..90ea3acb3 100644 --- a/tests/models/__init__.py +++ b/tests/models/__init__.py @@ -1,16 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/models/test_models.py b/tests/models/test_models.py index cea2c1906..a50521eac 100644 --- a/tests/models/test_models.py +++ b/tests/models/test_models.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=no-member, disallowed-name diff --git a/tests/nvd/cpe/__init__.py b/tests/nvd/cpe/__init__.py index e1fd3765c..90ea3acb3 100644 --- a/tests/nvd/cpe/__init__.py +++ b/tests/nvd/cpe/__init__.py @@ -1,16 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/nvd/cpe/test_api.py b/tests/nvd/cpe/test_api.py index bc0ba5d81..e36ebca09 100644 --- a/tests/nvd/cpe/test_api.py +++ b/tests/nvd/cpe/test_api.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=line-too-long, arguments-differ, redefined-builtin # ruff: noqa: E501 diff --git a/tests/nvd/cve/__init__.py b/tests/nvd/cve/__init__.py index e1fd3765c..90ea3acb3 100644 --- a/tests/nvd/cve/__init__.py +++ b/tests/nvd/cve/__init__.py @@ -1,16 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/nvd/cve/test_api.py b/tests/nvd/cve/test_api.py index e131f6932..e24e2820b 100644 --- a/tests/nvd/cve/test_api.py +++ b/tests/nvd/cve/test_api.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=line-too-long, arguments-differ, redefined-builtin diff --git a/tests/nvd/models/__init__.py b/tests/nvd/models/__init__.py index e1fd3765c..90ea3acb3 100644 --- a/tests/nvd/models/__init__.py +++ b/tests/nvd/models/__init__.py @@ -1,16 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/nvd/models/test_cpe.py b/tests/nvd/models/test_cpe.py index c6a59ea21..76a6d7574 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 273c85c55..d3b4f28b6 100644 --- a/tests/nvd/models/test_cve.py +++ b/tests/nvd/models/test_cve.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=line-too-long # ruff: noqa: E501 diff --git a/tests/nvd/test_api.py b/tests/nvd/test_api.py index 45f172c4b..eedef8ed9 100644 --- a/tests/nvd/test_api.py +++ b/tests/nvd/test_api.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=protected-access diff --git a/tests/release/__init__.py b/tests/release/__init__.py index ca35876b3..1a8b2ebc7 100644 --- a/tests/release/__init__.py +++ b/tests/release/__init__.py @@ -1,16 +1,4 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/release/test_create.py b/tests/release/test_create.py index 6334f46d7..dd2334faa 100644 --- a/tests/release/test_create.py +++ b/tests/release/test_create.py @@ -1,19 +1,7 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=too-many-lines, line-too-long, invalid-name diff --git a/tests/release/test_helper.py b/tests/release/test_helper.py index e214de90d..1d667da0b 100644 --- a/tests/release/test_helper.py +++ b/tests/release/test_helper.py @@ -1,19 +1,7 @@ -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import contextlib import os diff --git a/tests/release/test_parser.py b/tests/release/test_parser.py index 9a0241517..bc1e41788 100644 --- a/tests/release/test_parser.py +++ b/tests/release/test_parser.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest from contextlib import redirect_stderr diff --git a/tests/release/test_sign.py b/tests/release/test_sign.py index ec3fb8923..f0c4e3b46 100644 --- a/tests/release/test_sign.py +++ b/tests/release/test_sign.py @@ -1,19 +1,7 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=C0413,W0108 import unittest diff --git a/tests/terminal/__init__.py b/tests/terminal/__init__.py index e32115d27..1a8b2ebc7 100644 --- a/tests/terminal/__init__.py +++ b/tests/terminal/__init__.py @@ -1,17 +1,4 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/terminal/test_terminal.py b/tests/terminal/test_terminal.py index f3f9c5597..cc92ee870 100644 --- a/tests/terminal/test_terminal.py +++ b/tests/terminal/test_terminal.py @@ -1,19 +1,7 @@ -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=invalid-name, protected-access diff --git a/tests/test-typing/__init__.py b/tests/test-typing/__init__.py index 6d9a0ee83..779c036cf 100644 --- a/tests/test-typing/__init__.py +++ b/tests/test-typing/__init__.py @@ -2,15 +2,3 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/test-typing/test_typing.py b/tests/test-typing/test_typing.py index e4ba58e46..8cfc0cce1 100644 --- a/tests/test-typing/test_typing.py +++ b/tests/test-typing/test_typing.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/test_helper.py b/tests/test_helper.py index c67398914..0f57b72e6 100644 --- a/tests/test_helper.py +++ b/tests/test_helper.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=redefined-builtin,disallowed-name # ruff: noqa: E501 diff --git a/tests/test_pontos.py b/tests/test_pontos.py index 70e7ecf36..2b44bc428 100644 --- a/tests/test_pontos.py +++ b/tests/test_pontos.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest from unittest.mock import patch diff --git a/tests/testing/__init__.py b/tests/testing/__init__.py index e1fd3765c..90ea3acb3 100644 --- a/tests/testing/__init__.py +++ b/tests/testing/__init__.py @@ -1,16 +1,4 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/testing/test_testing.py b/tests/testing/test_testing.py index 8e9e01597..74641f7e0 100644 --- a/tests/testing/test_testing.py +++ b/tests/testing/test_testing.py @@ -1,19 +1,7 @@ -# Copyright (C) 2022 Greenbone AG +# SPDX-FileCopyrightText: 2022-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest from pathlib import Path diff --git a/tests/updateheader/__init__.py b/tests/updateheader/__init__.py index b0b7daa89..1a8b2ebc7 100644 --- a/tests/updateheader/__init__.py +++ b/tests/updateheader/__init__.py @@ -2,15 +2,3 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/updateheader/test_header.py b/tests/updateheader/test_header.py index e2fc17d23..6b48cccec 100644 --- a/tests/updateheader/test_header.py +++ b/tests/updateheader/test_header.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import datetime import re diff --git a/tests/version/__init__.py b/tests/version/__init__.py index 1c4f10c35..d75af9007 100644 --- a/tests/version/__init__.py +++ b/tests/version/__init__.py @@ -1,19 +1,7 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import os from contextlib import contextmanager diff --git a/tests/version/commands/__init__.py b/tests/version/commands/__init__.py index 36b4786ef..d983ddae5 100644 --- a/tests/version/commands/__init__.py +++ b/tests/version/commands/__init__.py @@ -2,15 +2,3 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/version/commands/test_cargo.py b/tests/version/commands/test_cargo.py index b13fd6d1d..a8d2604ee 100644 --- a/tests/version/commands/test_cargo.py +++ b/tests/version/commands/test_cargo.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 Greenbone AG +# +# SPDX-License-Identifier: GPL-3.0-or-later + import unittest from contextlib import contextmanager from pathlib import Path diff --git a/tests/version/commands/test_cmake.py b/tests/version/commands/test_cmake.py index 9e09a9f9a..f9093a1be 100644 --- a/tests/version/commands/test_cmake.py +++ b/tests/version/commands/test_cmake.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable=protected-access diff --git a/tests/version/commands/test_go.py b/tests/version/commands/test_go.py index 49e5a35f3..c1b44e2c4 100644 --- a/tests/version/commands/test_go.py +++ b/tests/version/commands/test_go.py @@ -1,20 +1,7 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2021-2022 Greenbone AG +# SPDX-FileCopyrightText: 2021-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest from dataclasses import dataclass diff --git a/tests/version/commands/test_java.py b/tests/version/commands/test_java.py index 5f42160b0..ce82a9c09 100644 --- a/tests/version/commands/test_java.py +++ b/tests/version/commands/test_java.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest from pathlib import Path from string import Template diff --git a/tests/version/commands/test_javascript.py b/tests/version/commands/test_javascript.py index 6f175e76f..4c4abd93b 100644 --- a/tests/version/commands/test_javascript.py +++ b/tests/version/commands/test_javascript.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import json diff --git a/tests/version/commands/test_python.py b/tests/version/commands/test_python.py index 5f62ef566..d11bbea2b 100644 --- a/tests/version/commands/test_python.py +++ b/tests/version/commands/test_python.py @@ -1,19 +1,7 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . # pylint: disable = protected-access diff --git a/tests/version/schemes/__init__.py b/tests/version/schemes/__init__.py index 36b4786ef..d983ddae5 100644 --- a/tests/version/schemes/__init__.py +++ b/tests/version/schemes/__init__.py @@ -2,15 +2,3 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . diff --git a/tests/version/schemes/test_pep440.py b/tests/version/schemes/test_pep440.py index b12f27769..ec88d89af 100644 --- a/tests/version/schemes/test_pep440.py +++ b/tests/version/schemes/test_pep440.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest from datetime import datetime diff --git a/tests/version/schemes/test_semantic.py b/tests/version/schemes/test_semantic.py index ef0c76922..e4ee9c171 100644 --- a/tests/version/schemes/test_semantic.py +++ b/tests/version/schemes/test_semantic.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest from datetime import datetime diff --git a/tests/version/test_commands.py b/tests/version/test_commands.py index a3f0e44ff..ba535e960 100644 --- a/tests/version/test_commands.py +++ b/tests/version/test_commands.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/version/test_errors.py b/tests/version/test_errors.py index 90de79bc6..56b6fad14 100644 --- a/tests/version/test_errors.py +++ b/tests/version/test_errors.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/version/test_helper.py b/tests/version/test_helper.py index 08ed57379..27d39ce68 100644 --- a/tests/version/test_helper.py +++ b/tests/version/test_helper.py @@ -1,19 +1,7 @@ -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2023 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest from unittest.mock import patch diff --git a/tests/version/test_main.py b/tests/version/test_main.py index 7a790dbea..082e6181a 100644 --- a/tests/version/test_main.py +++ b/tests/version/test_main.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest from contextlib import redirect_stderr, redirect_stdout diff --git a/tests/version/test_parser.py b/tests/version/test_parser.py index 18cfcc2e6..9cf89b306 100644 --- a/tests/version/test_parser.py +++ b/tests/version/test_parser.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest from contextlib import redirect_stderr diff --git a/tests/version/test_project.py b/tests/version/test_project.py index 21b82a93b..445134120 100644 --- a/tests/version/test_project.py +++ b/tests/version/test_project.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest diff --git a/tests/version/test_version.py b/tests/version/test_version.py index 358d1b5be..a507c1bb2 100644 --- a/tests/version/test_version.py +++ b/tests/version/test_version.py @@ -2,18 +2,6 @@ # # SPDX-License-Identifier: GPL-3.0-or-later # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . import unittest