Remove logger argument in function docstrings

This commit is contained in:
Zeva Rose 2022-04-20 11:01:51 -06:00
parent e436571ea8
commit 853f833231
7 changed files with 0 additions and 8 deletions

View file

@ -42,7 +42,6 @@ async def unban(bot: Snake) -> None:
Args: Args:
bot: Snake instance bot: Snake instance
logger: Global logger
""" """
logger.debug("Starting Task-ban") logger.debug("Starting Task-ban")
while True: while True:

View file

@ -43,7 +43,6 @@ async def unlock(bot: Snake) -> None:
Args: Args:
bot: Bot instance bot: Bot instance
logger: Global logger
""" """
logger.debug("Starting Task-lock") logger.debug("Starting Task-lock")
while True: while True:

View file

@ -30,7 +30,6 @@ async def lift(bot: Snake) -> None:
Args: Args:
bot: Bot instance bot: Bot instance
logger: Global logger
""" """
logger.debug("Starting Task-lift") logger.debug("Starting Task-lift")
while True: while True:

View file

@ -91,7 +91,6 @@ async def _stream(sub: Sub, bot: Snake) -> None:
Args: Args:
sub: Subreddit to stream sub: Subreddit to stream
logger: Global logger
bot: Snake instance bot: Snake instance
""" """
now = datetime.now(tz=timezone.utc) now = datetime.now(tz=timezone.utc)
@ -153,7 +152,6 @@ async def reddit(bot: Snake) -> None:
Args: Args:
bot: Snake instance bot: Snake instance
logger: Global logger
""" """
if not config.reddit: if not config.reddit:
logger.warn("Missing Reddit config, not starting") logger.warn("Missing Reddit config, not starting")

View file

@ -62,7 +62,6 @@ async def remind(bot: Snake) -> None:
Args: Args:
bot: Snake instance bot: Snake instance
logger: Global logger
""" """
logger.debug("Starting Task-remind") logger.debug("Starting Task-remind")
while True: while True:

View file

@ -80,7 +80,6 @@ async def twitter(bot: Snake) -> None:
Args: Args:
bot: Snake instance bot: Snake instance
logger: Global logger
""" """
if not config.twitter: if not config.twitter:
logger.warn("Missing Twitter config, not starting") logger.warn("Missing Twitter config, not starting")

View file

@ -26,7 +26,6 @@ async def unwarn(bot: Snake) -> None:
Args: Args:
bot: Snake instance bot: Snake instance
logger: Global logger
""" """
logger.debug("Starting Task-unwarn") logger.debug("Starting Task-unwarn")
while True: while True: