Skip to content

Commit dfee405

Browse files
committed
type annotation
1 parent 860eaff commit dfee405

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hypothesis-python/src/hypothesis/extra/ghostwriter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ def magic(
893893
functions.add(thing)
894894
# class need to be added for exploration
895895
if inspect.isclass(thing):
896-
funcs = [thing]
896+
funcs: List[Optional[Any]] = [thing]
897897
else:
898898
funcs = []
899899
elif isinstance(thing, types.ModuleType):

0 commit comments

Comments
 (0)