Remove unused game_id

This commit is contained in:
Mathieu Comandon 2024-02-24 21:18:22 -08:00
parent 24f8fee432
commit 558a62c8b6
2 changed files with 1 additions and 2 deletions

View file

@ -56,7 +56,7 @@ class SteamGame(ServiceGame):
runner = "steam"
@classmethod
def new_from_steam_game(cls, steam_game, game_id=None):
def new_from_steam_game(cls, steam_game):
"""Return a Steam game instance from an AppManifest"""
game = cls()
game.appid = steam_game["appid"]

View file

@ -26,7 +26,6 @@ ignore = [
"B904", # Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
"B008", # Do not perform function call `_try_import_moddb_library` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
"ARG005", # Unused lambda argument: `e`
"ARG003", # Unused class method argument: `game_id`
"ARG001", # Unused function argument: `args`
"PERF402", # Use `list` or `list.copy` to create a copy of a list
"B009", # Do not call `getattr` with a constant attribute value. It is not any safer than normal property access.