Chore(deps): Bump ruff from 0.12.12 to 0.13.2 (#2448)
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fri, 3 Oct 2025 19:55:54 +0000 (21:55 +0200)
committerGitHub <noreply@github.com>
Fri, 3 Oct 2025 19:55:54 +0000 (21:55 +0200)
* Chore(deps): Bump ruff from 0.12.12 to 0.13.2

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.12.12 to 0.13.2.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.12.12...0.13.2)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.13.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
* lint

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
music_assistant/providers/internet_archive/provider.py
music_assistant/providers/podcast_index/provider.py
pyproject.toml

index 1e01f1358f10f71c82bd226134dec447603ab866..cda54bc893492a0b48a5c695e5bf123c8a7bb098 100644 (file)
@@ -28,12 +28,7 @@ from music_assistant.controllers.cache import use_cache
 from music_assistant.helpers.throttle_retry import ThrottlerManager, throttle_with_retries
 from music_assistant.models.music_provider import MusicProvider
 
-from .helpers import (
-    InternetArchiveClient,
-    clean_text,
-    extract_year,
-    parse_duration,
-)
+from .helpers import InternetArchiveClient, clean_text, extract_year, parse_duration
 from .parsers import (
     add_item_image,
     artist_exists,
@@ -951,7 +946,7 @@ class InternetArchiveProvider(MusicProvider):
         if "#" not in prov_episode_id:
             raise MediaNotFoundError(f"Invalid episode ID format: {prov_episode_id}")
 
-        podcast_id, filename = prov_episode_id.split("#", 1)
+        podcast_id, _ = prov_episode_id.split("#", 1)
 
         async for episode in self.get_podcast_episodes(podcast_id):
             if episode.item_id == prov_episode_id:
index aca7f1067a04d3a76a112627ad66abd6feea38a1..120bf00a2b7d6c3c2d1750f8b848ea0d654b5049 100644 (file)
@@ -331,7 +331,7 @@ class PodcastIndexProvider(MusicProvider):
             raise MediaNotFoundError("Stream details only available for episodes")
 
         try:
-            podcast_id, episode_id = item_id.split("|", 1)
+            _, episode_id = item_id.split("|", 1)
 
             # Use direct episode lookup for efficiency
             response = await self._api_request("episodes/byid", params={"id": episode_id})
index 7adf7c0267d64e569379f9ed2269e8a5b187fedf..9ec43933b8f3c8ba8d2888390730332383c2c8ef 100644 (file)
@@ -60,7 +60,7 @@ test = [
   "pytest-cov==7.0.0",
   "syrupy==5.0.0",
   "tomli==2.2.1",
-  "ruff==0.12.12",
+  "ruff==0.13.2",
 ]
 
 [project.scripts]