Fixed a bug where if a class has an attribute and a constructor argument with the same name, the constructor argument
type would be rendered incorrectly (issue 308)
Fixed napoleon handling of numpy docstrings with no specified return type.
1.21.6
Fix a Field list ends without a blank line warning (issue 305).
1.21.5
More robust determination of rtype location / fix issue 302
1.21.4
Improvements to the location of the return type
1.21.3
Use format_annotation to render class attribute type annotations
1.21.2
Fix overloads support
1.21.1
Fix spacing between :rtype: and directives
1.21
Handle types from types module
If module is _io, use io instead
Put rtype before examples or usage section
Remove redundant return type for attributes
Handle collections.abc.Callable as well as typing.Callable
Put Literal args in code blocks
1.20.2
Fix Optional role to be data.
1.20.1
Fixed default options not displaying for parameters without type hints.
... (truncated)
Commits
d9c4a06 Patch docutils rst parser to add line numbers to more nodes (#316)
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 from 1.11.1 to 1.21.8.
Release notes
Sourced from sphinx-autodoc-typehints's releases.
... (truncated)
Changelog
Sourced from sphinx-autodoc-typehints's changelog.
... (truncated)
Commits
d9c4a06
Patch docutils rst parser to add line numbers to more nodes (#316)fa5bd3f
Fix typing in #314 (#315)2653e7d
NFC: Move patches to a separate file (#314)756049d
[pre-commit.ci] pre-commit autoupdate (#313)3aca67b
Fix napoleon handling of numpy docstrings with no explicitly provided return ...53f7f00
Disable GoogleDocstring._lookup_annotation (#309)15c6456
Update CHANGELOG.mdd823f99
Resolve issue 305 (#307)fb30e40
Refactor tests to make it easier to add new example functions (#306)90ec5a7
Update CHANGELOG.mdDependabot 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)