From 78c21ee020b097fad4907091e1bccea663a9c763 Mon Sep 17 00:00:00 2001 From: dgw Date: Tue, 31 Oct 2023 19:18:06 -0500 Subject: [PATCH] plugin: remove obsolete LGTM analysis exception comments --- sopel/plugin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sopel/plugin.py b/sopel/plugin.py index 641d5003d..765f9aed4 100644 --- a/sopel/plugin.py +++ b/sopel/plugin.py @@ -1406,7 +1406,7 @@ def guarded(bot, trigger, *args, **kwargs): def require_account( message: Union[Callable, Optional[str]] = None, reply: bool = False, -) -> Callable: # lgtm [py/similar-function] +) -> Callable: """Decorate a function to require services/NickServ authentication. :param message: optional message to say if a user without authentication @@ -1500,7 +1500,7 @@ def guarded(bot, trigger, *args, **kwargs): def require_admin( message: Union[Callable, Optional[str]] = None, reply: bool = False, -) -> Callable: # lgtm [py/similar-function] +) -> Callable: """Decorate a function to require the triggering user to be a bot admin. :param message: optional message said to non-admin user @@ -1538,7 +1538,7 @@ def guarded(bot, trigger, *args, **kwargs): def require_owner( message: Union[Callable, Optional[str]] = None, reply: bool = False, -) -> Callable: # lgtm [py/similar-function] +) -> Callable: """Decorate a function to require the triggering user to be the bot owner. :param message: optional message said to non-owner user