From abe1a352529e421a26aa4439c371dd2e5b5cb082 Mon Sep 17 00:00:00 2001 From: Jakob Meier Date: Thu, 15 Aug 2024 12:32:50 +0200 Subject: [PATCH] Reformat files using ruff --- melon/servers/invidious/__init__.py | 1 - melon/servers/nebula/__init__.py | 1 - melon/servers/peertube/__init__.py | 1 - melon/widgets/feeditem.py | 4 ++-- 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/melon/servers/invidious/__init__.py b/melon/servers/invidious/__init__.py index a73b6ef..5495333 100644 --- a/melon/servers/invidious/__init__.py +++ b/melon/servers/invidious/__init__.py @@ -29,7 +29,6 @@ class NewpipeInvidiousImporter(NewpipeImporter): # because not all invidious servers provide the api # and even if they do, most of the time it is ratelimited class Invidious(Server): - id = "invidious" name = "Invidious" description = _("Open source alternative front-end to YouTube") diff --git a/melon/servers/nebula/__init__.py b/melon/servers/nebula/__init__.py index 9c305dd..1596d05 100644 --- a/melon/servers/nebula/__init__.py +++ b/melon/servers/nebula/__init__.py @@ -14,7 +14,6 @@ from melon.servers import USER_AGENT # because not all invidious servers provide the api # and even if they do, most of the time it is ratelimited class Nebula(Server): - id = "nebula" name = "Nebula" description = _( diff --git a/melon/servers/peertube/__init__.py b/melon/servers/peertube/__init__.py index 9d1e702..f908922 100644 --- a/melon/servers/peertube/__init__.py +++ b/melon/servers/peertube/__init__.py @@ -10,7 +10,6 @@ from melon.import_providers.newpipe import NewpipeImporter class Peertube(Server): - id = "peertube" name = "Peertube" description = _("Decentralized video hosting network, based on free/libre software") diff --git a/melon/widgets/feeditem.py b/melon/widgets/feeditem.py index 1f73d50..b2b9c1d 100644 --- a/melon/widgets/feeditem.py +++ b/melon/widgets/feeditem.py @@ -31,7 +31,7 @@ class AdaptiveFeedItem(Adw.ActionRow): clickable=True, onClick=None, *args, - **kwargs + **kwargs, ): super().__init__(*args, **kwargs) self.res = resource @@ -190,7 +190,7 @@ class AdaptivePlaylistFeedItem(Adw.ActionRow): show_preview=True, onClick=None, *args, - **kwargs + **kwargs, ): super().__init__(*args, **kwargs) self.set_title(unidecode(playlist.inner.title).replace("&", "&")) -- 2.38.5