Changelog
*Sourced from [sphinx-autodoc-typehints's changelog](https://github.com/agronholm/sphinx-autodoc-typehints/blob/master/CHANGELOG.rst).*
> 1.9.0
> =====
>
> - Added support for [typing\_extensions](https://pypi.org/project/typing-extensions/)
> - Added the `typehints_document_rtype` option (PR by Simon-Martin Schröder)
> - Fixed metaclasses as annotations causing `TypeError`
> - Fixed rendering of `typing.Literal`
> - Fixed OSError when generating docs for SQLAlchemy mapped classes
> - Fixed unparametrized generic classes being rendered with their type parameters (e.g. `Dict[~KT, ~VT]`)
>
> 1.8.0
> =====
>
> - Fixed regression which caused `TypeError` or `OSError` when trying to set annotations due to PR [#87](https://github-redirect.dependabot.com/agronholm/sphinx-autodoc-typehints/issues/87)
> - Fixed unintentional mangling of annotation type names
> - Added proper `:py:data` targets for `NoReturn`, `ClassVar` and `Tuple`
> - Added support for inline type comments (like `(int, str) -> None`) (PR by Bernát Gábor)
> - Use the native AST parser for type comment support on Python 3.8+
Commits
- [`3ac21e8`](https://github.com/agronholm/sphinx-autodoc-typehints/commit/3ac21e85537a6406d886ce99314bdb3a49b0b5d4) Added the release version
- [`f113a06`](https://github.com/agronholm/sphinx-autodoc-typehints/commit/f113a065b1c5d64164a857df78a0d2397cb43c52) Switched to the official Python 3.8 release in Travis config
- [`501c566`](https://github.com/agronholm/sphinx-autodoc-typehints/commit/501c56670c235e86c11edb009bb04d0368911b35) Updated the changelog for PR [#107](https://github-redirect.dependabot.com/agronholm/sphinx-autodoc-typehints/issues/107)
- [`fa4366a`](https://github.com/agronholm/sphinx-autodoc-typehints/commit/fa4366ae694941ab63dff25a8dc8d43e67f93244) Introduce typehints_document_rtype config. ([#107](https://github-redirect.dependabot.com/agronholm/sphinx-autodoc-typehints/issues/107))
- [`59293f2`](https://github.com/agronholm/sphinx-autodoc-typehints/commit/59293f2de4748c1355f79a6acac1b809cb55fdba) Added the .vscode directory to .gitignore ([#110](https://github-redirect.dependabot.com/agronholm/sphinx-autodoc-typehints/issues/110))
- [`e81d358`](https://github.com/agronholm/sphinx-autodoc-typehints/commit/e81d35841b875840c3174fcdb057d942b613330e) Fixed rendering of unparametrized typing.* types
- [`5a9066e`](https://github.com/agronholm/sphinx-autodoc-typehints/commit/5a9066e8905d1d98971a84bb68910b978a4027e7) Added a bunch of useful default options to pytest config
- [`c21f5fb`](https://github.com/agronholm/sphinx-autodoc-typehints/commit/c21f5fbc4d6adb63b3dca86dac96499866c2e00b) Fixed OSError when generating docs for SQLAlchemy mapped classes
- [`c179627`](https://github.com/agronholm/sphinx-autodoc-typehints/commit/c17962775923eaea19073491bc941d9ee5e3d0fd) Added support for typing_extensions
- [`6df2046`](https://github.com/agronholm/sphinx-autodoc-typehints/commit/6df2046aef0d1a07140e6a8ba20e6a27d530364f) Fixed role of typing.Literal
- Additional commits viewable in [compare view](https://github.com/agronholm/sphinx-autodoc-typehints/compare/1.7.0...1.9.0)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps sphinx-autodoc-typehints from 1.7.0 to 1.9.0.
Changelog
*Sourced from [sphinx-autodoc-typehints's changelog](https://github.com/agronholm/sphinx-autodoc-typehints/blob/master/CHANGELOG.rst).* > 1.9.0 > ===== > > - Added support for [typing\_extensions](https://pypi.org/project/typing-extensions/) > - Added the `typehints_document_rtype` option (PR by Simon-Martin Schröder) > - Fixed metaclasses as annotations causing `TypeError` > - Fixed rendering of `typing.Literal` > - Fixed OSError when generating docs for SQLAlchemy mapped classes > - Fixed unparametrized generic classes being rendered with their type parameters (e.g. `Dict[~KT, ~VT]`) > > 1.8.0 > ===== > > - Fixed regression which caused `TypeError` or `OSError` when trying to set annotations due to PR [#87](https://github-redirect.dependabot.com/agronholm/sphinx-autodoc-typehints/issues/87) > - Fixed unintentional mangling of annotation type names > - Added proper `:py:data` targets for `NoReturn`, `ClassVar` and `Tuple` > - Added support for inline type comments (like `(int, str) -> None`) (PR by Bernát Gábor) > - Use the native AST parser for type comment support on Python 3.8+Commits
- [`3ac21e8`](https://github.com/agronholm/sphinx-autodoc-typehints/commit/3ac21e85537a6406d886ce99314bdb3a49b0b5d4) Added the release version - [`f113a06`](https://github.com/agronholm/sphinx-autodoc-typehints/commit/f113a065b1c5d64164a857df78a0d2397cb43c52) Switched to the official Python 3.8 release in Travis config - [`501c566`](https://github.com/agronholm/sphinx-autodoc-typehints/commit/501c56670c235e86c11edb009bb04d0368911b35) Updated the changelog for PR [#107](https://github-redirect.dependabot.com/agronholm/sphinx-autodoc-typehints/issues/107) - [`fa4366a`](https://github.com/agronholm/sphinx-autodoc-typehints/commit/fa4366ae694941ab63dff25a8dc8d43e67f93244) Introduce typehints_document_rtype config. ([#107](https://github-redirect.dependabot.com/agronholm/sphinx-autodoc-typehints/issues/107)) - [`59293f2`](https://github.com/agronholm/sphinx-autodoc-typehints/commit/59293f2de4748c1355f79a6acac1b809cb55fdba) Added the .vscode directory to .gitignore ([#110](https://github-redirect.dependabot.com/agronholm/sphinx-autodoc-typehints/issues/110)) - [`e81d358`](https://github.com/agronholm/sphinx-autodoc-typehints/commit/e81d35841b875840c3174fcdb057d942b613330e) Fixed rendering of unparametrized typing.* types - [`5a9066e`](https://github.com/agronholm/sphinx-autodoc-typehints/commit/5a9066e8905d1d98971a84bb68910b978a4027e7) Added a bunch of useful default options to pytest config - [`c21f5fb`](https://github.com/agronholm/sphinx-autodoc-typehints/commit/c21f5fbc4d6adb63b3dca86dac96499866c2e00b) Fixed OSError when generating docs for SQLAlchemy mapped classes - [`c179627`](https://github.com/agronholm/sphinx-autodoc-typehints/commit/c17962775923eaea19073491bc941d9ee5e3d0fd) Added support for typing_extensions - [`6df2046`](https://github.com/agronholm/sphinx-autodoc-typehints/commit/6df2046aef0d1a07140e6a8ba20e6a27d530364f) Fixed role of typing.Literal - Additional commits viewable in [compare view](https://github.com/agronholm/sphinx-autodoc-typehints/compare/1.7.0...1.9.0)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)