-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add number of returns validator #3
Labels
enhancement
New feature or request
Comments
I'm ready to make the enhancement, but I have one question. Do I need to count returns in nested functions?
Does the decorator function have 1 return or 2? |
Merged
korneevm
pushed a commit
that referenced
this issue
Apr 23, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If function has more that n returns in it's body, the plugin should raise error.
Max number of returns should be flake8 parameter.
The text was updated successfully, but these errors were encountered: