From ea10f10442daf63de030eda2d49531a32b686d9c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 14 Jan 2023 17:03:46 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test_sphinx_autodoc_typehints.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/test_sphinx_autodoc_typehints.py b/tests/test_sphinx_autodoc_typehints.py index 373c9a01..6272ba85 100644 --- a/tests/test_sphinx_autodoc_typehints.py +++ b/tests/test_sphinx_autodoc_typehints.py @@ -128,7 +128,13 @@ def method(self: T) -> T: pytest.param(Callable, "typing", "Callable", (), id="Callable"), pytest.param(Callable[..., str], "typing", "Callable", (..., str), id="Callable_returntype"), pytest.param(Callable[[int, str], str], "typing", "Callable", (int, str, str), id="Callable_all_types"), - pytest.param(collections.abc.Callable[[int, str], str], "collections.abc", "Callable", (int, str, str), id="collections.abc.Callable_all_types"), + pytest.param( + collections.abc.Callable[[int, str], str], + "collections.abc", + "Callable", + (int, str, str), + id="collections.abc.Callable_all_types", + ), pytest.param(Pattern, "typing", "Pattern", (), id="Pattern"), pytest.param(Pattern[str], "typing", "Pattern", (str,), id="Pattern_parametrized"), pytest.param(Match, "typing", "Match", (), id="Match"),