Sphinx-autodoc-typehints

Latest version: v2.5.0

Safety actively analyzes 688746 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 11

1.2.4

- Removed support for `backports.typing` as it has been removed from the PyPI
- Fixed first parameter being cut out from class methods and static methods (thanks to Josiah Wolf Oberholtzer for the
PR)

1.2.3

- Fixed `process_signature()` clobbering any explicitly overridden signatures from the docstring

1.2.2

- Explicitly prefix `:class:`, `:mod:` et al with `:py:`, in case `py` is not the default domain of the project (thanks
Monty Taylor)

1.2.1

- Fixed ``ValueError` when``getargspec()\`\` encounters a built-in function
- Fixed `AttributeError` when `Any` is combined with another type in a `Union` (thanks Davis Kirkendall)

1.2.0

- Fixed compatibility with Python 3.6 and 3.5.3
- Fixed `NameError` when processing signatures of wrapped functions with type hints
- Fixed handling of slotted classes with no `__init__()` method
- Fixed Sphinx warning about parallel reads
- Fixed return type being added to class docstring from its `__init__()` method (thanks to Manuel Krebber for the patch)
- Fixed return type hints of `property` methods being omitted (thanks to pknight for the patch)
- Added a test suite (thanks Manuel Krebber)

1.1.0

- Added proper support for `typing.Tuple` (pull request by Manuel Krebber)

Page 9 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.