Skip to content

Commit

Permalink
plugin: remove obsolete LGTM analysis exception comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dgw committed Nov 2, 2023
1 parent 804b2ac commit 08b670c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sopel/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -1454,7 +1454,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
Expand Down Expand Up @@ -1573,7 +1573,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
Expand Down Expand Up @@ -1633,7 +1633,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
Expand Down

0 comments on commit 08b670c

Please sign in to comment.