Skip to content

Commit ac37779

Browse files
authored
add typing
1 parent f0b6247 commit ac37779

File tree

1 file changed

+2
-2
lines changed
  • src/vacuum_map_parser_base/config

1 file changed

+2
-2
lines changed

src/vacuum_map_parser_base/config/color.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ def __init__(
117117
self._overriden_room_colors = {}
118118
else:
119119
self._overriden_room_colors = room_colors
120-
self._cached_colors = {}
121-
self._cached_room_colors = {}
120+
self._cached_colors: dict[SupportedColor, Color] = {}
121+
self._cached_room_colors: dict[int, Color] = {}
122122

123123
def get_color(self, color_name: SupportedColor) -> Color:
124124
if color_name not in self._cached_colors:

0 commit comments

Comments
 (0)