style: turn on ruff UP and B rules and fix every finding

This commit is contained in:
imSp4rky
2026-11-25 16:34:09 -07:00
parent 1a63076df2
commit d8058a3610
264 changed files with 2950 additions and 2966 deletions
@@ -1,7 +1,5 @@
from __future__ import annotations
from typing import Optional
import pytest
from unshackle.core.wire import original_audio_ids
@@ -14,7 +12,7 @@ class FakeTrack:
class FakeTitle:
def __init__(self, language: Optional[str]) -> None:
def __init__(self, language: str | None) -> None:
self.language = language