Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 14, 2023
1 parent 93a6a5e commit ea10f10
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/test_sphinx_autodoc_typehints.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit ea10f10

Please sign in to comment.