[Core] Document all exported core methods with type hints

Standardize docstrings in core.py to google standard.
Remove type hints in docstrings in favor of the ones in method signatures.

Use function signature type hints in autodoc generated docs.

Closes: https://github.com/deluge-torrent/deluge/pull/359
This commit is contained in:
Chase Sterling
2022-02-05 17:23:50 +00:00
committed by Calum Lind
parent 099077fe20
commit 4096cdfdfe
4 changed files with 166 additions and 170 deletions
+1
View File
@@ -48,6 +48,7 @@ extensions = [
'sphinx.ext.coverage',
'sphinxcontrib.spelling',
'myst_parser',
'sphinx_autodoc_typehints',
]
napoleon_include_init_with_doc = True