You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

16 lines
430 B

"""Constants for the GitHub integration."""
from __future__ import annotations
from datetime import timedelta
from logging import Logger, getLogger
LOGGER: Logger = getLogger(__package__)
DOMAIN = "github"
DEFAULT_REPOSITORIES = ["Freeyourgadget/Gadgetbridge"]
FALLBACK_UPDATE_INTERVAL = timedelta(hours=1, minutes=30)
CONF_HOST = "https://codeberg.org/"
CONF_ACCESS_TOKEN = "access_token"
CONF_REPOSITORIES = "repositories"