diff --git a/kiauh/__init__.py b/kiauh/__init__.py index 3123e23f..b9683991 100644 --- a/kiauh/__init__.py +++ b/kiauh/__init__.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/components/crowsnest/__init__.py b/kiauh/components/crowsnest/__init__.py index 8601716d..65b2e618 100644 --- a/kiauh/components/crowsnest/__init__.py +++ b/kiauh/components/crowsnest/__init__.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/components/crowsnest/crowsnest.py b/kiauh/components/crowsnest/crowsnest.py index 56809fb2..c499737f 100644 --- a/kiauh/components/crowsnest/crowsnest.py +++ b/kiauh/components/crowsnest/crowsnest.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import shutil diff --git a/kiauh/components/klipper/__init__.py b/kiauh/components/klipper/__init__.py index 9b93b72c..787719c4 100644 --- a/kiauh/components/klipper/__init__.py +++ b/kiauh/components/klipper/__init__.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/components/klipper/klipper.py b/kiauh/components/klipper/klipper.py index 1c6df23e..fb76bde1 100644 --- a/kiauh/components/klipper/klipper.py +++ b/kiauh/components/klipper/klipper.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations from dataclasses import dataclass, field diff --git a/kiauh/components/klipper/klipper_dialogs.py b/kiauh/components/klipper/klipper_dialogs.py index ebcb97fc..dd91b807 100644 --- a/kiauh/components/klipper/klipper_dialogs.py +++ b/kiauh/components/klipper/klipper_dialogs.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/components/klipper/klipper_utils.py b/kiauh/components/klipper/klipper_utils.py index 2728a15a..7c75d172 100644 --- a/kiauh/components/klipper/klipper_utils.py +++ b/kiauh/components/klipper/klipper_utils.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import shutil diff --git a/kiauh/components/klipper/menus/klipper_remove_menu.py b/kiauh/components/klipper/menus/klipper_remove_menu.py index b8a0d61e..0b74027a 100644 --- a/kiauh/components/klipper/menus/klipper_remove_menu.py +++ b/kiauh/components/klipper/menus/klipper_remove_menu.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import textwrap diff --git a/kiauh/components/klipper/services/klipper_instance_service.py b/kiauh/components/klipper/services/klipper_instance_service.py index 00501180..5b1f3b23 100644 --- a/kiauh/components/klipper/services/klipper_instance_service.py +++ b/kiauh/components/klipper/services/klipper_instance_service.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations from typing import List diff --git a/kiauh/components/klipper/services/klipper_setup_service.py b/kiauh/components/klipper/services/klipper_setup_service.py index 5be85226..7d4dedba 100644 --- a/kiauh/components/klipper/services/klipper_setup_service.py +++ b/kiauh/components/klipper/services/klipper_setup_service.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import traceback diff --git a/kiauh/components/klipper/services/tests/test_klipper_setup_service.py b/kiauh/components/klipper/services/tests/test_klipper_setup_service.py index 05f82038..8fae42e1 100644 --- a/kiauh/components/klipper/services/tests/test_klipper_setup_service.py +++ b/kiauh/components/klipper/services/tests/test_klipper_setup_service.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations from typing import Any, Dict, List diff --git a/kiauh/components/klipper_firmware/__init__.py b/kiauh/components/klipper_firmware/__init__.py index 97da5e27..c2eb9f5b 100644 --- a/kiauh/components/klipper_firmware/__init__.py +++ b/kiauh/components/klipper_firmware/__init__.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/components/klipper_firmware/firmware_utils.py b/kiauh/components/klipper_firmware/firmware_utils.py index 3692a6c3..dc03743e 100644 --- a/kiauh/components/klipper_firmware/firmware_utils.py +++ b/kiauh/components/klipper_firmware/firmware_utils.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + import re from pathlib import Path from subprocess import ( diff --git a/kiauh/components/klipper_firmware/flash_options.py b/kiauh/components/klipper_firmware/flash_options.py index 838495e1..29dfc12c 100644 --- a/kiauh/components/klipper_firmware/flash_options.py +++ b/kiauh/components/klipper_firmware/flash_options.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations from dataclasses import field diff --git a/kiauh/components/klipper_firmware/menus/klipper_build_menu.py b/kiauh/components/klipper_firmware/menus/klipper_build_menu.py index 97c75354..a0151e03 100644 --- a/kiauh/components/klipper_firmware/menus/klipper_build_menu.py +++ b/kiauh/components/klipper_firmware/menus/klipper_build_menu.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import textwrap diff --git a/kiauh/components/klipper_firmware/menus/klipper_flash_error_menu.py b/kiauh/components/klipper_firmware/menus/klipper_flash_error_menu.py index 0f6b0748..a0d56dab 100644 --- a/kiauh/components/klipper_firmware/menus/klipper_flash_error_menu.py +++ b/kiauh/components/klipper_firmware/menus/klipper_flash_error_menu.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import textwrap diff --git a/kiauh/components/klipper_firmware/menus/klipper_flash_help_menu.py b/kiauh/components/klipper_firmware/menus/klipper_flash_help_menu.py index e03513d4..e3e33f5a 100644 --- a/kiauh/components/klipper_firmware/menus/klipper_flash_help_menu.py +++ b/kiauh/components/klipper_firmware/menus/klipper_flash_help_menu.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import textwrap diff --git a/kiauh/components/klipper_firmware/menus/klipper_flash_menu.py b/kiauh/components/klipper_firmware/menus/klipper_flash_menu.py index 02262ef3..14f1bbf5 100644 --- a/kiauh/components/klipper_firmware/menus/klipper_flash_menu.py +++ b/kiauh/components/klipper_firmware/menus/klipper_flash_menu.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import textwrap diff --git a/kiauh/components/klipperscreen/__init__.py b/kiauh/components/klipperscreen/__init__.py index 5adbed3e..c4cb14ba 100644 --- a/kiauh/components/klipperscreen/__init__.py +++ b/kiauh/components/klipperscreen/__init__.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from pathlib import Path from core.constants import SYSTEMD diff --git a/kiauh/components/klipperscreen/klipperscreen.py b/kiauh/components/klipperscreen/klipperscreen.py index 061b1880..cd541dcc 100644 --- a/kiauh/components/klipperscreen/klipperscreen.py +++ b/kiauh/components/klipperscreen/klipperscreen.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + import shutil from pathlib import Path from subprocess import CalledProcessError, run diff --git a/kiauh/components/log_uploads/__init__.py b/kiauh/components/log_uploads/__init__.py index f1a4b18b..70fe3d3f 100644 --- a/kiauh/components/log_uploads/__init__.py +++ b/kiauh/components/log_uploads/__init__.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/components/log_uploads/log_upload_utils.py b/kiauh/components/log_uploads/log_upload_utils.py index f060319d..ea25eed1 100644 --- a/kiauh/components/log_uploads/log_upload_utils.py +++ b/kiauh/components/log_uploads/log_upload_utils.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/components/log_uploads/menus/log_upload_menu.py b/kiauh/components/log_uploads/menus/log_upload_menu.py index 1d256703..88d4034a 100644 --- a/kiauh/components/log_uploads/menus/log_upload_menu.py +++ b/kiauh/components/log_uploads/menus/log_upload_menu.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import textwrap diff --git a/kiauh/components/moonraker/__init__.py b/kiauh/components/moonraker/__init__.py index c2b87a0d..4d7efa1c 100644 --- a/kiauh/components/moonraker/__init__.py +++ b/kiauh/components/moonraker/__init__.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/components/moonraker/menus/moonraker_remove_menu.py b/kiauh/components/moonraker/menus/moonraker_remove_menu.py index 1bc1cf92..27f94b7e 100644 --- a/kiauh/components/moonraker/menus/moonraker_remove_menu.py +++ b/kiauh/components/moonraker/menus/moonraker_remove_menu.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import textwrap diff --git a/kiauh/components/moonraker/moonraker.py b/kiauh/components/moonraker/moonraker.py index ce16c0b3..78cd108b 100644 --- a/kiauh/components/moonraker/moonraker.py +++ b/kiauh/components/moonraker/moonraker.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations from dataclasses import dataclass, field diff --git a/kiauh/components/moonraker/moonraker_dialogs.py b/kiauh/components/moonraker/moonraker_dialogs.py index 389968b6..0697fb95 100644 --- a/kiauh/components/moonraker/moonraker_dialogs.py +++ b/kiauh/components/moonraker/moonraker_dialogs.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/components/moonraker/services/moonraker_instance_service.py b/kiauh/components/moonraker/services/moonraker_instance_service.py index 2a89456b..6c925d07 100644 --- a/kiauh/components/moonraker/services/moonraker_instance_service.py +++ b/kiauh/components/moonraker/services/moonraker_instance_service.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations from typing import Dict, List diff --git a/kiauh/components/moonraker/services/moonraker_setup_service.py b/kiauh/components/moonraker/services/moonraker_setup_service.py index b2d89ab6..5e76d9eb 100644 --- a/kiauh/components/moonraker/services/moonraker_setup_service.py +++ b/kiauh/components/moonraker/services/moonraker_setup_service.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import traceback diff --git a/kiauh/components/moonraker/services/tests/conftest.py b/kiauh/components/moonraker/services/tests/conftest.py index f00fcecb..da016dc5 100644 --- a/kiauh/components/moonraker/services/tests/conftest.py +++ b/kiauh/components/moonraker/services/tests/conftest.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations diff --git a/kiauh/components/moonraker/services/tests/test_moonraker_setup_service.py b/kiauh/components/moonraker/services/tests/test_moonraker_setup_service.py index e310da89..140018bf 100644 --- a/kiauh/components/moonraker/services/tests/test_moonraker_setup_service.py +++ b/kiauh/components/moonraker/services/tests/test_moonraker_setup_service.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations from pathlib import Path diff --git a/kiauh/components/moonraker/utils/sysdeps_parser.py b/kiauh/components/moonraker/utils/sysdeps_parser.py index 8534b71f..126151c9 100644 --- a/kiauh/components/moonraker/utils/sysdeps_parser.py +++ b/kiauh/components/moonraker/utils/sysdeps_parser.py @@ -1,9 +1,9 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # -# It was modified by Dominik Willner # +# It was modified by Dominik Willner # # # # The original file is part of Moonraker: # # https://github.com/Arksine/moonraker # diff --git a/kiauh/components/moonraker/utils/tests/test_utils.py b/kiauh/components/moonraker/utils/tests/test_utils.py index 452a91ba..4eb86eaa 100644 --- a/kiauh/components/moonraker/utils/tests/test_utils.py +++ b/kiauh/components/moonraker/utils/tests/test_utils.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations import json diff --git a/kiauh/components/moonraker/utils/utils.py b/kiauh/components/moonraker/utils/utils.py index 3e571967..e59650e3 100644 --- a/kiauh/components/moonraker/utils/utils.py +++ b/kiauh/components/moonraker/utils/utils.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + import json import shutil from pathlib import Path diff --git a/kiauh/components/webui_client/__init__.py b/kiauh/components/webui_client/__init__.py index 15164e37..8a5cbcfc 100644 --- a/kiauh/components/webui_client/__init__.py +++ b/kiauh/components/webui_client/__init__.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/components/webui_client/base_data.py b/kiauh/components/webui_client/base_data.py index b07ac5b5..cc5bfa35 100644 --- a/kiauh/components/webui_client/base_data.py +++ b/kiauh/components/webui_client/base_data.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/components/webui_client/client_dialogs.py b/kiauh/components/webui_client/client_dialogs.py index e299b431..12e60163 100644 --- a/kiauh/components/webui_client/client_dialogs.py +++ b/kiauh/components/webui_client/client_dialogs.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/components/webui_client/client_utils.py b/kiauh/components/webui_client/client_utils.py index 9a4182e9..1934f796 100644 --- a/kiauh/components/webui_client/client_utils.py +++ b/kiauh/components/webui_client/client_utils.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import json diff --git a/kiauh/components/webui_client/fluidd_data.py b/kiauh/components/webui_client/fluidd_data.py index 5ed24d90..f01acd47 100644 --- a/kiauh/components/webui_client/fluidd_data.py +++ b/kiauh/components/webui_client/fluidd_data.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/components/webui_client/mainsail_data.py b/kiauh/components/webui_client/mainsail_data.py index 025c90a4..8bdccf29 100644 --- a/kiauh/components/webui_client/mainsail_data.py +++ b/kiauh/components/webui_client/mainsail_data.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/components/webui_client/menus/client_install_menu.py b/kiauh/components/webui_client/menus/client_install_menu.py index 41b9f15d..e56ba68c 100644 --- a/kiauh/components/webui_client/menus/client_install_menu.py +++ b/kiauh/components/webui_client/menus/client_install_menu.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import textwrap diff --git a/kiauh/components/webui_client/menus/client_remove_menu.py b/kiauh/components/webui_client/menus/client_remove_menu.py index 650be934..2398e339 100644 --- a/kiauh/components/webui_client/menus/client_remove_menu.py +++ b/kiauh/components/webui_client/menus/client_remove_menu.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import textwrap diff --git a/kiauh/components/webui_client/menus/tests/test_client_install_menu.py b/kiauh/components/webui_client/menus/tests/test_client_install_menu.py index 7bb592f5..e001e1a7 100644 --- a/kiauh/components/webui_client/menus/tests/test_client_install_menu.py +++ b/kiauh/components/webui_client/menus/tests/test_client_install_menu.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations from pathlib import Path diff --git a/kiauh/components/webui_client/services/tests/conftest.py b/kiauh/components/webui_client/services/tests/conftest.py index 91341e3c..c74d116a 100644 --- a/kiauh/components/webui_client/services/tests/conftest.py +++ b/kiauh/components/webui_client/services/tests/conftest.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations from dataclasses import dataclass, field diff --git a/kiauh/components/webui_client/services/tests/test_web_client_config_setup_service.py b/kiauh/components/webui_client/services/tests/test_web_client_config_setup_service.py index ca5f16f8..ea718f8d 100644 --- a/kiauh/components/webui_client/services/tests/test_web_client_config_setup_service.py +++ b/kiauh/components/webui_client/services/tests/test_web_client_config_setup_service.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations from pathlib import Path diff --git a/kiauh/components/webui_client/services/tests/test_web_client_setup_service.py b/kiauh/components/webui_client/services/tests/test_web_client_setup_service.py index d2b9cd3e..fe02c316 100644 --- a/kiauh/components/webui_client/services/tests/test_web_client_setup_service.py +++ b/kiauh/components/webui_client/services/tests/test_web_client_setup_service.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations from pathlib import Path diff --git a/kiauh/components/webui_client/services/web_client_config_setup_service.py b/kiauh/components/webui_client/services/web_client_config_setup_service.py index acb276e3..f5424184 100644 --- a/kiauh/components/webui_client/services/web_client_config_setup_service.py +++ b/kiauh/components/webui_client/services/web_client_config_setup_service.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import shutil diff --git a/kiauh/components/webui_client/services/web_client_setup_service.py b/kiauh/components/webui_client/services/web_client_setup_service.py index b0bddf18..2348adac 100644 --- a/kiauh/components/webui_client/services/web_client_setup_service.py +++ b/kiauh/components/webui_client/services/web_client_setup_service.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import shutil diff --git a/kiauh/components/webui_client/tests/conftest.py b/kiauh/components/webui_client/tests/conftest.py index e069e5ff..08aef46d 100644 --- a/kiauh/components/webui_client/tests/conftest.py +++ b/kiauh/components/webui_client/tests/conftest.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations from dataclasses import dataclass, field diff --git a/kiauh/components/webui_client/tests/test_client_utils.py b/kiauh/components/webui_client/tests/test_client_utils.py index b5d8d60b..c1de4087 100644 --- a/kiauh/components/webui_client/tests/test_client_utils.py +++ b/kiauh/components/webui_client/tests/test_client_utils.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations from pathlib import Path diff --git a/kiauh/conftest.py b/kiauh/conftest.py index ebf75aac..bd246954 100644 --- a/kiauh/conftest.py +++ b/kiauh/conftest.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import pytest diff --git a/kiauh/core/backends/__init__.py b/kiauh/core/backends/__init__.py index db023100..623b9b64 100644 --- a/kiauh/core/backends/__init__.py +++ b/kiauh/core/backends/__init__.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # # @@ -7,6 +7,7 @@ # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import shutil diff --git a/kiauh/core/backends/tests/test_backends.py b/kiauh/core/backends/tests/test_backends.py index d492b8db..a4b6076a 100644 --- a/kiauh/core/backends/tests/test_backends.py +++ b/kiauh/core/backends/tests/test_backends.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations import subprocess diff --git a/kiauh/core/cli/__init__.py b/kiauh/core/cli/__init__.py index 68ac9e37..c66450cd 100644 --- a/kiauh/core/cli/__init__.py +++ b/kiauh/core/cli/__init__.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import argparse diff --git a/kiauh/core/cli/tests/test_cli.py b/kiauh/core/cli/tests/test_cli.py index e7e712ef..4092a380 100644 --- a/kiauh/core/cli/tests/test_cli.py +++ b/kiauh/core/cli/tests/test_cli.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations from pathlib import Path diff --git a/kiauh/core/constants.py b/kiauh/core/constants.py index 4e79b003..33c5cac4 100644 --- a/kiauh/core/constants.py +++ b/kiauh/core/constants.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/core/decorators.py b/kiauh/core/decorators.py index a81ac129..abd232b4 100644 --- a/kiauh/core/decorators.py +++ b/kiauh/core/decorators.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import warnings diff --git a/kiauh/core/instance_manager/base_instance.py b/kiauh/core/instance_manager/base_instance.py index dc647895..73c26c3f 100644 --- a/kiauh/core/instance_manager/base_instance.py +++ b/kiauh/core/instance_manager/base_instance.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/core/instance_manager/instance_manager.py b/kiauh/core/instance_manager/instance_manager.py index 025137bf..a73ad017 100644 --- a/kiauh/core/instance_manager/instance_manager.py +++ b/kiauh/core/instance_manager/instance_manager.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations from pathlib import Path diff --git a/kiauh/core/instance_manager/tests/test_instance_manager.py b/kiauh/core/instance_manager/tests/test_instance_manager.py index 3b4b1555..171a2dc4 100644 --- a/kiauh/core/instance_manager/tests/test_instance_manager.py +++ b/kiauh/core/instance_manager/tests/test_instance_manager.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations import subprocess diff --git a/kiauh/core/logger.py b/kiauh/core/logger.py index 27dc1e7a..395d4920 100644 --- a/kiauh/core/logger.py +++ b/kiauh/core/logger.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import textwrap diff --git a/kiauh/core/menus/__init__.py b/kiauh/core/menus/__init__.py index 60f7b8b0..fb6293bb 100644 --- a/kiauh/core/menus/__init__.py +++ b/kiauh/core/menus/__init__.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations from dataclasses import dataclass diff --git a/kiauh/core/menus/advanced_menu.py b/kiauh/core/menus/advanced_menu.py index 3c416664..674a2428 100644 --- a/kiauh/core/menus/advanced_menu.py +++ b/kiauh/core/menus/advanced_menu.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import textwrap diff --git a/kiauh/core/menus/backup_menu.py b/kiauh/core/menus/backup_menu.py index 713b0136..d194b00a 100644 --- a/kiauh/core/menus/backup_menu.py +++ b/kiauh/core/menus/backup_menu.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import textwrap diff --git a/kiauh/core/menus/base_menu.py b/kiauh/core/menus/base_menu.py index 6449d4c3..6cfc3464 100644 --- a/kiauh/core/menus/base_menu.py +++ b/kiauh/core/menus/base_menu.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/core/menus/install_menu.py b/kiauh/core/menus/install_menu.py index 2a94db26..ba92971a 100644 --- a/kiauh/core/menus/install_menu.py +++ b/kiauh/core/menus/install_menu.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import textwrap diff --git a/kiauh/core/menus/main_menu.py b/kiauh/core/menus/main_menu.py index 2ed2cdb1..86adec47 100644 --- a/kiauh/core/menus/main_menu.py +++ b/kiauh/core/menus/main_menu.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import sys diff --git a/kiauh/core/menus/remove_menu.py b/kiauh/core/menus/remove_menu.py index d2354bb8..bbd94319 100644 --- a/kiauh/core/menus/remove_menu.py +++ b/kiauh/core/menus/remove_menu.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import textwrap diff --git a/kiauh/core/menus/repo_select_menu.py b/kiauh/core/menus/repo_select_menu.py index 76d29487..fae31ecf 100644 --- a/kiauh/core/menus/repo_select_menu.py +++ b/kiauh/core/menus/repo_select_menu.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations from typing import List, Literal, Type diff --git a/kiauh/core/menus/settings_menu.py b/kiauh/core/menus/settings_menu.py index 42ea05ed..716c7844 100644 --- a/kiauh/core/menus/settings_menu.py +++ b/kiauh/core/menus/settings_menu.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import textwrap diff --git a/kiauh/core/menus/tests/test_base_menu.py b/kiauh/core/menus/tests/test_base_menu.py index c0975342..e66d68f3 100644 --- a/kiauh/core/menus/tests/test_base_menu.py +++ b/kiauh/core/menus/tests/test_base_menu.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations from typing import List, Type diff --git a/kiauh/core/menus/tests/test_install_menu.py b/kiauh/core/menus/tests/test_install_menu.py index e1c2484d..ffc975a9 100644 --- a/kiauh/core/menus/tests/test_install_menu.py +++ b/kiauh/core/menus/tests/test_install_menu.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations from typing import Any, List diff --git a/kiauh/core/menus/tests/test_menu_dispatch.py b/kiauh/core/menus/tests/test_menu_dispatch.py index 40d8e183..95f82c7b 100644 --- a/kiauh/core/menus/tests/test_menu_dispatch.py +++ b/kiauh/core/menus/tests/test_menu_dispatch.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations from typing import Any, Dict, List diff --git a/kiauh/core/menus/tests/test_repo_select_menu.py b/kiauh/core/menus/tests/test_repo_select_menu.py index dd385d8a..087f9db0 100644 --- a/kiauh/core/menus/tests/test_repo_select_menu.py +++ b/kiauh/core/menus/tests/test_repo_select_menu.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations from typing import Any, List diff --git a/kiauh/core/menus/tests/test_settings_menu.py b/kiauh/core/menus/tests/test_settings_menu.py index 0fa5889a..6bc33b21 100644 --- a/kiauh/core/menus/tests/test_settings_menu.py +++ b/kiauh/core/menus/tests/test_settings_menu.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations import pytest diff --git a/kiauh/core/menus/tests/test_update_menu.py b/kiauh/core/menus/tests/test_update_menu.py index b4e506d6..38cc6719 100644 --- a/kiauh/core/menus/tests/test_update_menu.py +++ b/kiauh/core/menus/tests/test_update_menu.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations from contextlib import contextmanager diff --git a/kiauh/core/menus/update_menu.py b/kiauh/core/menus/update_menu.py index 12b6d032..7eb241f2 100644 --- a/kiauh/core/menus/update_menu.py +++ b/kiauh/core/menus/update_menu.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import textwrap diff --git a/kiauh/core/services/backup_service.py b/kiauh/core/services/backup_service.py index f88a8c30..48376200 100644 --- a/kiauh/core/services/backup_service.py +++ b/kiauh/core/services/backup_service.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import shutil diff --git a/kiauh/core/services/message_service.py b/kiauh/core/services/message_service.py index b1beef8a..47e980ec 100644 --- a/kiauh/core/services/message_service.py +++ b/kiauh/core/services/message_service.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations from dataclasses import dataclass, field diff --git a/kiauh/core/services/tests/test_backup_service.py b/kiauh/core/services/tests/test_backup_service.py index ab5477df..e66dbbcb 100644 --- a/kiauh/core/services/tests/test_backup_service.py +++ b/kiauh/core/services/tests/test_backup_service.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations from pathlib import Path diff --git a/kiauh/core/services/tests/test_message_service.py b/kiauh/core/services/tests/test_message_service.py index 06feb589..1be46fe7 100644 --- a/kiauh/core/services/tests/test_message_service.py +++ b/kiauh/core/services/tests/test_message_service.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations from typing import Any, List diff --git a/kiauh/core/settings/kiauh_settings.py b/kiauh/core/settings/kiauh_settings.py index a2a2be2a..4e18e0d4 100644 --- a/kiauh/core/settings/kiauh_settings.py +++ b/kiauh/core/settings/kiauh_settings.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import shutil diff --git a/kiauh/core/settings/tests/test_settings.py b/kiauh/core/settings/tests/test_settings.py index 1d5abee1..c925c7e0 100644 --- a/kiauh/core/settings/tests/test_settings.py +++ b/kiauh/core/settings/tests/test_settings.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations from pathlib import Path diff --git a/kiauh/core/simple_config_parser/simple_config_parser.py b/kiauh/core/simple_config_parser/simple_config_parser.py index 81c8f716..99c5da72 100644 --- a/kiauh/core/simple_config_parser/simple_config_parser.py +++ b/kiauh/core/simple_config_parser/simple_config_parser.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2025 Dominik Willner # +# Copyright (C) 2025 Dominik Willner # # # # https://github.com/dw-0/simple-config-parser # # # diff --git a/kiauh/core/simple_config_parser/tests/line_matching/match_empty_line/test_match_empty_line.py b/kiauh/core/simple_config_parser/tests/line_matching/match_empty_line/test_match_empty_line.py index c833e1a0..e589391f 100644 --- a/kiauh/core/simple_config_parser/tests/line_matching/match_empty_line/test_match_empty_line.py +++ b/kiauh/core/simple_config_parser/tests/line_matching/match_empty_line/test_match_empty_line.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2024 Dominik Willner # +# Copyright (C) 2024 Dominik Willner # # # # https://github.com/dw-0/simple-config-parser # # # diff --git a/kiauh/core/simple_config_parser/tests/line_matching/match_gcode_block_start/test_match_gcode_block_start.py b/kiauh/core/simple_config_parser/tests/line_matching/match_gcode_block_start/test_match_gcode_block_start.py index e0a94e3f..d0fa726e 100644 --- a/kiauh/core/simple_config_parser/tests/line_matching/match_gcode_block_start/test_match_gcode_block_start.py +++ b/kiauh/core/simple_config_parser/tests/line_matching/match_gcode_block_start/test_match_gcode_block_start.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2024 Dominik Willner # +# Copyright (C) 2024 Dominik Willner # # # # https://github.com/dw-0/simple-config-parser # # # diff --git a/kiauh/core/simple_config_parser/tests/line_matching/match_line_comment/test_match_line_comment.py b/kiauh/core/simple_config_parser/tests/line_matching/match_line_comment/test_match_line_comment.py index dba9c892..9a430f6a 100644 --- a/kiauh/core/simple_config_parser/tests/line_matching/match_line_comment/test_match_line_comment.py +++ b/kiauh/core/simple_config_parser/tests/line_matching/match_line_comment/test_match_line_comment.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2024 Dominik Willner # +# Copyright (C) 2024 Dominik Willner # # # # https://github.com/dw-0/simple-config-parser # # # diff --git a/kiauh/core/simple_config_parser/tests/line_matching/match_option/test_match_option.py b/kiauh/core/simple_config_parser/tests/line_matching/match_option/test_match_option.py index 0054ddf3..f53fbec5 100644 --- a/kiauh/core/simple_config_parser/tests/line_matching/match_option/test_match_option.py +++ b/kiauh/core/simple_config_parser/tests/line_matching/match_option/test_match_option.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2024 Dominik Willner # +# Copyright (C) 2024 Dominik Willner # # # # https://github.com/dw-0/simple-config-parser # # # diff --git a/kiauh/core/simple_config_parser/tests/line_matching/match_option_block_start/test_match_options_block_start.py b/kiauh/core/simple_config_parser/tests/line_matching/match_option_block_start/test_match_options_block_start.py index 84c26866..1e230128 100644 --- a/kiauh/core/simple_config_parser/tests/line_matching/match_option_block_start/test_match_options_block_start.py +++ b/kiauh/core/simple_config_parser/tests/line_matching/match_option_block_start/test_match_options_block_start.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2024 Dominik Willner # +# Copyright (C) 2024 Dominik Willner # # # # https://github.com/dw-0/simple-config-parser # # # diff --git a/kiauh/core/simple_config_parser/tests/line_matching/match_save_config_content/test_match_save_config_content.py b/kiauh/core/simple_config_parser/tests/line_matching/match_save_config_content/test_match_save_config_content.py index 0936a579..f0c33a86 100644 --- a/kiauh/core/simple_config_parser/tests/line_matching/match_save_config_content/test_match_save_config_content.py +++ b/kiauh/core/simple_config_parser/tests/line_matching/match_save_config_content/test_match_save_config_content.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2024 Dominik Willner # +# Copyright (C) 2024 Dominik Willner # # # # https://github.com/dw-0/simple-config-parser # # # diff --git a/kiauh/core/simple_config_parser/tests/line_matching/match_save_config_start/test_match_save_config_start.py b/kiauh/core/simple_config_parser/tests/line_matching/match_save_config_start/test_match_save_config_start.py index f067f389..5d458ee3 100644 --- a/kiauh/core/simple_config_parser/tests/line_matching/match_save_config_start/test_match_save_config_start.py +++ b/kiauh/core/simple_config_parser/tests/line_matching/match_save_config_start/test_match_save_config_start.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2024 Dominik Willner # +# Copyright (C) 2024 Dominik Willner # # # # https://github.com/dw-0/simple-config-parser # # # diff --git a/kiauh/core/simple_config_parser/tests/line_matching/match_section/test_match_section.py b/kiauh/core/simple_config_parser/tests/line_matching/match_section/test_match_section.py index cae13d75..c3ac2a8f 100644 --- a/kiauh/core/simple_config_parser/tests/line_matching/match_section/test_match_section.py +++ b/kiauh/core/simple_config_parser/tests/line_matching/match_section/test_match_section.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2024 Dominik Willner # +# Copyright (C) 2024 Dominik Willner # # # # https://github.com/dw-0/simple-config-parser # # # diff --git a/kiauh/core/simple_config_parser/tests/line_parsing/test_line_parsing.py b/kiauh/core/simple_config_parser/tests/line_parsing/test_line_parsing.py index 4c11c6df..71a2c537 100644 --- a/kiauh/core/simple_config_parser/tests/line_parsing/test_line_parsing.py +++ b/kiauh/core/simple_config_parser/tests/line_parsing/test_line_parsing.py @@ -1,10 +1,11 @@ # ======================================================================= # -# Copyright (C) 2024 Dominik Willner # +# Copyright (C) 2024 Dominik Willner # # # # https://github.com/dw-0/simple-config-parser # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from pathlib import Path from typing import List diff --git a/kiauh/core/simple_config_parser/tests/line_parsing/test_multiline_update_behavior.py b/kiauh/core/simple_config_parser/tests/line_parsing/test_multiline_update_behavior.py index f6e2396b..b23cb088 100644 --- a/kiauh/core/simple_config_parser/tests/line_parsing/test_multiline_update_behavior.py +++ b/kiauh/core/simple_config_parser/tests/line_parsing/test_multiline_update_behavior.py @@ -1,6 +1,11 @@ # ======================================================================= # -# Tests: Verhalten beim Aktualisieren von Multiline-Optionen # +# Copyright (C) 2024 Dominik Willner # +# # +# https://github.com/dw-0/simple-config-parser # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from pathlib import Path from core.simple_config_parser.simple_config_parser import ( diff --git a/kiauh/core/simple_config_parser/tests/public_api/conftest.py b/kiauh/core/simple_config_parser/tests/public_api/conftest.py index 966a0863..c67250a6 100644 --- a/kiauh/core/simple_config_parser/tests/public_api/conftest.py +++ b/kiauh/core/simple_config_parser/tests/public_api/conftest.py @@ -1,10 +1,11 @@ # ======================================================================= # -# Copyright (C) 2024 Dominik Willner # +# Copyright (C) 2024 Dominik Willner # # # # https://github.com/dw-0/simple-config-parser # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from pathlib import Path import pytest diff --git a/kiauh/core/simple_config_parser/tests/public_api/test_gcode_block.py b/kiauh/core/simple_config_parser/tests/public_api/test_gcode_block.py index 045a57c2..7d86144f 100644 --- a/kiauh/core/simple_config_parser/tests/public_api/test_gcode_block.py +++ b/kiauh/core/simple_config_parser/tests/public_api/test_gcode_block.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from pathlib import Path from core.simple_config_parser.simple_config_parser import Gcode, SimpleConfigParser diff --git a/kiauh/core/simple_config_parser/tests/public_api/test_options_api.py b/kiauh/core/simple_config_parser/tests/public_api/test_options_api.py index b777fc02..dcc34ca9 100644 --- a/kiauh/core/simple_config_parser/tests/public_api/test_options_api.py +++ b/kiauh/core/simple_config_parser/tests/public_api/test_options_api.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2024 Dominik Willner # +# Copyright (C) 2024 Dominik Willner # # # # https://github.com/dw-0/simple-config-parser # # # diff --git a/kiauh/core/simple_config_parser/tests/public_api/test_read_file.py b/kiauh/core/simple_config_parser/tests/public_api/test_read_file.py index 2322a706..f5b8ff71 100644 --- a/kiauh/core/simple_config_parser/tests/public_api/test_read_file.py +++ b/kiauh/core/simple_config_parser/tests/public_api/test_read_file.py @@ -1,10 +1,11 @@ # ======================================================================= # -# Copyright (C) 2024 Dominik Willner # +# Copyright (C) 2024 Dominik Willner # # # # https://github.com/dw-0/simple-config-parser # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from pathlib import Path from core.simple_config_parser.simple_config_parser import Section, SimpleConfigParser diff --git a/kiauh/core/simple_config_parser/tests/public_api/test_sections_api.py b/kiauh/core/simple_config_parser/tests/public_api/test_sections_api.py index 0cfd34a0..f8245965 100644 --- a/kiauh/core/simple_config_parser/tests/public_api/test_sections_api.py +++ b/kiauh/core/simple_config_parser/tests/public_api/test_sections_api.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2024 Dominik Willner # +# Copyright (C) 2024 Dominik Willner # # # # https://github.com/dw-0/simple-config-parser # # # diff --git a/kiauh/core/simple_config_parser/tests/public_api/test_write_file.py b/kiauh/core/simple_config_parser/tests/public_api/test_write_file.py index b520c232..b14e7b55 100644 --- a/kiauh/core/simple_config_parser/tests/public_api/test_write_file.py +++ b/kiauh/core/simple_config_parser/tests/public_api/test_write_file.py @@ -1,10 +1,11 @@ # ======================================================================= # -# Copyright (C) 2024 Dominik Willner # +# Copyright (C) 2024 Dominik Willner # # # # https://github.com/dw-0/simple-config-parser # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from pathlib import Path import pytest diff --git a/kiauh/core/simple_config_parser/tests/utils.py b/kiauh/core/simple_config_parser/tests/utils.py index 91299cf4..860c9522 100644 --- a/kiauh/core/simple_config_parser/tests/utils.py +++ b/kiauh/core/simple_config_parser/tests/utils.py @@ -1,10 +1,11 @@ # ======================================================================= # -# Copyright (C) 2024 Dominik Willner # +# Copyright (C) 2024 Dominik Willner # # # # https://github.com/dw-0/simple-config-parser # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from pathlib import Path diff --git a/kiauh/core/simple_config_parser/tests/value_conversion/test_get_conv.py b/kiauh/core/simple_config_parser/tests/value_conversion/test_get_conv.py index 3f65e607..cbe43338 100644 --- a/kiauh/core/simple_config_parser/tests/value_conversion/test_get_conv.py +++ b/kiauh/core/simple_config_parser/tests/value_conversion/test_get_conv.py @@ -1,10 +1,11 @@ # ======================================================================= # -# Copyright (C) 2024 Dominik Willner # +# Copyright (C) 2024 Dominik Willner # # # # https://github.com/dw-0/simple-config-parser # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from pathlib import Path import pytest diff --git a/kiauh/core/tests/test_spinner.py b/kiauh/core/tests/test_spinner.py index 1b4ee7ab..5c5103f6 100644 --- a/kiauh/core/tests/test_spinner.py +++ b/kiauh/core/tests/test_spinner.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import time diff --git a/kiauh/core/types/color.py b/kiauh/core/types/color.py index 27664a41..def3ac45 100644 --- a/kiauh/core/types/color.py +++ b/kiauh/core/types/color.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations from enum import Enum diff --git a/kiauh/core/types/component_status.py b/kiauh/core/types/component_status.py index f109b58e..667fb790 100644 --- a/kiauh/core/types/component_status.py +++ b/kiauh/core/types/component_status.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations from dataclasses import dataclass diff --git a/kiauh/extensions/__init__.py b/kiauh/extensions/__init__.py index 12bbcc9a..07c95395 100644 --- a/kiauh/extensions/__init__.py +++ b/kiauh/extensions/__init__.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/extensions/base_extension.py b/kiauh/extensions/base_extension.py index 448e8b5b..a7f68bf4 100644 --- a/kiauh/extensions/base_extension.py +++ b/kiauh/extensions/base_extension.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/extensions/droidklipp/__init__.py b/kiauh/extensions/droidklipp/__init__.py index 14991531..4879cd15 100644 --- a/kiauh/extensions/droidklipp/__init__.py +++ b/kiauh/extensions/droidklipp/__init__.py @@ -6,6 +6,7 @@ # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from pathlib import Path # repo diff --git a/kiauh/extensions/droidklipp/droidklipp_extension.py b/kiauh/extensions/droidklipp/droidklipp_extension.py index f49dd6a6..b057049f 100644 --- a/kiauh/extensions/droidklipp/droidklipp_extension.py +++ b/kiauh/extensions/droidklipp/droidklipp_extension.py @@ -6,6 +6,7 @@ # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from subprocess import CalledProcessError, run from components.klipperscreen import KLIPPERSCREEN_DIR, KLIPPERSCREEN_ENV_DIR diff --git a/kiauh/extensions/extensions_menu.py b/kiauh/extensions/extensions_menu.py index c32f6101..aa7ab071 100644 --- a/kiauh/extensions/extensions_menu.py +++ b/kiauh/extensions/extensions_menu.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import importlib diff --git a/kiauh/extensions/gcode_shell_cmd/__init__.py b/kiauh/extensions/gcode_shell_cmd/__init__.py index 58a097bf..4808f6ec 100644 --- a/kiauh/extensions/gcode_shell_cmd/__init__.py +++ b/kiauh/extensions/gcode_shell_cmd/__init__.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/extensions/gcode_shell_cmd/gcode_shell_cmd_extension.py b/kiauh/extensions/gcode_shell_cmd/gcode_shell_cmd_extension.py index caa1d9f3..8978c7e3 100644 --- a/kiauh/extensions/gcode_shell_cmd/gcode_shell_cmd_extension.py +++ b/kiauh/extensions/gcode_shell_cmd/gcode_shell_cmd_extension.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/extensions/klipper_adaptive_meshing_purging/__init__.py b/kiauh/extensions/klipper_adaptive_meshing_purging/__init__.py index f13da834..b48c718d 100644 --- a/kiauh/extensions/klipper_adaptive_meshing_purging/__init__.py +++ b/kiauh/extensions/klipper_adaptive_meshing_purging/__init__.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # Copyright (C) 2026 Théo Gaillard # # # # This file is part of KIAUH - Klipper Installation And Update Helper # @@ -7,6 +7,7 @@ # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from pathlib import Path # repo diff --git a/kiauh/extensions/klipper_adaptive_meshing_purging/klipper_adaptive_meshing_purging_extension.py b/kiauh/extensions/klipper_adaptive_meshing_purging/klipper_adaptive_meshing_purging_extension.py index d469bf1d..46089477 100644 --- a/kiauh/extensions/klipper_adaptive_meshing_purging/klipper_adaptive_meshing_purging_extension.py +++ b/kiauh/extensions/klipper_adaptive_meshing_purging/klipper_adaptive_meshing_purging_extension.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # Copyright (C) 2026 Théo Gaillard # # # # This file is part of KIAUH - Klipper Installation And Update Helper # diff --git a/kiauh/extensions/mainsail_theme_installer/mainsail_theme_installer_extension.py b/kiauh/extensions/mainsail_theme_installer/mainsail_theme_installer_extension.py index 80326c58..3a3cce82 100644 --- a/kiauh/extensions/mainsail_theme_installer/mainsail_theme_installer_extension.py +++ b/kiauh/extensions/mainsail_theme_installer/mainsail_theme_installer_extension.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import csv diff --git a/kiauh/extensions/mobileraker/__init__.py b/kiauh/extensions/mobileraker/__init__.py index 02fa523c..cfaf555d 100644 --- a/kiauh/extensions/mobileraker/__init__.py +++ b/kiauh/extensions/mobileraker/__init__.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/extensions/mobileraker/mobileraker_extension.py b/kiauh/extensions/mobileraker/mobileraker_extension.py index 4b5afde0..c321d9e6 100644 --- a/kiauh/extensions/mobileraker/mobileraker_extension.py +++ b/kiauh/extensions/mobileraker/mobileraker_extension.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + import shutil from pathlib import Path from subprocess import CalledProcessError, run diff --git a/kiauh/extensions/moongate/__init__.py b/kiauh/extensions/moongate/__init__.py index 39a58e24..cb89e85a 100644 --- a/kiauh/extensions/moongate/__init__.py +++ b/kiauh/extensions/moongate/__init__.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # Copyright (C) 2026 Paul Sharman # # # # This file is part of KIAUH - Klipper Installation And Update Helper # @@ -10,6 +10,7 @@ # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from pathlib import Path # repository diff --git a/kiauh/extensions/moongate/moongate_extension.py b/kiauh/extensions/moongate/moongate_extension.py index f38e08a8..fd781818 100644 --- a/kiauh/extensions/moongate/moongate_extension.py +++ b/kiauh/extensions/moongate/moongate_extension.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # Copyright (C) 2026 Paul Sharman # # # # This file is part of KIAUH - Klipper Installation And Update Helper # @@ -10,6 +10,7 @@ # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import os diff --git a/kiauh/extensions/obico/__init__.py b/kiauh/extensions/obico/__init__.py index a6ac1b4f..9009b2d2 100644 --- a/kiauh/extensions/obico/__init__.py +++ b/kiauh/extensions/obico/__init__.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from pathlib import Path MODULE_PATH = Path(__file__).resolve().parent diff --git a/kiauh/extensions/obico/moonraker_obico.py b/kiauh/extensions/obico/moonraker_obico.py index 0e941707..e278da35 100644 --- a/kiauh/extensions/obico/moonraker_obico.py +++ b/kiauh/extensions/obico/moonraker_obico.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations from dataclasses import dataclass, field diff --git a/kiauh/extensions/obico/moonraker_obico_extension.py b/kiauh/extensions/obico/moonraker_obico_extension.py index 46f2717b..46a5bc39 100644 --- a/kiauh/extensions/obico/moonraker_obico_extension.py +++ b/kiauh/extensions/obico/moonraker_obico_extension.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + import shutil from typing import List diff --git a/kiauh/extensions/octoapp/__init__.py b/kiauh/extensions/octoapp/__init__.py index a4767bc4..9cff6b95 100644 --- a/kiauh/extensions/octoapp/__init__.py +++ b/kiauh/extensions/octoapp/__init__.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from pathlib import Path # repo diff --git a/kiauh/extensions/octoapp/octoapp.py b/kiauh/extensions/octoapp/octoapp.py index 0cdaa2cc..c9433316 100644 --- a/kiauh/extensions/octoapp/octoapp.py +++ b/kiauh/extensions/octoapp/octoapp.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations from dataclasses import dataclass, field diff --git a/kiauh/extensions/octoapp/octoapp_extension.py b/kiauh/extensions/octoapp/octoapp_extension.py index 00e009c1..1a37f838 100644 --- a/kiauh/extensions/octoapp/octoapp_extension.py +++ b/kiauh/extensions/octoapp/octoapp_extension.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + import json from typing import List diff --git a/kiauh/extensions/octoeverywhere/__init__.py b/kiauh/extensions/octoeverywhere/__init__.py index 1870e625..e416418c 100644 --- a/kiauh/extensions/octoeverywhere/__init__.py +++ b/kiauh/extensions/octoeverywhere/__init__.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from pathlib import Path # repo diff --git a/kiauh/extensions/octoeverywhere/octoeverywhere.py b/kiauh/extensions/octoeverywhere/octoeverywhere.py index cd16b1df..902809cd 100644 --- a/kiauh/extensions/octoeverywhere/octoeverywhere.py +++ b/kiauh/extensions/octoeverywhere/octoeverywhere.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations from dataclasses import dataclass, field diff --git a/kiauh/extensions/octoeverywhere/octoeverywhere_extension.py b/kiauh/extensions/octoeverywhere/octoeverywhere_extension.py index c1275f66..b025b47c 100644 --- a/kiauh/extensions/octoeverywhere/octoeverywhere_extension.py +++ b/kiauh/extensions/octoeverywhere/octoeverywhere_extension.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + import json from typing import List diff --git a/kiauh/extensions/octoprint/__init__.py b/kiauh/extensions/octoprint/__init__.py index c5685255..915aa304 100644 --- a/kiauh/extensions/octoprint/__init__.py +++ b/kiauh/extensions/octoprint/__init__.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from pathlib import Path # Constants diff --git a/kiauh/extensions/octoprint/octoprint.py b/kiauh/extensions/octoprint/octoprint.py index 5b9ac87e..263758b3 100644 --- a/kiauh/extensions/octoprint/octoprint.py +++ b/kiauh/extensions/octoprint/octoprint.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations from dataclasses import dataclass, field diff --git a/kiauh/extensions/octoprint/octoprint_extension.py b/kiauh/extensions/octoprint/octoprint_extension.py index 2a50b48a..b9e58ade 100644 --- a/kiauh/extensions/octoprint/octoprint_extension.py +++ b/kiauh/extensions/octoprint/octoprint_extension.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import re diff --git a/kiauh/extensions/pretty_gcode/pretty_gcode_extension.py b/kiauh/extensions/pretty_gcode/pretty_gcode_extension.py index 0a4b6927..3add01d1 100644 --- a/kiauh/extensions/pretty_gcode/pretty_gcode_extension.py +++ b/kiauh/extensions/pretty_gcode/pretty_gcode_extension.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + import shutil from pathlib import Path diff --git a/kiauh/extensions/simply_print/simply_print_extension.py b/kiauh/extensions/simply_print/simply_print_extension.py index 8d110e05..bb5f964e 100644 --- a/kiauh/extensions/simply_print/simply_print_extension.py +++ b/kiauh/extensions/simply_print/simply_print_extension.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from typing import List from components.moonraker.moonraker import Moonraker diff --git a/kiauh/extensions/spoolman/__init__.py b/kiauh/extensions/spoolman/__init__.py index 4f7d628d..7a3b4238 100644 --- a/kiauh/extensions/spoolman/__init__.py +++ b/kiauh/extensions/spoolman/__init__.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from pathlib import Path MODULE_PATH = Path(__file__).resolve().parent diff --git a/kiauh/extensions/spoolman/spoolman.py b/kiauh/extensions/spoolman/spoolman.py index eb380674..8bd9d5dc 100644 --- a/kiauh/extensions/spoolman/spoolman.py +++ b/kiauh/extensions/spoolman/spoolman.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import shutil diff --git a/kiauh/extensions/spoolman/spoolman_extension.py b/kiauh/extensions/spoolman/spoolman_extension.py index dcd9a69c..9b8b18da 100644 --- a/kiauh/extensions/spoolman/spoolman_extension.py +++ b/kiauh/extensions/spoolman/spoolman_extension.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/extensions/telegram_bot/__init__.py b/kiauh/extensions/telegram_bot/__init__.py index 773f725e..f5885917 100644 --- a/kiauh/extensions/telegram_bot/__init__.py +++ b/kiauh/extensions/telegram_bot/__init__.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from pathlib import Path MODULE_PATH = Path(__file__).resolve().parent diff --git a/kiauh/extensions/telegram_bot/moonraker_telegram_bot.py b/kiauh/extensions/telegram_bot/moonraker_telegram_bot.py index 194ce619..2ecdb72f 100644 --- a/kiauh/extensions/telegram_bot/moonraker_telegram_bot.py +++ b/kiauh/extensions/telegram_bot/moonraker_telegram_bot.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations from dataclasses import dataclass, field diff --git a/kiauh/extensions/telegram_bot/moonraker_telegram_bot_extension.py b/kiauh/extensions/telegram_bot/moonraker_telegram_bot_extension.py index 1a0098be..5d1ba8d9 100644 --- a/kiauh/extensions/telegram_bot/moonraker_telegram_bot_extension.py +++ b/kiauh/extensions/telegram_bot/moonraker_telegram_bot_extension.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + import shutil from subprocess import run from typing import List diff --git a/kiauh/extensions/tests/test_base_extension.py b/kiauh/extensions/tests/test_base_extension.py index d1ef72e9..e33a05c3 100644 --- a/kiauh/extensions/tests/test_base_extension.py +++ b/kiauh/extensions/tests/test_base_extension.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations import pytest diff --git a/kiauh/extensions/tmc_autotune/__init__.py b/kiauh/extensions/tmc_autotune/__init__.py index 9438829b..1333707b 100644 --- a/kiauh/extensions/tmc_autotune/__init__.py +++ b/kiauh/extensions/tmc_autotune/__init__.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from pathlib import Path # repo diff --git a/kiauh/extensions/tmc_autotune/tmc_autotune_extension.py b/kiauh/extensions/tmc_autotune/tmc_autotune_extension.py index 56490cab..bef062d2 100644 --- a/kiauh/extensions/tmc_autotune/tmc_autotune_extension.py +++ b/kiauh/extensions/tmc_autotune/tmc_autotune_extension.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # Copyright (C) 2026 Théo Gaillard # # # # This file is part of KIAUH - Klipper Installation And Update Helper # @@ -7,6 +7,7 @@ # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + import shutil from typing import List diff --git a/kiauh/main.py b/kiauh/main.py index fe75abeb..ea8e47c0 100644 --- a/kiauh/main.py +++ b/kiauh/main.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + import io import sys diff --git a/kiauh/procedures/switch_repo.py b/kiauh/procedures/switch_repo.py index 05b33b11..9cde9584 100644 --- a/kiauh/procedures/switch_repo.py +++ b/kiauh/procedures/switch_repo.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import shutil diff --git a/kiauh/procedures/system.py b/kiauh/procedures/system.py index 218e9139..71825e56 100644 --- a/kiauh/procedures/system.py +++ b/kiauh/procedures/system.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/tests/helpers/fake_backends.py b/kiauh/tests/helpers/fake_backends.py index 1042be80..02637501 100644 --- a/kiauh/tests/helpers/fake_backends.py +++ b/kiauh/tests/helpers/fake_backends.py @@ -1,6 +1,7 @@ # ======================================================================= # # Test-only backends. Not imported by production code. # # ======================================================================= # + from __future__ import annotations import subprocess diff --git a/kiauh/tests/test_main.py b/kiauh/tests/test_main.py index 01dd7798..d94bb42d 100644 --- a/kiauh/tests/test_main.py +++ b/kiauh/tests/test_main.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations from typing import List diff --git a/kiauh/utils/__init__.py b/kiauh/utils/__init__.py index 58d7b66c..65c278a6 100644 --- a/kiauh/utils/__init__.py +++ b/kiauh/utils/__init__.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/utils/common.py b/kiauh/utils/common.py index 27bf22c8..7eb2ffaa 100644 --- a/kiauh/utils/common.py +++ b/kiauh/utils/common.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/utils/config_utils.py b/kiauh/utils/config_utils.py index 4d784d07..6e2c208e 100644 --- a/kiauh/utils/config_utils.py +++ b/kiauh/utils/config_utils.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import shutil diff --git a/kiauh/utils/fs_utils.py b/kiauh/utils/fs_utils.py index fa442e81..dd1db262 100644 --- a/kiauh/utils/fs_utils.py +++ b/kiauh/utils/fs_utils.py @@ -1,13 +1,14 @@ #!/usr/bin/env python3 # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import os diff --git a/kiauh/utils/input_utils.py b/kiauh/utils/input_utils.py index 9c994ae2..a14ffe76 100644 --- a/kiauh/utils/input_utils.py +++ b/kiauh/utils/input_utils.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import re diff --git a/kiauh/utils/instance_type.py b/kiauh/utils/instance_type.py index 54f54bf5..8ed710ab 100644 --- a/kiauh/utils/instance_type.py +++ b/kiauh/utils/instance_type.py @@ -1,5 +1,5 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # diff --git a/kiauh/utils/instance_utils.py b/kiauh/utils/instance_utils.py index 5c4cd77f..fc6606a3 100644 --- a/kiauh/utils/instance_utils.py +++ b/kiauh/utils/instance_utils.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import re diff --git a/kiauh/utils/sys_utils.py b/kiauh/utils/sys_utils.py index 3a3dd028..8f3932a2 100644 --- a/kiauh/utils/sys_utils.py +++ b/kiauh/utils/sys_utils.py @@ -1,11 +1,12 @@ # ======================================================================= # -# Copyright (C) 2020 - 2026 Dominik Willner # +# Copyright (C) 2020 - 2026 Dominik Willner # # # # This file is part of KIAUH - Klipper Installation And Update Helper # # https://github.com/dw-0/kiauh # # # # This file may be distributed under the terms of the GNU GPLv3 license # # ======================================================================= # + from __future__ import annotations import os diff --git a/kiauh/utils/tests/test_common.py b/kiauh/utils/tests/test_common.py index 46478b8e..504354e3 100644 --- a/kiauh/utils/tests/test_common.py +++ b/kiauh/utils/tests/test_common.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations from datetime import datetime diff --git a/kiauh/utils/tests/test_config_utils.py b/kiauh/utils/tests/test_config_utils.py index 4eb6bc13..6a153a8a 100644 --- a/kiauh/utils/tests/test_config_utils.py +++ b/kiauh/utils/tests/test_config_utils.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations from pathlib import Path diff --git a/kiauh/utils/tests/test_fs_utils.py b/kiauh/utils/tests/test_fs_utils.py index c2e63fb6..75566e4a 100644 --- a/kiauh/utils/tests/test_fs_utils.py +++ b/kiauh/utils/tests/test_fs_utils.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations from pathlib import Path diff --git a/kiauh/utils/tests/test_git_utils.py b/kiauh/utils/tests/test_git_utils.py index f3bf23dc..f7115e19 100644 --- a/kiauh/utils/tests/test_git_utils.py +++ b/kiauh/utils/tests/test_git_utils.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations from pathlib import Path diff --git a/kiauh/utils/tests/test_input_utils.py b/kiauh/utils/tests/test_input_utils.py index 4005fc2d..7247d667 100644 --- a/kiauh/utils/tests/test_input_utils.py +++ b/kiauh/utils/tests/test_input_utils.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations from typing import Any, List diff --git a/kiauh/utils/tests/test_instance_type.py b/kiauh/utils/tests/test_instance_type.py index b1541c33..e44e9bfb 100644 --- a/kiauh/utils/tests/test_instance_type.py +++ b/kiauh/utils/tests/test_instance_type.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations from typing import TypeVar diff --git a/kiauh/utils/tests/test_instance_utils.py b/kiauh/utils/tests/test_instance_utils.py index b7b92f04..7f15093c 100644 --- a/kiauh/utils/tests/test_instance_utils.py +++ b/kiauh/utils/tests/test_instance_utils.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations from pathlib import Path diff --git a/kiauh/utils/tests/test_sys_utils.py b/kiauh/utils/tests/test_sys_utils.py index 94be5ef5..58931815 100644 --- a/kiauh/utils/tests/test_sys_utils.py +++ b/kiauh/utils/tests/test_sys_utils.py @@ -1,3 +1,12 @@ +# ======================================================================= # +# Copyright (C) 2020 - 2026 Dominik Willner # +# # +# This file is part of KIAUH - Klipper Installation And Update Helper # +# https://github.com/dw-0/kiauh # +# # +# This file may be distributed under the terms of the GNU GPLv3 license # +# ======================================================================= # + from __future__ import annotations import builtins