mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-26 19:05:13 +00:00
style: turn on ruff UP and B rules and fix every finding
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user