Fix unused f-string
plextraktsync/media.py:53:32: F541 f-string is missing placeholders
plextraktsync/walker.py:255:46: F541 f-string is missing placeholders
MODIFY
plextraktsync/media.py
plextraktsync/media.py
@@ -50,7 +50,7 @@ def trakt_url(self):
@property
def show_trakt_id(self):
if not self.show:
- raise RuntimeError(f"Unexpected call: episode without show property")
+ raise RuntimeError("Unexpected call: episode without show property")
return self.show.trakt_id
@cached_property

MODIFY
plextraktsync/walker.py
plextraktsync/walker.py
@@ -252,7 +252,7 @@ def walk_shows(self, shows: set[Media], title="Processing Shows"):
yield from self.progressbar(shows, desc=title)
def get_plex_episodes(self, episodes):
- it = self.progressbar(episodes, desc=f"Processing episodes")
+ it = self.progressbar(episodes, desc="Processing episodes")
for pe in it:
guid = PlexGuid(pe.grandparentGuid, "show")
show = self.mf.resolve_guid(guid)

Fix unused f-string

plextraktsync/media.py:53:32: F541 f-string is missing placeholders
plextraktsync/walker.py:255:46: F541 f-string is missing placeholders