Are there any tools that check whether type annotations and Numpydoc
strings are consistent?
Albert-Jan Roskam <sjeik_appie@hotmail.com> wrote or quoted:
Are there any tools that check whether type annotations and Numpydoc >>strings are consistent?
According to one webpage, the "sphinx-autodoc-typehints" extension
lets you roll with Python 3 annotations for documenting the types
of arguments and return values of functions.
So, you'd have a "single source of truth" again to keep everything
chill and straightforward.
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 991 |
Nodes: | 10 (1 / 9) |
Uptime: | 131:03:10 |
Calls: | 12,960 |
Calls today: | 2 |
Files: | 186,574 |
Messages: | 3,266,055 |