From dd6bee7679022152765537d332d906b557f520e4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 12 Oct 2023 15:25:45 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- api/models/branding.py | 1 + config.py | 25 ++++++++++++++++++++----- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/api/models/branding.py b/api/models/branding.py index 48ad29ba..043e75ba 100644 --- a/api/models/branding.py +++ b/api/models/branding.py @@ -1,5 +1,6 @@ from pydantic import BaseModel + class BrandingFields(BaseModel): """ Implements the fields for a brand link. diff --git a/config.py b/config.py index 0b3f40de..5154ff91 100644 --- a/config.py +++ b/config.py @@ -56,11 +56,26 @@ # Branding branding_links: dict[str, str] = { - {"assettype": "logo", "url": "https://github.com/ReVanced/revanced-branding/raw/main/assets/revanced-logo/revanced-logo.svg"}, - {"assettype": "horizontal-light", "url": "https://github.com/ReVanced/revanced-branding/raw/main/assets/revanced-headline/revanced-headline-horizontal-light.svg"}, - {"assettype": "horizontal-dark", "url": "https://github.com/ReVanced/revanced-branding/raw/main/assets/revanced-headline/revanced-headline-horizontal-dark.svg"}, - {"assettype": "vertical-light", "url": "https://github.com/ReVanced/revanced-branding/raw/main/assets/revanced-headline/revanced-headline-vertical-light.svg"}, - {"assettype": "vertical-dark", "url": "https://github.com/ReVanced/revanced-branding/raw/main/assets/revanced-headline/revanced-headline-vertical-dark.svg"}, + { + "assettype": "logo", + "url": "https://github.com/ReVanced/revanced-branding/raw/main/assets/revanced-logo/revanced-logo.svg", + }, + { + "assettype": "horizontal-light", + "url": "https://github.com/ReVanced/revanced-branding/raw/main/assets/revanced-headline/revanced-headline-horizontal-light.svg", + }, + { + "assettype": "horizontal-dark", + "url": "https://github.com/ReVanced/revanced-branding/raw/main/assets/revanced-headline/revanced-headline-horizontal-dark.svg", + }, + { + "assettype": "vertical-light", + "url": "https://github.com/ReVanced/revanced-branding/raw/main/assets/revanced-headline/revanced-headline-vertical-light.svg", + }, + { + "assettype": "vertical-dark", + "url": "https://github.com/ReVanced/revanced-branding/raw/main/assets/revanced-headline/revanced-headline-vertical-dark.svg", + }, } # Social Links