Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Resolve lint errors from Ruff 0.0.254 | Adam Turner | 2023-03-05 | 1 | -1/+1 |
| | |||||
* | Fix various Ruff errors | Adam Turner | 2023-01-31 | 1 | -1/+1 |
| | |||||
* | remove blanket 'noqas' | Daniel Eades | 2022-12-16 | 1 | -1/+1 |
| | |||||
* | Drop Python 3.7 | Adam Turner | 2022-09-27 | 1 | -0/+16 |
| | |||||
* | refactor: Fix flake8 violations under tests/ directory | Takeshi KOMIYA | 2020-11-15 | 1 | -1/+1 |
| | |||||
* | Sort imports with isort | François Freitag | 2020-11-11 | 1 | -1/+1 |
| | | | | | | | | | | | | Keep imports alphabetically sorted and their order homogeneous across Python source files. The isort project has more feature and is more active than the flake8-import-order plugin. Most issues caught were simply import ordering from the same module. Where imports were purposefully placed out of order, tag with isort:skip. | ||||
* | Fix #7935: autodoc: A default value inspect._empty conseals signatures | Takeshi KOMIYA | 2020-07-12 | 1 | -0/+4 |
| | | | | | | A function signature is not shown when the function has a parameter having ``inspect._empty`` as its default value because Signature class validates function signatures on instantiation. | ||||
* | Make sphinx.util.typing.stringify render optional unions better | John R. Lenton | 2020-05-11 | 1 | -0/+4 |
| | | | | | | | | | Without this change, stringify(Optional[Union[int, str]]) returns 'Union[int, str, None]' rather than the expected 'Optional[...]'. This change fixes that. fixes: #7654 | ||||
* | Fix autodoc: missing type annotation for variadic and keyword parameters ↵ | Takeshi KOMIYA | 2019-07-13 | 1 | -0/+5 |
| | | | | (refs: #6574) | ||||
* | Fix #6347: autodoc: crashes with a plain Tuple on Python 3.6 and 3.5 | Takeshi KOMIYA | 2019-05-29 | 1 | -1/+5 |
| | |||||
* | Merge branch '1.8' | Takeshi KOMIYA | 2018-11-01 | 1 | -2/+7 |
|\ | |||||
| * | Fix #5480: autodoc: unable to find type hints for unresolvable Forward ↵ | Takeshi KOMIYA | 2018-10-15 | 1 | -0/+4 |
| | | | | | | | | references | ||||
* | | test: Merge py3/test_util_inspect_py3.py to test_util_inspect.py | Takeshi KOMIYA | 2018-09-22 | 1 | -0/+7 |
|/ | |||||
* | Fix #5322: autodoc: ``Any`` typehint causes formatting error | Takeshi KOMIYA | 2018-08-22 | 1 | -1/+5 |
| | |||||
* | Fix #5291: autodoc crashed by ForwardRef types | Takeshi KOMIYA | 2018-08-15 | 1 | -0/+3 |
| | |||||
* | Fix autodoc: Optional types are wrongly rendered | Takeshi KOMIYA | 2018-08-15 | 1 | -1/+5 |
| | |||||
* | handle NoneType as None | Terence D. Honles | 2018-08-10 | 1 | -0/+5 |
| | |||||
* | Add a failing test for formatting Tuple[int, str, int] | Dmitry Shachnev | 2018-07-13 | 1 | -0/+4 |
| | |||||
* | Fix flake8 violations | Takeshi KOMIYA | 2018-02-19 | 1 | -2/+1 |
| | |||||
* | Fix annotations formatting for plain typing.Callable | Alex Grönholm | 2016-11-02 | 1 | -2/+7 |
| | | | | The typing.Callable class may be used without generic arguments, in which case it is equivalent to collections.abc.Callable. | ||||
* | refs #2432 update for latest master | shimizukawa | 2016-10-19 | 1 | -1/+1 |
| | |||||
* | Merge pull request #2432 from agronholm/kwonlyargs | Takayuki SHIMIZUKAWA | 2016-10-19 | 1 | -3/+7 |
|\ | | | | | #2432 Fix unwanted * between varargs and keyword only args | ||||
| * | Fix unwanted * between varargs and keyword only args | Alex Grönholm | 2016-04-09 | 1 | -3/+7 |
| | | | | | | | | The * parameter must only be present when a holder for positional variable arguments is not present. | ||||
* | | ext.autodoc: fix formatting instance annotations | Joost van Zwieten | 2016-08-07 | 1 | -0/+8 |
|/ | | | | | | | Currently `format_annotation` fails on instances, because instances don't have `__module__` and `__qualname__` attributes. Defer building the `qualified_name` of an annotation until we have established that the annotation is a type. | ||||
* | Closes #1968: Show extended type hints for function annotations that use ↵ | Andrey Vlasovskikh | 2015-07-31 | 1 | -0/+48 |
'typing' module |