Re-run black formatting

This commit is contained in:
Darren Eberly
2023-02-19 17:38:39 -05:00
parent 117ef785ec
commit 6f3e903ba6
3 changed files with 662 additions and 664 deletions

View File

@@ -192,7 +192,7 @@ def _parse_tile(
gid=gid, gid=gid,
new_tileset=new_tileset, new_tileset=new_tileset,
new_tileset_path=new_tileset_path, new_tileset_path=new_tileset_path,
**_parse_common(raw_object).__dict__ **_parse_common(raw_object).__dict__,
) )

View File

@@ -6,12 +6,10 @@ from pytiled_parser.util import parse_color
def parse(raw_properties: etree.Element) -> Properties: def parse(raw_properties: etree.Element) -> Properties:
final: Properties = {} final: Properties = {}
value: Property value: Property
for raw_property in raw_properties.findall("property"): for raw_property in raw_properties.findall("property"):
type_ = raw_property.attrib.get("type") type_ = raw_property.attrib.get("type")
if "value" not in raw_property.attrib: if "value" not in raw_property.attrib:

View File

@@ -152,7 +152,7 @@ def _parse_tile(
gid=int(raw_object.attrib["gid"]), gid=int(raw_object.attrib["gid"]),
new_tileset=new_tileset, new_tileset=new_tileset,
new_tileset_path=new_tileset_path, new_tileset_path=new_tileset_path,
**_parse_common(raw_object).__dict__ **_parse_common(raw_object).__dict__,
) )