Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
Archmonger committed Feb 11, 2025
1 parent 146ceef commit 3d555da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/reactpy/core/_life_cycle_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down Expand Up @@ -53,7 +53,7 @@ def current_hook(self) -> LifeCycleHook:
return hook_stack[-1]


HOOK_STACK = __HookStack()
HOOK_STACK = _HookStack()


class LifeCycleHook:
Expand Down

0 comments on commit 3d555da

Please sign in to comment.