Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
AttackingOrDefending authored Jun 19, 2024
1 parent ebc54ab commit eb2785b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_bot/test_external_moves.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def download_opening_book() -> None:

def get_online_move_wrapper(li: LICHESS_TYPE, board: chess.Board, game: Game, online_moves_cfg: Configuration,
draw_or_resign_cfg: Configuration) -> chess.engine.PlayResult:
"""Wrapper for lib.engine_wrapper.get_online_move."""
"""Wrap `lib.engine_wrapper.get_online_move` so that it only returns a PlayResult type."""
return cast(chess.engine.PlayResult, get_online_move(li, board, game, online_moves_cfg, draw_or_resign_cfg))


Expand Down

0 comments on commit eb2785b

Please sign in to comment.