mirror of
https://github.com/lutris/lutris
synced 2024-09-28 20:13:32 +00:00
Remove unused game_id
This commit is contained in:
parent
24f8fee432
commit
558a62c8b6
|
@ -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"]
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue