Skip to content

Commit

Permalink
fix version annotations backport
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerYep committed Feb 18, 2021
1 parent 7e2cdd3 commit 00f4a5d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions stanfordkarel/karel_ascii.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@
from __future__ import annotations

from enum import Enum, unique
from typing import Any, Iterator
from typing import Any, Dict, Iterator, Tuple

from .karel_world import Direction, KarelWorld

CHAR_WIDTH = 5
HORIZONTAL, VERTICAL = "─", "│"
SPACING = 10
BEEPER_COORDS = Dict[Tuple[int, int], int]


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


BEEPER_COORDS = dict[tuple[int, int], int]


def compare_output(first: Any, second: Any) -> str:
""" Compares Karel Output and gets the results. """

Expand Down

0 comments on commit 00f4a5d

Please sign in to comment.