Add type hints

This commit is contained in:
2023-01-09 04:25:20 +01:00
parent fc424f7263
commit ab477c0ab4
10 changed files with 69 additions and 64 deletions

View File

@ -9,7 +9,7 @@ def send_webhook(message: str) -> None:
Args:
message: The message to send.
"""
webhook = DiscordWebhook(
webhook: DiscordWebhook = DiscordWebhook(
url=settings.webhook_url,
content=message,
rate_limit_retry=True,