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
428 B
16 lines
428 B
"""Constants for the Gitea integration.""" |
|
from __future__ import annotations |
|
|
|
from datetime import timedelta |
|
from logging import Logger, getLogger |
|
|
|
LOGGER: Logger = getLogger(__package__) |
|
|
|
DOMAIN = "gitea" |
|
|
|
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"
|
|
|