diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2022-02-05 17:46:30 +0000 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2022-02-05 17:50:54 +0000 |
commit | 1089adb84420909c1e716329a2c419a63ee29b6f (patch) | |
tree | 060f9ba2227d39b79263d1ca1dc6739254fb0835 /docs/source/conf.py | |
parent | 4096cdfdfe4fc7e42746cedd868bd7d8fea99f23 (diff) | |
download | deluge-1089adb84420909c1e716329a2c419a63ee29b6f.tar.gz deluge-1089adb84420909c1e716329a2c419a63ee29b6f.tar.bz2 deluge-1089adb84420909c1e716329a2c419a63ee29b6f.zip |
Revert "[Core] Document all exported core methods with type hints"
Typing is broken with older versions of Twisted e.g. with v21.2
deluge/deluge/core/core.py", line 404, in Core
) -> defer.Deferred[str]:
TypeError: 'type' object is not subscriptable
Also it might not be compatible with Python 3.6 or 3.7 with use of
certain types such as dict rather than Dict
This reverts commit 4096cdfdfe4fc7e42746cedd868bd7d8fea99f23.
Ref: https://twistedmatrix.com/trac/ticket/9816
Diffstat (limited to 'docs/source/conf.py')
-rw-r--r-- | docs/source/conf.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py index 9c5853c73..f04653e03 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -48,7 +48,6 @@ extensions = [ 'sphinx.ext.coverage', 'sphinxcontrib.spelling', 'myst_parser', - 'sphinx_autodoc_typehints', ] napoleon_include_init_with_doc = True |