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 5 of 11

1.15.1

- Fix `fully_qualified` should be `typehints_fully_qualified`

1.15.0

- Resolve type guard imports before evaluating annotations for objects
- Remove `set_type_checking_flag` flag as this is now done by default
- Fix crash when the `inspect` module returns an invalid python syntax source
- Made formatting function configurable using the option `typehints_formatter`

1.14.1

- Fixed `normalize_source_lines()` messing with the indentation of methods with decorators that have parameters starting
with `def`.
- Handle `ValueError` or `TypeError` being raised when signature of an object cannot be determined
- Fix `KeyError` being thrown when argument is not documented (e.g. `cls` argument for class methods, and `self` for
methods)

1.14.0

- Added `typehints_defaults` config option allowing to automatically annotate parameter defaults.

1.13.1

- Fixed `NewType` inserts a reference as first argument instead of a string

1.13.0

- Dropped Python 3.6 support
- Python 3.10 support
- Normalize async functions properly
- Allow py310 style annotations (PEP-563)

Page 5 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.