Fix lint errors

This commit is contained in:
2022-07-10 20:18:14 +01:00
parent 97e6c49201
commit c7ead8d4fd
8 changed files with 23 additions and 3 deletions

View File

@ -1,10 +1,13 @@
#!/usr/local/bin/python3
"""Send messages via the Pushover API."""
import os
import requests
def send_page(name: str, email: str, message: str) -> tuple:
"""POST to the Pushover API."""
api_url = "https://api.pushover.net/1/messages.json"
api_token = os.getenv('PUSHOVER_API_TOKEN')
user_key = os.getenv('PUSHOVER_USER_KEY')