Type hints

This commit is contained in:
kramo
2023-08-16 16:12:50 +02:00
parent 57a7c98f7a
commit e67977287d
3 changed files with 10 additions and 13 deletions

View File

@@ -156,7 +156,7 @@ class CartridgesApplication(Adw.Application):
game = Game(data)
shared.store.add_game(game, {"skip_save": True})
def get_source_name(self, source_id: str):
def get_source_name(self, source_id: str) -> Any:
if source_id == "all":
name = _("All Games")
elif source_id == "imported":