Sphinx-autodoc-typehints

Latest version: v2.1.0

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

Scan your dependencies

Page 4 of 11

1.18.0

- Support and require `nptyping>=2`
- Handle `UnionType`

1.17.1

- Mark it as requiring `nptyping<2`

1.17.0

- Add `typehints_use_rtype` option
- Handles `TypeError` when getting source code via inspect

1.16.0

- Add support for type subscriptions with multiple elements, where one or more elements are tuples; e.g.,
`nptyping.NDArray[(Any, ...), nptyping.Float]`
- Fix bug for arbitrary types accepting singleton subscriptions; e.g., `nptyping.Float[64]`
- Resolve forward references
- Expand and better handle `TypeVar`
- Add intershpinx reference link for `...` to `Ellipsis` (as is just an alias)

1.15.3

- Prevents reaching inner blocks that contains `if TYPE_CHECKING`

1.15.2

- Log a warning instead of crashing when a type guard import fails to resolve
- When resolving type guard imports if the target module does not have source code (such is the case for C-extension
modules) do nothing instead of crashing

Page 4 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.