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
global
nonlocal
Forbid global and nonlocal statements usage.
# bad global a global a, b nonlocal a nonlocal a, b
This is a smell of bad code design that outcomes into hard to track side-effects.
The text was updated successfully, but these errors were encountered:
Already done!
wemake-python-styleguide/wemake_python_styleguide/visitors/ast/keywords.py
Lines 145 to 150 in 256de41
Sorry, something went wrong.
No branches or pull requests
Rule request
Thesis
Forbid
global
andnonlocal
statements usage.Reasoning
This is a smell of bad code design that outcomes into hard to track side-effects.
The text was updated successfully, but these errors were encountered: