Use sphinx-autodoc-typehints
This commit is contained in:
@@ -42,6 +42,7 @@ extensions = [
|
|||||||
"sphinx.ext.viewcode",
|
"sphinx.ext.viewcode",
|
||||||
"sphinx.ext.napoleon",
|
"sphinx.ext.napoleon",
|
||||||
"sphinxcontrib.spelling",
|
"sphinxcontrib.spelling",
|
||||||
|
"sphinx_autodoc_typehints",
|
||||||
]
|
]
|
||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
|
@@ -56,7 +56,8 @@ test = [
|
|||||||
]
|
]
|
||||||
docs = [
|
docs = [
|
||||||
"sphinx~=2.0",
|
"sphinx~=2.0",
|
||||||
"sphinxcontrib-spelling~=4.0"
|
"sphinxcontrib-spelling~=4.0",
|
||||||
|
"sphinx-autodoc-typehints~=1.10",
|
||||||
]
|
]
|
||||||
lint = [
|
lint = [
|
||||||
"black",
|
"black",
|
||||||
|
Reference in New Issue
Block a user