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 1, 2023
1 parent 6a8bbdb commit d0e9e24
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 @@ -1405,7 +1405,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 @@ -1499,7 +1499,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 @@ -1537,7 +1537,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 d0e9e24

Please sign in to comment.