You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This does look a little silly, but I often see uses of @st.composite which could be an undecorated function which defines some strategies for arguments and then returns st.builds(...).
I can't find an overload which makes typecheckers provide a more useful message, but I can add a runtime warning easily enough 🙂
I expected this to pass mypy - am I typing this incorrectly or is hypothesis not typing the
strategies.composite
decorator correctly?hypothesis==6.88.3
,mypy==1.7.0
Came up in dask/dask#9374
The text was updated successfully, but these errors were encountered: