Fix type hints

This commit is contained in:
Andrew Smirnov
2021-04-15 19:55:34 +03:00
parent afec8e59e4
commit 18cc98f11a
3 changed files with 8 additions and 5 deletions

View File

@@ -132,6 +132,7 @@ extensions = {
'sphinx.ext.autodoc',
'sphinx.ext.intersphinx',
'sphinx.ext.viewcode',
'sphinx.ext.napoleon',
'sphinx_rtd_theme',
'sphinx.ext.graphviz',
'sphinx.ext.inheritance_diagram',
@@ -205,3 +206,5 @@ set_type_checking_flag = True
typehints_fully_qualified = True
always_document_param_types = True
typehints_document_rtype = True
napoleon_attr_annotations = True