mirror of
https://github.com/logos-storage/deluge.git
synced 2026-08-26 18:31:11 +00:00
[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:
@@ -48,6 +48,7 @@ extensions = [
|
||||
'sphinx.ext.coverage',
|
||||
'sphinxcontrib.spelling',
|
||||
'myst_parser',
|
||||
'sphinx_autodoc_typehints',
|
||||
]
|
||||
|
||||
napoleon_include_init_with_doc = True
|
||||
|
||||
Reference in New Issue
Block a user