Skip to content

Commit

Permalink
format py
Browse files Browse the repository at this point in the history
  • Loading branch information
HailSanta authored and HailSanta committed Sep 23, 2023
1 parent 80cdf12 commit 53b8ada
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/splat_ext/sprite_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class CMD(IntEnum):
LOOP = 7
SET_META = 8


XML_ATTR_NAME = "name"
XML_ATTR_INDEX = "index"
XML_ATTR_VALUE = "value"
Expand All @@ -29,6 +30,7 @@ class CMD(IntEnum):
XML_ATTR_XYZ = "xyz"
XML_ATTR_FLAG = "flag"


def iter_in_groups(iterable, n, fillvalue=None):
args = [iter(iterable)] * n
return zip_longest(*args, fillvalue=fillvalue)
Expand Down

0 comments on commit 53b8ada

Please sign in to comment.