Skip to content

Bump sphinx-autodoc-typehints from 1.11.1 to 1.17.0#8

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/sphinx-autodoc-typehints-1.17.0
Closed

Bump sphinx-autodoc-typehints from 1.11.1 to 1.17.0#8
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/sphinx-autodoc-typehints-1.17.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Feb 14, 2022

Copy link
Copy Markdown

Bumps sphinx-autodoc-typehints from 1.11.1 to 1.17.0.

Changelog

Sourced from sphinx-autodoc-typehints's changelog.

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

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

... (truncated)

Commits
  • 1ef8488 Release 1.17.0
  • aa345ca Add typehints_use_rtype option (#218)
  • a022d1a inspect.getsource can raise TypeError (#210)
  • 0807d00 [pre-commit.ci] pre-commit autoupdate (#215)
  • 8b0599d Handle ForwardRef, expand TypeVar and link Ellipsis (#214)
  • f75d19b Add handling of tuples in type subscriptions (#212)
  • 7b8c357 ADMIN: Update pepy.tech link in badge (#213)
  • 3492d49 Prevents reaching inner blocks that contains if TYPE_CHECKING (#211)
  • 01b3a1a More robust handling of type guard imports (#208)
  • d770c69 Fix fully_qualified should be typehints_fully_qualified (#204)
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Bumps [sphinx-autodoc-typehints](https://github.com/tox-dev/sphinx-autodoc-typehints) from 1.11.1 to 1.17.0.
- [Release notes](https://github.com/tox-dev/sphinx-autodoc-typehints/releases)
- [Changelog](https://github.com/tox-dev/sphinx-autodoc-typehints/blob/main/CHANGELOG.md)
- [Commits](tox-dev/sphinx-autodoc-typehints@1.11.1...1.17.0)

---
updated-dependencies:
- dependency-name: sphinx-autodoc-typehints
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Feb 14, 2022
@dependabot @github

dependabot Bot commented on behalf of github Apr 18, 2022

Copy link
Copy Markdown
Author

Superseded by #14.

@dependabot dependabot Bot closed this Apr 18, 2022
@dependabot dependabot Bot deleted the dependabot/pip/sphinx-autodoc-typehints-1.17.0 branch April 18, 2022 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants