Skip to content

Commit 83ee2c4

Browse files
committed
Formatting fixes
1 parent 58deab5 commit 83ee2c4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pytiled_parser/parsers/json/tileset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"x": int,
5151
"y": int,
5252
"width": int,
53-
"height": int
53+
"height": int,
5454
},
5555
)
5656
RawTile.__doc__ = """
@@ -215,7 +215,7 @@ def _parse_tile(raw_tile: RawTile, external_path: Optional[Path] = None) -> Tile
215215

216216
if raw_tile.get("x") is not None:
217217
tile.x = raw_tile["x"]
218-
218+
219219
if raw_tile.get("y") is not None:
220220
tile.y = raw_tile["y"]
221221

pytiled_parser/parsers/tmx/tileset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def _parse_tile(raw_tile: etree.Element, external_path: Optional[Path] = None) -
119119

120120
if raw_tile.attrib.get("width") is not None:
121121
tile.width = int(raw_tile.attrib["width"])
122-
122+
123123
if raw_tile.attrib.get("height") is not None:
124124
tile.height = int(raw_tile.attrib["height"])
125125

0 commit comments

Comments
 (0)