forked from zhelyabuzhsky/stockfish
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add tuple as an optional return type to get_wdl_stats function * Incorporate changes from black and mypy. Add test case for when get_as_tuple=True. * Change tuple type hint to Tuple[int, int, int] to satisfy mypy. Return tuple naively instead of type casting from list to tuple. Add 2 regression tests for robustness.
- Loading branch information
1 parent
f2cb530
commit 496f5b3
Showing
2 changed files
with
28 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters