From a1886ed87f4f961189d284fedb36fafae1156511 Mon Sep 17 00:00:00 2001 From: JohnBaumb <80135794+JohnBaumb@users.noreply.github.com> Date: Tue, 21 Apr 2026 10:22:58 -0700 Subject: [PATCH] Fix ruff F541 and B007 lint errors --- api/playlists.py | 2 +- beatport_unified_scraper.py | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/api/playlists.py b/api/playlists.py index 75754e85..369ba72d 100644 --- a/api/playlists.py +++ b/api/playlists.py @@ -138,7 +138,7 @@ def register_routes(bp): try: # Forward to the internal sync endpoint import requests as http_requests - internal_url = f"http://127.0.0.1:8008/api/sync/start" + internal_url = "http://127.0.0.1:8008/api/sync/start" resp = http_requests.post(internal_url, json={ "playlist_id": playlist_id, "playlist_name": playlist_name, diff --git a/beatport_unified_scraper.py b/beatport_unified_scraper.py index 3983a891..67daf909 100644 --- a/beatport_unified_scraper.py +++ b/beatport_unified_scraper.py @@ -279,7 +279,7 @@ class BeatportUnifiedScraper: _beatport_log(f" Filtered out: '{name}' (appears to be a section title)") else: # Fallback: try the old method if no