Skip to content

Commit 00f4a5d

Browse files
committed
fix version annotations backport
1 parent 7e2cdd3 commit 00f4a5d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

stanfordkarel/karel_ascii.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@
99
from __future__ import annotations
1010

1111
from enum import Enum, unique
12-
from typing import Any, Iterator
12+
from typing import Any, Dict, Iterator, Tuple
1313

1414
from .karel_world import Direction, KarelWorld
1515

1616
CHAR_WIDTH = 5
1717
HORIZONTAL, VERTICAL = "─", "│"
1818
SPACING = 10
19+
BEEPER_COORDS = Dict[Tuple[int, int], int]
1920

2021

2122
class Tile: # pylint: disable=too-few-public-methods
@@ -175,9 +176,6 @@ class Color(Enum):
175176
END = "\033[0m"
176177

177178

178-
BEEPER_COORDS = dict[tuple[int, int], int]
179-
180-
181179
def compare_output(first: Any, second: Any) -> str:
182180
""" Compares Karel Output and gets the results. """
183181

0 commit comments

Comments
 (0)