def function1(value): # argument is used
return value
def function2(value): # argument is unused, Pylint correctly reports it
return 2
def function3(value): # argument is unused, Pylint does not report
raise ValueError
Configuration
No response
Command used
pylint a.py
Pylint output
************* Module a
5:14: W0613: Unused argument 'value' (unused-argument)
Expected behavior
I would expect that also in case of an unconditional raise the argument would be reported as unused.
Bug description
Configuration
No response
Command used
Pylint output
Expected behavior
I would expect that also in case of an unconditional
raise
the argument would be reported as unused.Pylint version
OS / Environment
No response
Additional dependencies
No response