From e11f696b76612c4f6b9f4d6ea7cc65a2a97c4c19 Mon Sep 17 00:00:00 2001 From: KenanZhu <3471685733@qq.com> Date: Wed, 6 May 2026 01:01:52 +0800 Subject: [PATCH] =?UTF-8?q?style(*):=20=E6=B7=BB=E5=8A=A0=E7=BC=BA?= =?UTF-8?q?=E5=A4=B1=E7=9A=84=E7=89=88=E6=9D=83=E4=BF=A1=E6=81=AF=EF=BC=8C?= =?UTF-8?q?=E5=B9=B6=E5=90=8C=E4=B8=80=E7=89=88=E6=9D=83=E5=B9=B4=E4=BB=BD?= =?UTF-8?q?=E4=B8=BA=E6=96=87=E4=BB=B6=E5=88=9B=E5=BB=BA=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E7=9A=84=E5=B9=B4=E4=BB=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Main.py | 2 +- src/base/LibOperator.py | 2 +- src/base/LibTimeSelector.py | 2 +- src/base/MsgBase.py | 2 +- src/boot/AppInitializer.py | 2 +- src/gui/ALAboutDialog.py | 2 +- src/gui/ALConfigWidget.py | 2 +- src/gui/ALMainWindow.py | 2 +- src/gui/ALMainWorkers.py | 2 +- src/gui/ALSeatFrame.py | 2 +- src/gui/ALSeatMapSelectDialog.py | 2 +- src/gui/ALSeatMapView.py | 2 +- src/gui/ALStatusLabel.py | 8 ++++++++ src/gui/ALTimerTaskAddDialog.py | 2 +- src/gui/ALTimerTaskManageWidget.py | 2 +- src/gui/ALUserTreeWidget.py | 2 +- src/managers/driver/WebBrowserDetector.py | 9 +++++++++ src/managers/driver/WebDriverDownloader.py | 9 +++++++++ src/operators/AutoLib.py | 2 +- src/operators/LibChecker.py | 2 +- src/operators/LibCheckin.py | 2 +- src/operators/LibCheckout.py | 2 +- src/operators/LibLogin.py | 2 +- src/operators/LibLogout.py | 2 +- src/operators/LibRenew.py | 2 +- src/operators/LibReserve.py | 2 +- src/utils/ConfigUtils.py | 2 +- src/utils/TimerUtils.py | 2 +- 28 files changed, 51 insertions(+), 25 deletions(-) diff --git a/src/Main.py b/src/Main.py index 7f79f81..d2fd5f9 100644 --- a/src/Main.py +++ b/src/Main.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Copyright (c) 2025 - 2026 KenanZhu. +Copyright (c) 2025 KenanZhu. All rights reserved. This software is provided "as is", without any warranty of any kind. diff --git a/src/base/LibOperator.py b/src/base/LibOperator.py index b1219ca..de57392 100644 --- a/src/base/LibOperator.py +++ b/src/base/LibOperator.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Copyright (c) 2025 - 2026 KenanZhu. +Copyright (c) 2025 KenanZhu. All rights reserved. This software is provided "as is", without any warranty of any kind. diff --git a/src/base/LibTimeSelector.py b/src/base/LibTimeSelector.py index b8df859..737a708 100644 --- a/src/base/LibTimeSelector.py +++ b/src/base/LibTimeSelector.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Copyright (c) 2025 - 2026 KenanZhu. +Copyright (c) 2026 KenanZhu. All rights reserved. This software is provided "as is", without any warranty of any kind. diff --git a/src/base/MsgBase.py b/src/base/MsgBase.py index 6639ad0..8ac1aaf 100644 --- a/src/base/MsgBase.py +++ b/src/base/MsgBase.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Copyright (c) 2025 - 2026 KenanZhu. +Copyright (c) 2025 KenanZhu. All rights reserved. This software is provided "as is", without any warranty of any kind. diff --git a/src/boot/AppInitializer.py b/src/boot/AppInitializer.py index 7f04976..6267892 100644 --- a/src/boot/AppInitializer.py +++ b/src/boot/AppInitializer.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Copyright (c) 2025 - 2026 KenanZhu. +Copyright (c) 2026 KenanZhu. All rights reserved. This software is provided "as is", without any warranty of any kind. diff --git a/src/gui/ALAboutDialog.py b/src/gui/ALAboutDialog.py index 1f19de1..119c06f 100644 --- a/src/gui/ALAboutDialog.py +++ b/src/gui/ALAboutDialog.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Copyright (c) 2025 - 2026 KenanZhu. +Copyright (c) 2025 KenanZhu. All rights reserved. This software is provided "as is", without any warranty of any kind. diff --git a/src/gui/ALConfigWidget.py b/src/gui/ALConfigWidget.py index a98062c..9a203e8 100644 --- a/src/gui/ALConfigWidget.py +++ b/src/gui/ALConfigWidget.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Copyright (c) 2025 - 2026 KenanZhu. +Copyright (c) 2025 KenanZhu. All rights reserved. This software is provided "as is", without any warranty of any kind. diff --git a/src/gui/ALMainWindow.py b/src/gui/ALMainWindow.py index 0b02dcf..38d4402 100644 --- a/src/gui/ALMainWindow.py +++ b/src/gui/ALMainWindow.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Copyright (c) 2025 - 2026 KenanZhu. +Copyright (c) 2025 KenanZhu. All rights reserved. This software is provided "as is", without any warranty of any kind. diff --git a/src/gui/ALMainWorkers.py b/src/gui/ALMainWorkers.py index 36e8950..c1503d1 100644 --- a/src/gui/ALMainWorkers.py +++ b/src/gui/ALMainWorkers.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Copyright (c) 2025 - 2026 KenanZhu. +Copyright (c) 2025 KenanZhu. All rights reserved. This software is provided "as is", without any warranty of any kind. diff --git a/src/gui/ALSeatFrame.py b/src/gui/ALSeatFrame.py index 8272b84..8524e00 100644 --- a/src/gui/ALSeatFrame.py +++ b/src/gui/ALSeatFrame.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Copyright (c) 2025 - 2026 KenanZhu. +Copyright (c) 2025 KenanZhu. All rights reserved. This software is provided "as is", without any warranty of any kind. diff --git a/src/gui/ALSeatMapSelectDialog.py b/src/gui/ALSeatMapSelectDialog.py index 7afe97c..032ec66 100644 --- a/src/gui/ALSeatMapSelectDialog.py +++ b/src/gui/ALSeatMapSelectDialog.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Copyright (c) 2025 - 2026 KenanZhu. +Copyright (c) 2026 KenanZhu. All rights reserved. This software is provided "as is", without any warranty of any kind. diff --git a/src/gui/ALSeatMapView.py b/src/gui/ALSeatMapView.py index b177bfb..c687b45 100644 --- a/src/gui/ALSeatMapView.py +++ b/src/gui/ALSeatMapView.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Copyright (c) 2025 - 2026 KenanZhu. +Copyright (c) 2026 KenanZhu. All rights reserved. This software is provided "as is", without any warranty of any kind. diff --git a/src/gui/ALStatusLabel.py b/src/gui/ALStatusLabel.py index 7b01648..56791f3 100644 --- a/src/gui/ALStatusLabel.py +++ b/src/gui/ALStatusLabel.py @@ -1,4 +1,12 @@ +# -*- coding: utf-8 -*- +""" +Copyright (c) 2026 KenanZhu. +All rights reserved. +This software is provided "as is", without any warranty of any kind. +You may use, modify, and distribute this file under the terms of the MIT License. +See the LICENSE file for details. +""" from enum import Enum from PySide6.QtWidgets import ( diff --git a/src/gui/ALTimerTaskAddDialog.py b/src/gui/ALTimerTaskAddDialog.py index 60dd035..9eb2f25 100644 --- a/src/gui/ALTimerTaskAddDialog.py +++ b/src/gui/ALTimerTaskAddDialog.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Copyright (c) 2025 - 2026 KenanZhu. +Copyright (c) 2025 KenanZhu. All rights reserved. This software is provided "as is", without any warranty of any kind. diff --git a/src/gui/ALTimerTaskManageWidget.py b/src/gui/ALTimerTaskManageWidget.py index 7b06366..9dcf792 100644 --- a/src/gui/ALTimerTaskManageWidget.py +++ b/src/gui/ALTimerTaskManageWidget.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Copyright (c) 2025 - 2026 KenanZhu. +Copyright (c) 2025 KenanZhu. All rights reserved. This software is provided "as is", without any warranty of any kind. diff --git a/src/gui/ALUserTreeWidget.py b/src/gui/ALUserTreeWidget.py index ae562c0..15bdd2c 100644 --- a/src/gui/ALUserTreeWidget.py +++ b/src/gui/ALUserTreeWidget.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Copyright (c) 2025 - 2026 KenanZhu. +Copyright (c) 2025 KenanZhu. All rights reserved. This software is provided "as is", without any warranty of any kind. diff --git a/src/managers/driver/WebBrowserDetector.py b/src/managers/driver/WebBrowserDetector.py index 4910f5f..26f246a 100644 --- a/src/managers/driver/WebBrowserDetector.py +++ b/src/managers/driver/WebBrowserDetector.py @@ -1,3 +1,12 @@ +# -*- coding: utf-8 -*- +""" +Copyright (c) 2026 KenanZhu. +All rights reserved. + +This software is provided "as is", without any warranty of any kind. +You may use, modify, and distribute this file under the terms of the MIT License. +See the LICENSE file for details. +""" import platform import browsers diff --git a/src/managers/driver/WebDriverDownloader.py b/src/managers/driver/WebDriverDownloader.py index c4e3279..945b103 100644 --- a/src/managers/driver/WebDriverDownloader.py +++ b/src/managers/driver/WebDriverDownloader.py @@ -1,3 +1,12 @@ +# -*- coding: utf-8 -*- +""" +Copyright (c) 2026 KenanZhu. +All rights reserved. + +This software is provided "as is", without any warranty of any kind. +You may use, modify, and distribute this file under the terms of the MIT License. +See the LICENSE file for details. +""" import os import time import shutil diff --git a/src/operators/AutoLib.py b/src/operators/AutoLib.py index 8613d2a..1972349 100644 --- a/src/operators/AutoLib.py +++ b/src/operators/AutoLib.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Copyright (c) 2025 - 2026 KenanZhu. +Copyright (c) 2025 KenanZhu. All rights reserved. This software is provided "as is", without any warranty of any kind. diff --git a/src/operators/LibChecker.py b/src/operators/LibChecker.py index e1d4554..7a8d52d 100644 --- a/src/operators/LibChecker.py +++ b/src/operators/LibChecker.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Copyright (c) 2025 - 2026 KenanZhu. +Copyright (c) 2025 KenanZhu. All rights reserved. This software is provided "as is", without any warranty of any kind. diff --git a/src/operators/LibCheckin.py b/src/operators/LibCheckin.py index 6705ef8..beff718 100644 --- a/src/operators/LibCheckin.py +++ b/src/operators/LibCheckin.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Copyright (c) 2025 - 2026 KenanZhu. +Copyright (c) 2025 KenanZhu. All rights reserved. This software is provided "as is", without any warranty of any kind. diff --git a/src/operators/LibCheckout.py b/src/operators/LibCheckout.py index bf637d3..4e8e7a8 100644 --- a/src/operators/LibCheckout.py +++ b/src/operators/LibCheckout.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Copyright (c) 2025 - 2026 KenanZhu. +Copyright (c) 2025 KenanZhu. All rights reserved. This software is provided "as is", without any warranty of any kind. diff --git a/src/operators/LibLogin.py b/src/operators/LibLogin.py index 28555d3..b5d0f7b 100644 --- a/src/operators/LibLogin.py +++ b/src/operators/LibLogin.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Copyright (c) 2025 - 2026 KenanZhu. +Copyright (c) 2025 KenanZhu. All rights reserved. This software is provided "as is", without any warranty of any kind. diff --git a/src/operators/LibLogout.py b/src/operators/LibLogout.py index 72edf5d..63cc63e 100644 --- a/src/operators/LibLogout.py +++ b/src/operators/LibLogout.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Copyright (c) 2025 - 2026 KenanZhu. +Copyright (c) 2025 KenanZhu. All rights reserved. This software is provided "as is", without any warranty of any kind. diff --git a/src/operators/LibRenew.py b/src/operators/LibRenew.py index 62114a6..4213168 100644 --- a/src/operators/LibRenew.py +++ b/src/operators/LibRenew.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Copyright (c) 2025 - 2026 KenanZhu. +Copyright (c) 2025 KenanZhu. All rights reserved. This software is provided "as is", without any warranty of any kind. diff --git a/src/operators/LibReserve.py b/src/operators/LibReserve.py index 55572bd..23f84d8 100644 --- a/src/operators/LibReserve.py +++ b/src/operators/LibReserve.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Copyright (c) 2025 - 2026 KenanZhu. +Copyright (c) 2025 KenanZhu. All rights reserved. This software is provided "as is", without any warranty of any kind. diff --git a/src/utils/ConfigUtils.py b/src/utils/ConfigUtils.py index 8fc632c..bab72ec 100644 --- a/src/utils/ConfigUtils.py +++ b/src/utils/ConfigUtils.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Copyright (c) 2025 - 2026 KenanZhu. +Copyright (c) 2026 KenanZhu. All rights reserved. This software is provided "as is", without any warranty of any kind. diff --git a/src/utils/TimerUtils.py b/src/utils/TimerUtils.py index a7c22c7..a129c89 100644 --- a/src/utils/TimerUtils.py +++ b/src/utils/TimerUtils.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Copyright (c) 2025 - 2026 KenanZhu. +Copyright (c) 2026 KenanZhu. All rights reserved. This software is provided "as is", without any warranty of any kind.