From 3d555da63f7da230dc4106c7670e35d5f19899ce Mon Sep 17 00:00:00 2001 From: Archmonger <16909269+Archmonger@users.noreply.github.com> Date: Tue, 11 Feb 2025 14:10:45 -0800 Subject: [PATCH] Fix lint error --- src/reactpy/core/_life_cycle_hook.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/reactpy/core/_life_cycle_hook.py b/src/reactpy/core/_life_cycle_hook.py index 726346e3b..8600b3f01 100644 --- a/src/reactpy/core/_life_cycle_hook.py +++ b/src/reactpy/core/_life_cycle_hook.py @@ -22,7 +22,7 @@ async def __call__(self, stop: Event) -> None: ... logger = logging.getLogger(__name__) -class __HookStack(Singleton): # pragma: no cover +class _HookStack(Singleton): # pragma: no cover """A singleton object which manages the current component tree's hooks. Life cycle hooks can be stored in a thread local or context variable depending on the platform.""" @@ -53,7 +53,7 @@ def current_hook(self) -> LifeCycleHook: return hook_stack[-1] -HOOK_STACK = __HookStack() +HOOK_STACK = _HookStack() class LifeCycleHook: