Add typehints

This commit is contained in:
Степаненко Ольга
2021-03-02 12:30:56 +03:00
parent f9e6b79f01
commit 4a9b3d71a4
2 changed files with 16 additions and 21 deletions

View File

@@ -134,6 +134,7 @@ extensions = [
'sphinx.ext.graphviz',
'sphinx.ext.napoleon',
'sphinx.ext.inheritance_diagram',
'sphinx_autodoc_typehints'
]
@@ -200,3 +201,8 @@ spelling_ignore_pypi_package_names = True
# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = True
set_type_checking_flag = True
typehints_fully_qualified = True
always_document_param_types = True
typehints_document_rtype = True