Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9931 from tk0miya/9075_autodoc_unqualified_typehints
Close #9075: autodoc: Add a config variable autodoc_unqualified_typehints
- Loading branch information
Showing
10 changed files
with
405 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -662,6 +662,13 @@ There are also config values that you can set: | |
.. __: https://mypy.readthedocs.io/en/latest/kinds_of_types.html#type-aliases | ||
.. versionadded:: 3.3 | ||
|
||
.. confval:: autodoc_unqualified_typehints | ||
|
||
If True, the leading module names of typehints of function signatures (ex. | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
tk0miya
Author
Member
|
||
``io.StringIO`` -> ``StringIO``). Defaults to False. | ||
|
||
.. versionadded:: 4.4 | ||
|
||
.. confval:: autodoc_preserve_defaults | ||
|
||
If True, the default argument values of functions will be not evaluated on | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
This phrase sounds a bit incomplete to me...