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
+2 -2
View File
@@ -1,7 +1,7 @@
from __future__ import annotations
import re
from typing import Any, Optional
from typing import Any
from rich.console import Group, RenderableType
from rich.panel import Panel
@@ -29,7 +29,7 @@ class MusicRenderer:
return Group(header, Text(""), tracks)
return tracks
def render_header(self, music: Music) -> Optional[Table]:
def render_header(self, music: Music) -> Table | None:
if not music:
return None