Detect unused arguments
Closed this issue · 3 comments
cjerdonek commented
A related feature that could be useful would be to detect "dead arguments," or function arguments not used by the function body.
Here is an example of a dead argument found in pip: pypa/pip#7015
asottile commented
definitely doable! potentially has the same issue as inheritance methods for false positives but probably still worth it
cjerdonek commented
false positives
Yeah, but just seeing the list of possibilities could help!