chore(tiled_map): Fixed low-hanging fruit pylint errors

This commit is contained in:
Darren Eberly
2020-08-19 23:06:31 -04:00
parent e5dcb10858
commit 659a2b7d85

View File

@@ -2,7 +2,7 @@
import json
from pathlib import Path
from typing import Dict, List, NamedTuple, Optional, Union
from typing import Dict, List, Optional, Union
from typing import cast as typing_cast
import attr
@@ -108,7 +108,7 @@ def cast(file: Path) -> Map:
""" Cast the raw Tiled map into a pytiled_parser type
Args:
raw_tiled_map: Raw JSON Formatted Tiled Map to be cast.
file: Path to the map's JSON file
Returns:
TileSet: a properly typed TileSet.