Skip to content

Commit

Permalink
Fix typing of chess.variant.VARIANTS
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed Mar 28, 2019
1 parent 7ab6a58 commit 37db214
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chess/variant.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import copy
import itertools

from typing import Type
from typing import List, Type


class SuicideBoard(chess.Board):
Expand Down Expand Up @@ -850,7 +850,7 @@ def status(self) -> chess.Status:
HordeBoard,
ThreeCheckBoard,
CrazyhouseBoard,
] # type: Type[chess.Board]
] # type: List[Type[chess.Board]]


def find_variant(name: str) -> Type[chess.Board]:
Expand Down

0 comments on commit 37db214

Please sign in to comment.