From abb42dcd4886705d6ba8af27f68ef605218ac67c Mon Sep 17 00:00:00 2001 From: Philip Paquette Date: Wed, 11 Sep 2019 12:58:45 -0400 Subject: Added ReadtheDocs documentation for the public API - Reformatted the docstring to be compatible - Added tests to make sure the documentation compiles properly - Added sphinx as a pip requirement Co-authored-by: Philip Paquette Co-authored-by: notoraptor --- diplomacy/utils/tests/test_parsing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'diplomacy/utils/tests/test_parsing.py') diff --git a/diplomacy/utils/tests/test_parsing.py b/diplomacy/utils/tests/test_parsing.py index f64ad26..f96a981 100644 --- a/diplomacy/utils/tests/test_parsing.py +++ b/diplomacy/utils/tests/test_parsing.py @@ -21,7 +21,7 @@ from diplomacy.utils.sorted_set import SortedSet from diplomacy.utils.tests.test_common import assert_raises from diplomacy.utils.tests.test_jsonable import MyJsonable -class MyStringable(): +class MyStringable: """ Example of Stringable class. As instances of such class may be used as dict keys, class should define a proper __hash__(). """ -- cgit v1.2.3