diff --git a/lutris/services/steam.py b/lutris/services/steam.py index 092f34ff7..673eda6f8 100644 --- a/lutris/services/steam.py +++ b/lutris/services/steam.py @@ -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"] diff --git a/ruff.toml b/ruff.toml index 6f22f0255..8bb882a7c 100644 --- a/ruff.toml +++ b/ruff.toml @@ -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.