From 7c5038263ceed8d2aaf17c54f6f7db0f7231f492 Mon Sep 17 00:00:00 2001 From: andrejkuroglo8 <176418899+andrejkuroglo8@users.noreply.github.com> Date: Sun, 10 May 2026 11:22:18 +0000 Subject: [PATCH] [ci] apply-plugin-metadata-and-formatting --- plugins/utilities/glowing_profiles.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/plugins/utilities/glowing_profiles.py b/plugins/utilities/glowing_profiles.py index 3668363..799e7c8 100644 --- a/plugins/utilities/glowing_profiles.py +++ b/plugins/utilities/glowing_profiles.py @@ -11,7 +11,7 @@ import enum if TYPE_CHECKING: from typing import Type, Callable, Any, Tuple - + plugman = dict( plugin_name="glowing_profiles", description="This plugin gives your profile glowlight, just like on some servers, but only offline", @@ -22,6 +22,7 @@ plugman = dict( version="1.0.0", ) + def redefine_method(dst: Tuple[Any, str], src: Tuple[Any, str]) -> None: if hasattr(getattr(*src), '__redefine_type') and getattr(*src).__redefine_type in ( RedefineFlag.DECORATE_PRE, RedefineFlag.DECORATE_AFTER, RedefineFlag.DECORATE_ADVANCED): @@ -81,6 +82,7 @@ def redefine_class_methods(orig_cls: Type[object]) -> Callable[[Any], None]: return decorator + class RedefineFlag(enum.Enum): REDEFINE = 0 DECORATE_AFTER = 1 @@ -99,6 +101,7 @@ def redefine_flag(*flags: RedefineFlag) -> Callable[[Callable], Callable]: return decorator + def get_locale(*args): return "Error" @@ -213,5 +216,7 @@ class Chooser: self._update_text() # ba_meta export babase.Plugin + + class Glowing(babase.Plugin): - pass + pass