Ruff enable type annotations rule (#362)

This PR enables the ruff rule for return type annotations (ANN), and
adds the ty package for type checking.
This commit is contained in:
Maximilian Dorninger
2026-01-06 17:07:19 +01:00
committed by GitHub
parent dd0b439bbe
commit a39e0d204a
57 changed files with 259 additions and 179 deletions

View File

@@ -19,13 +19,13 @@ class AbstractMetadataProvider(ABC):
@abstractmethod
def get_show_metadata(
self, show_id: int | None = None, language: str | None = None
self, show_id: int, language: str | None = None
) -> Show:
raise NotImplementedError()
@abstractmethod
def get_movie_metadata(
self, movie_id: int | None = None, language: str | None = None
self, movie_id: int, language: str | None = None
) -> Movie:
raise NotImplementedError()