From ed0d3cc1613ca5d6a5fd97bd7cb3d30fb5e3de0d Mon Sep 17 00:00:00 2001 From: Andrey Kislyuk Date: Sun, 14 Nov 2021 07:05:47 -0800 Subject: [PATCH] Remove custom autodoc typehint extension --- docs/conf.py | 3 ++- setup.py | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index a4d6813..c67a90f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -7,10 +7,11 @@ release = "" language = None master_doc = "index" -extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode", "sphinx_autodoc_typehints"] +extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode"] source_suffix = [".rst", ".md"] exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] pygments_style = "sphinx" +autodoc_typehints = "description" if "readthedocs.org" in os.getcwd().split("/"): with open("index.rst", "w") as fh: diff --git a/setup.py b/setup.py index 7bc029b..01e707b 100755 --- a/setup.py +++ b/setup.py @@ -23,7 +23,6 @@ "build", "wheel", "mypy", - "sphinx-autodoc-typehints" ] }, packages=find_packages(exclude=["test"]),