From 232d22ff5317fc7989d5c48ae6bb0551aa366cf4 Mon Sep 17 00:00:00 2001 From: Matthew Barber Date: Wed, 25 Aug 2021 11:20:34 +0100 Subject: [PATCH] Carry over ellipsis comment into __array_helpers.py Co-authored-by: Zac Hatfield-Dodds --- hypothesis-python/src/hypothesis/extra/__array_helpers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hypothesis-python/src/hypothesis/extra/__array_helpers.py b/hypothesis-python/src/hypothesis/extra/__array_helpers.py index da2617668d..33fd350a93 100644 --- a/hypothesis-python/src/hypothesis/extra/__array_helpers.py +++ b/hypothesis-python/src/hypothesis/extra/__array_helpers.py @@ -27,6 +27,7 @@ ] Shape = Tuple[int, ...] +# We silence flake8 here because it disagrees with mypy about `ellipsis` (`type(...)`) BasicIndex = Tuple[Union[int, slice, None, "ellipsis"], ...] # noqa: F821