requirements: update sphinx-autodoc-typehints requirement from <1.16.0 to <1.19.0
Updates the requirements on sphinx-autodoc-typehints to permit the latest version.
Changelog
Sourced from sphinx-autodoc-typehints's changelog.
1.18.0
- Support and require
nptyping>=2- Handle
UnionType1.17.1
- Mark it as requiring
nptyping<21.17.0
- Add
typehints_use_rtypeoption- Handles
TypeErrorwhen getting source code via inspect1.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
...toEllipsis(as is just an alias)1.15.3
- Prevents reaching inner blocks that contains
if TYPE_CHECKING1.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_qualifiedshould betypehints_fully_qualified1.15.0
- Resolve type guard imports before evaluating annotations for objects
- Remove
set_type_checking_flagflag as this is now done by default- Fix crash when the
inspectmodule returns an invalid python syntax source- Made formatting function configurable using the option
typehints_formatter1.14.1
- Fixed
normalize_source_lines()messing with the indentation of methods with decorators that have parameters starting withdef.- Handle
ValueErrororTypeErrorbeing raised when signature of an object cannot be determined- Fix
KeyErrorbeing thrown when argument is not documented (e.g.clsargument for class methods, andselffor
... (truncated)
Commits
4d5867dHandle UnionType (#221)13ca2b4[pre-commit.ci] pre-commit autoupdate (#226)def37f7Support and require nptyping 2ede082aRequire nptyping<2 (#227)f9219b2[pre-commit.ci] pre-commit autoupdate (#222)a9b9023Fix typos (#224)1ef8488Release 1.17.0aa345caAddtypehints_use_rtypeoption (#218)a022d1ainspect.getsource can raise TypeError (#210)0807d00[pre-commit.ci] pre-commit autoupdate (#215)- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
@dependabot rebase
@dependabot recreate
A newer version of sphinx-autodoc-typehints exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.
@dependabot recreate
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.
@dependabot reopen
@dependabot rebase
Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!
If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.
Coverage increased (+0.0003%) to 84.447% when pulling f8b018c661674cda6f956c4b36b5927a0defc035 on dependabot/pip/devel/sphinx-autodoc-typehints-lt-1.19.0 into 508935c4be19696af21e7ef3a30d90e3adffce84 on devel.
@dependabot recreate
@dependabot close
@dependabot ignore this minor version
OK, I won't notify you about version 1.18.x again, unless you re-open this PR or update to a 1.18.x release yourself.
@dependabot reopen
@dependabot recreate
@dependabot rebase
Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!
If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.
@dependabot recreate
@dependabot recreate
Superseded by #2829.