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 4096cdfdfe.

Ref: https://twistedmatrix.com/trac/ticket/9816
This commit is contained in:
Calum Lind 2022-02-05 17:46:30 +00:00
commit 1089adb844
No known key found for this signature in database
GPG key ID: 90597A687B836BA3
4 changed files with 170 additions and 166 deletions

View file

@ -48,7 +48,6 @@ extensions = [
'sphinx.ext.coverage',
'sphinxcontrib.spelling',
'myst_parser',
'sphinx_autodoc_typehints',
]
napoleon_include_init_with_doc = True