From 659a2b7d85895cafa9f7b9561dd5266c5d085be2 Mon Sep 17 00:00:00 2001 From: Darren Eberly Date: Wed, 19 Aug 2020 23:06:31 -0400 Subject: [PATCH] chore(tiled_map): Fixed low-hanging fruit pylint errors --- pytiled_parser/tiled_map.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytiled_parser/tiled_map.py b/pytiled_parser/tiled_map.py index 701a298..69158d8 100644 --- a/pytiled_parser/tiled_map.py +++ b/pytiled_parser/tiled_map.py @@ -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.