We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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:
I'm ready to make the enhancement, but I have one question. Do I need to count returns in nested functions? For example:
def decorator(func): def wrapper(): print('example') return func() return wrapper
Does the decorator function have 1 return or 2? For example the has_returns function in mr_proper counts returns in nested functions
Sorry, something went wrong.
Issue/#3 (#8)
52bbd5c
* Added function returns amount validation * Fixed header in readme Co-authored-by: Stanislav Shkitin <sshkitin@vivid.money>
No branches or pull requests
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: