-
Notifications
You must be signed in to change notification settings - Fork 588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type annotations used for functions
strategy
#2425
Comments
It's not quite clear to me what you're asking for. If you mean " If you mean " |
Hey @Zac-HD ! I would like to pick this up. But I would need some guidance on how to get this done. 😄 |
Sure! I'll keep the tips a little vague, because figuring out how to do it is part of the fun. Getting stuck isn't fun for long though, so if you're getting frustrated just push what you have up and ask me for more detailed advice.
and that's it! |
When you accept a function as a parameter to another function, if you're using
mypy
andtyping
you may well have that method described already usingCallable
etc. In this case, it's redundant to create a lambda function for thelike
attribute ofhypothesis.strategies.functions
. It would be nice to be able to reuse these objects in hypothesis.The text was updated successfully, but these errors were encountered: