dgilland / pydash

The kitchen sink of Python utility libraries for doing "stuff" in a functional way. Based on the Lo-Dash Javascript library.
http://pydash.readthedocs.io
MIT License
1.32k stars 93 forks source link

Use sphinx-autodoc-typehints to autogenerate typed API docs and remove typing from docstrings #184

Closed dgilland closed 1 year ago

dgilland commented 1 year ago

The new type annotations can replace the typing in the docstrings so that we don't have to maintain two sources of typing. All that's needed is to add sphinx-autodoc-typehints to the dev requirements in setup.cfg and then remove all typing from docstrings.

dgilland commented 1 year ago

@DeviousStoat is this something you want to take on?