-
Notifications
You must be signed in to change notification settings - Fork 23
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
Check for protocol methods returning None #204
Labels
Comments
We should probably check for |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is actually not a stub-specific rule, but protocol methods returning
None
instead ofobject
are suspect.None
is meant as "The caller should not use the return value", but it actually means that any implementation must returnNone
. (I remember we had this problem at least once. It might have been related to an ignoredseek()
return value.)The text was updated successfully, but these errors were encountered: