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
Basically similar to #2671
def myfunction(function, arg1, arg2): """ lorem ipsum """ def decorator(): """ lorem ipsum """ nonlocal arg2 arg2 += 1 return function(arg1, arg2) return decorator
Error: W0613: Unused argument 'arg2' (unused-argument)
W0613: Unused argument 'arg2' (unused-argument)
No response
pylint src/lorem.py
************* Module lorem src/lorem.py:3:31: W0613: Unused argument 'arg2' (unused-argument) ------------------------------------------------------------------ Your code has been rated at 8.33/10 (previous run: 8.33/10, +0.00)
Detect nonlocal usage of arg2
pylint 2.11.1 astroid 2.8.2 Python 3.7.12 (default, Sep 10 2021, 17:03:41) [Clang 11.0.0 (clang-1100.0.33.17)]
MacOS 10.14.6
The text was updated successfully, but these errors were encountered:
Hi, I'd like to take a look at this issue
Sorry, something went wrong.
unused-argument
nonlocal
natgiordano
Successfully merging a pull request may close this issue.
Basically similar to #2671
Bug description
Error:
W0613: Unused argument 'arg2' (unused-argument)
Configuration
No response
Command used
Pylint output
Expected behavior
Detect nonlocal usage of arg2
Pylint version
OS / Environment
MacOS 10.14.6
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: