1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

Fix flake8

This commit is contained in:
Joe R 2025-02-11 21:56:10 -05:00
parent 5b9f64a7eb
commit 54a978b4e2
4 changed files with 13 additions and 8 deletions

View file

@ -1266,10 +1266,12 @@ class Dashavatara(Game):
# * # *
# ***********************************************************************/ # ***********************************************************************/
def r(id, gameclass, name, game_type, decks, redeals, skill_level, altnames=()): def r(id, gameclass, name, game_type, decks, redeals, skill_level,
altnames=()):
game_type = game_type | GI.GT_DASHAVATARA_GANJIFA game_type = game_type | GI.GT_DASHAVATARA_GANJIFA
gi = GameInfo(id, gameclass, name, game_type, decks, redeals, skill_level, gi = GameInfo(id, gameclass, name, game_type, decks, redeals, skill_level,
suits=list(range(10)), ranks=list(range(12)), altnames=altnames) suits=list(range(10)), ranks=list(range(12)),
altnames=altnames)
registerGame(gi) registerGame(gi)
return gi return gi
@ -1301,6 +1303,6 @@ r(15420, AppachansWaterfall, "Appachan's Waterfall", GI.GT_DASHAVATARA_GANJIFA,
r(15421, Hiranyaksha, 'Hiranyaksha', GI.GT_DASHAVATARA_GANJIFA, 1, 0, r(15421, Hiranyaksha, 'Hiranyaksha', GI.GT_DASHAVATARA_GANJIFA, 1, 0,
GI.SL_MOSTLY_SKILL) GI.SL_MOSTLY_SKILL)
r(15422, Dashavatara, 'Dashavatara', GI.GT_DASHAVATARA_GANJIFA, 1, 0, r(15422, Dashavatara, 'Dashavatara', GI.GT_DASHAVATARA_GANJIFA, 1, 0,
GI.SL_BALANCED, altnames=('Ten Avatars')) GI.SL_BALANCED)
del r del r

View file

@ -1605,7 +1605,8 @@ class MagicMontana(Montana):
# ************************************************************************ # ************************************************************************
def r(id, gameclass, name, game_type, decks, redeals, skill_level, altnames=()): def r(id, gameclass, name, game_type, decks, redeals, skill_level,
altnames=()):
game_type = game_type | GI.GT_HEXADECK game_type = game_type | GI.GT_HEXADECK
gi = GameInfo(id, gameclass, name, game_type, decks, redeals, skill_level, gi = GameInfo(id, gameclass, name, game_type, decks, redeals, skill_level,
suits=list(range(4)), ranks=list(range(16)), suits=list(range(4)), ranks=list(range(16)),

View file

@ -1157,10 +1157,12 @@ class AshtaDikapala(Game):
# * # *
# ************************************************************************ # ************************************************************************
def r(id, gameclass, name, game_type, decks, redeals, skill_level, altnames=()): def r(id, gameclass, name, game_type, decks, redeals, skill_level,
altnames=()):
game_type = game_type | GI.GT_MUGHAL_GANJIFA game_type = game_type | GI.GT_MUGHAL_GANJIFA
gi = GameInfo(id, gameclass, name, game_type, decks, redeals, skill_level, gi = GameInfo(id, gameclass, name, game_type, decks, redeals, skill_level,
suits=list(range(8)), ranks=list(range(12)), altnames=altnames) suits=list(range(8)), ranks=list(range(12)),
altnames=altnames)
registerGame(gi) registerGame(gi)
return gi return gi

View file

@ -504,8 +504,8 @@ def r(id, gameclass, name, game_type, decks, redeals, skill_level,
numcards=78, altnames=()): numcards=78, altnames=()):
game_type = game_type | GI.GT_TAROCK | GI.GT_CONTRIB | GI.GT_ORIGINAL game_type = game_type | GI.GT_TAROCK | GI.GT_CONTRIB | GI.GT_ORIGINAL
gi = GameInfo(id, gameclass, name, game_type, decks, redeals, skill_level, gi = GameInfo(id, gameclass, name, game_type, decks, redeals, skill_level,
ranks=list(range(14)), trumps=list(range(22)), altnames=altnames, ranks=list(range(14)), trumps=list(range(22)),
si={"ncards": numcards}) altnames=altnames, si={"ncards": numcards})
registerGame(gi) registerGame(gi)
return gi return gi