From 960144915bbe8adcdb783b783b165c33cb8cb61b Mon Sep 17 00:00:00 2001 From: Valentin Boettcher Date: Tue, 7 Dec 2021 14:06:05 +0100 Subject: [PATCH] remove bogus typehints package --- docs/source/conf.py | 7 ++----- requirements.txt | 1 - 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 614ffcc..e9fb952 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -13,7 +13,7 @@ import os import sys -sys.path.insert(0, os.path.abspath("..")) +sys.path.insert(0, os.path.abspath("../../")) # -- Project information ----------------------------------------------------- @@ -35,7 +35,6 @@ extensions = [ "sphinx.ext.autodoc", "sphinx.ext.intersphinx", "sphinx.ext.viewcode", - "sphinx_autodoc_typehints", ] intersphinx_mapping = { @@ -50,9 +49,7 @@ autodoc_default_options = { "undoc-members": True, } -set_type_checking_flag = True -always_document_param_types = True -typehints_document_rtype = True +autodoc_typehints = "both" # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"] diff --git a/requirements.txt b/requirements.txt index 0276ecb..3ab4360 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,5 @@ tqdm lmfit sphinx pydata-sphinx-theme -sphinx-autodoc-typehints data-science-types black